Hai,
Yes u can direct it , I have worked in that way, You only have to give the
path of the html file, let it be in any directory.
Vinay Talwar
[EMAIL PROTECTED]
[EMAIL PROTECTED]
subha ghosh
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
OM> cc:
Sent by: "A mailing Subject: Re: does sendRedirect
preserve post
list for discussion information?
about Sun
Microsystem's Java
Servlet API
Technology."
<SERVLET-INTEREST@jav
a.sun.com>
02/20/01 09:56 PM
Please respond to "A
mailing list for
discussion about Sun
Microsystem's Java
Servlet API
Technology."
I have a problem , can we redirect to a html file existing in a different
directory , from where servlet is there
thanks
subha
>From: Ellecer Valencia <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: does sendRedirect preserve post information?
>Date: Tue, 20 Feb 2001 11:30:49 +1100
>MIME-Version: 1.0
>Received: from [204.160.241.38] by hotmail.com (3.2) with ESMTP id
>MHotMailBC5B0627005D40043190CCA0F126DAC80; Mon Feb 19 16:32:50 2001
>Received: from mail (mail.javasoft.com [204.160.241.28])by
>mail2.java.sun.com (8.10.0.Beta13+Sun/8.10.0.Beta13) with ESMTP id
>f1K0Vjd23341;Mon, 19 Feb 2001 16:31:46 -0800 (PST)
>Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d)
>with spool id 4745820 for [EMAIL PROTECTED]; Mon, 19
>Feb 2001 16:33:33 -0800
>Received: from sydmsg1.int.f2.com.au ([203.26.51.4]) by mail.java.sun.com
> (8.10.0.Beta13+Sun/8.10.2) with ESMTP id f1K0XV124548 for
><[EMAIL PROTECTED]>; Mon, 19 Feb 2001 16:33:31 -0800 (PST)
>Received: by sydmsg1.int.f2.com.au with Internet Mail Service
(5.5.2650.21)
>id <103AHQPK>; Tue, 20 Feb 2001 11:30:56 +1100
>Received: from f2network.com.au (W15A [172.31.141.85]) by
>sydmsg1.int.f2.com.au with SMTP (Microsoft Exchange Internet Mail
>Service Version 5.5.2650.21) id 103AHQPJ; Tue, 20 Feb 2001
>11:30:51 +1100
>From [EMAIL PROTECTED] Mon Feb 19 16:34:05 2001
>X-Mailer: Mozilla 4.73 [en] (WinNT; I)
>X-Accept-Language: en
>References: <[EMAIL PROTECTED]>
>Message-ID: <[EMAIL PROTECTED]>
>Sender: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>Organization: F2 - Fairfax Interactive Network
>
>a sendRedirect() actually means the servlet sends a 302 response to the
>browser, along with the specified URL. browser then does a GET from that
>URL. as far as i know, there is no way to do a POST using
>sendRedirect().
>
>can you give more detail on what you're actually trying to do? by "next
>site" i assume it's an external site. does the next site require a
>POST or can you just make do with just using get and having the fields
>in the querystring?
>
>
>Vincent Stoessel wrote:
> >
> > Hi,
> >
> > I'm writing a simple redirector servlet
> > for a part of my site. it seems that
> > sendRedirect in javax.servlet.http.HttpServletResponse
> > will change a POST method into a get as it redirects.
> > Any work arounds for this? I need the post info to continue
> > to the next site. Thanks.
> >
> > --
> > Vincent Stoessel [EMAIL PROTECTED]
> > Internet Applications Engineer
> > IDEV http://www.idev.com
> > V: 301 495 7345 x129
> >
> >
>
___________________________________________________________________________
> > 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
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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
___________________________________________________________________________
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