W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2007

Query regarding JSP and XHTML

From: <akhiljain@hsbc.co.in>
Date: Wed, 27 Jun 2007 16:00:11 +0530
To: www-validator-css@w3.org
Message-ID: <OF8B69D350.54E1F364-ON65257307.0039176E-65257307.0039B22F@hsbc.asia>
Respected Sir, 

I am Akhil Jain. 

I developed one JSP with no declarations in XHTML  and now i want that 
when I start the server and then I render that particular JSP. 
I want that the view source of that JSP should contain the following 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Now i am getting 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

So, how to convert that JSP view source from HTML to XHTML. 

Please let me know the same.

Warm Regards,

Akhil  Jain 

HSBC Software Development (India) Pvt Ltd
HSBC Center Riverside,West Avenue ,
25 B Kalyani Nagar Pune  411 006 INDIA

Telephone: +91 20 26683000
Fax: +91 20 26681030

This e-mail is confidential. It may also be legally privileged.
If you are not the addressee you may not copy, forward, disclose
or use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the
sender immediately by return e-mail.

Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
Received on Wednesday, 27 June 2007 18:07:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC