forward() will only send it to another servlet or jsp, I think.

However, sendRedirect() will work with external URLs. Just do

response.sendRedirect("http://www.misMuelas.com";);

Un saludo,

Alex.

Zsolt Koppany wrote:
> 
> Thank you for the idea, I know the jsp:forward command but I was not
> able to forward to a complete different URL for example
> "http://www.sun.com:8080";. Do you know how to do that?
> 
> Zsolt
> 
> Barth�l�my TEHAM wrote:
> >
> > by using jsp:forward Action
> >
> > exple: <jsp:forward page="dest.jsp" />
> >
> > Documentation source:
> > 
>http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-JSP.html#Section8.6
> >
> > --- Zsolt Koppany <[EMAIL PROTECTED]> a �crit : > Hi,
> > >
> > > how can I forward to a page that the user does not see where he was
> > > forwarded to? The reason is, we might change the target host or page and
> > > if the user makes a bookmark to the forwarded page he cannot come back
> > > if we change the target host or the page.
> > >
> > > Zsolt
> > >
> > > --
> > > Zsolt Koppany
> > > Intland GmbH www.intland.com
> > > Schulze-Delitzsch-Strasse 16
> > > D-70565 Stuttgart
> > > Tel: +49-711-7871080 Fax: +49-711-7871017
> >
> > =====
> > Barth�l�my TEHAM -
> > E-mail : [EMAIL PROTECTED]
> > Website: http://teham.free.fr
> >
> > ___________________________________________________________
> > Do You Yahoo!? -- Pour faire vos courses sur le Net,
> > Yahoo! Shopping : http://fr.shopping.yahoo.com
> 
> --
> Zsolt Koppany
> Intland GmbH www.intland.com
> Schulze-Delitzsch-Strasse 16
> D-70565 Stuttgart
> Tel: +49-711-7871080 Fax: +49-711-7871017

Reply via email to