Based on its name I strongly suspect ASP's response.redirect is doing
a round trip. There's no other way to handle this with POST results
that I'm aware of. Use HttpServletResponse.sendRedirect to do this.
Rod McChesney, Korobra
> Mike McElligott wrote:
>
> I'm used to working with ASP, which offers the response.redirect
> function. One thing I'm running into with the jsp:forward's is that
> the page I'm forwarding to usually ends up being the result of a POST
> operation (because I'm forwarding from a page that does a database
> update). Unfortunately, this means that a refresh means a repost of
> the data. To effect the same thing I guess I would use a refresh
> tag? How do you guys handle this? Initially I'd really liked the
> idea of not having a round-trip b/w the client and server, but it
> looks like that's almost necessary to avoid this problem. Thoughts or
> ideas?
>
> Mike
>
> -----Original Message-----
> From: Vlad [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 05, 1999 1:03 PM
> To: [EMAIL PROTECTED]
> Subject: Syntax for <jsp:forward>
>
> Hi, everyone!
>
> Shouldn't the following two pieces of code mean the same thing?
>
> <jsp:forward page="otherpage.jsp"/>
>
> <jsp:forward page="otherpage.jsp">
> </jsp:forward>
>
> well, when trying to compile the second one, I get
> "unterminated <jsp:forward tag
>
> ???
>
> Vlad.
>
> ===========================================================================
>
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html