Hello everybody,

Most of the pages that we write have some sort of javascripts in it for
validation.

Which is the best location for the script viz:
* in the servlet code itself.
* in some seprate .js file that is called(attached to) in the html page.
* in a seprate servlet (or class) just having the script code.

or any other option?

Thanks in advance.
Regards,
Pankaj..


-----Original Message-----
From: thanasis p [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 17, 2000 5:25 AM
To: [EMAIL PROTECTED]
Subject: About Frames and content type!


Hi !
I have a servlet which in the doPost method returns in the outputstream
an html page containing a few applets.
Till here everything is fine. However when this html page has frames (in
each frame there is an applet) a message
comes up saying "Sorry this browser doesn't support frames" .But when i
call this page directly from the browser
everything is OK. Do I have to specify a different ContentType for the
response of the servlet or what . I would
appreciate an advise.

Thanks in advance

___________________________________________________________________________
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

___________________________________________________________________________
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