If condintion is met do response.sendredirect or use requestdispatcher.
To know more abt the sendredirect or dispatcher look into archives or
java.sun.com
out.println is used to display anything on the screen / browser Since u
need to load another htm file, u need to use redirection.
Vijaylakshmi S
Senior Software Engineer
IT Solutions (I) Pvt. Ltd.,
Chennai
Hamid Farooqui
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
DU> cc:
Sent by: "A mailing Subject: Trivial Question
list for discussion
about Sun
Microsystem's Java
Servlet API
Technology."
<SERVLET-INTEREST@jav
a.sun.com>
12/26/00 05:23 PM
Please respond to "A
mailing list for
discussion about Sun
Microsystem's Java
Servlet API
Technology."
Hi all
I have some conditions in my servlet
if condition 1 is met I would like to load condition1.htm
if condition 2 is met I would like to load condition2.htm
and so on.
Can somebody tell me what I should have in the out.println
TIA
Hamid
___________________________________________________________________________
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