try to go out like this it should point to the place of the The forwarded file some
thing like the 1 explained down
<jsp:forward page="/templates/index.html" %>
> jsp:forward tag requires the url to be a relative url, such as:
>
> "next_page.jsp",
>
> it can not be an absolute url like:
>
> "www.myserver.com/next_page.jsp".
>
> Does your URLBean.getURL() return an absolute or relative url?
>
> Just a guess, I hope it helps.
>
> Carles
>
> Cheong Takhoe wrote:
> >
> > Hi,
> >
> > I'm having problems trying to get this to work.
> > I have a page that redirects based on the URL provided.
> > The URL is contained in a bean.
> > However, there is an unexpected error that is given by the
> > server.
> >
> > here's the coding.
> > <jps:forward page='<%=URLBean.getURL()%>' />
> >
> > Is this the way to do it? Or is there a proper way?
> >
> > regards,
> > Cheong Takhoe
> >
> > ===========================================================================
> > 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
===========================================================================
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