dcsimg
javascript in servlets?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, March 13, 2006 01:03 AM

Can we write javascript code in servlets?

Re: javascript in servlets?

Posted By:   Rajesh_Pandey  
Posted On:   Tuesday, March 14, 2006 12:20 AM

Dear Anil
if you want use Java Script inside servlet then code will be same as in simple html page the difference is only that code of javascript will be inside printwriter
i.e
suppose you have created a writter class out then write javascript as below

out.println("");
Regards
Rajesh Pandey
Mob:-9811903737
email:- rajesh-pandey@hotmail.com
india Delhi
About | Sitemap | Contact