Hi saravanan (sorry, thats what I expect is you name?, pseudo?),
first: Is it you webserver, who tells you:

"You are not authorized to view this page"

If it is your webserver, you have to look whether your webserver is
allowed to serve this page (is in public_html or something like that
- the root which your webserver serves?

Hartmut

>Hi Hartmut,
>
>     Thanks for your reply. I used as u said but it says:
>
>"You are not authorized to view this page"
>
>I saved the t1.html file under JSDK2.0\examples\t1.html and the class file
>of the servlet program is also under this directory only.
>My local host address is 192.100.200.32
>
>if(rs.next())
>{
>   response.sendRedirect("http://192.100.200.32:8080/t1.html");
>else
>{}
>
>
>So what shall i do for that.
>
>Help me !
>
>saravanan.
>Alpha Systems.
>
>
>
>
>
>>From: Hartmut Kern <[EMAIL PROTECTED]>
>>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>>        Servlet API Technology." <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: response.sendRedirect---How it works
>>Date: Fri, 17 Nov 2000 16:22:19 +0100
>>
>>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
>
>_________________________________________________________________________
>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

Reply via email to