hi patrick,
i will only answer your second question :

How can I execute JavaScript in Java servlets? How may I go about solving
this dilemma ?

it is very straightforward,

PrintWriter out= res.getWriter();// where res is your response

out.println("<script language='javaScript'>");
out.println("...your script code goes here.....");
out.println("  ..");
// by the way don't foget to escape double quotes inside your JS code
out.println("</script>");

out.println("then continue with your html code.....");
hope this helps...
cheers :)





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to