hi folk,
I think it was something like: (may be you have to open an out)
if(rs.next()) {
response.sendRedirect("http://192.100.200.32:8080/t1.html");
} else {}
hartmut
>Hi folks!!
>
> I have a doubt regarding creation of dynamic pages.
>
>Suppose if u have t1.html with one text box and one button. I'am passing
>text field value to server , checking with db and if the value is not there
>na, then should show t1.html with message "failed"
>
>My part of my code:
>if(rs.next())
> { out.println("<html>");
> out.println("<body >");
> response.sendRedirect("http://192.100.200.32:8080/t1.html");
>
>
>Drop me your answers!!!
>
>sar.
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>___________________________________________________________________________
>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
--
Mit freundlichen Gr��en
Hartmut Kern
<Online, Software - Entwicklung/>
space2go.com GmbH & Co. KG
Charlottenstr. 66
10117 Berlin
Tel +49 (30) 590067-0 / Durchwahl -> 29
Fax +49 (30) 590067-11
<http://www.space2go.com>
<mailto:[EMAIL PROTECTED]>
Besuchen Sie uns auf der Systems 2000 in M�nchen
vom 6.-10.11.2000 in Halle B4, Stand 159/258!
___________________________________________________________________________
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