> -----Original Message----- > From: Peter Neu [mailto:peter.neu@gmx.net] > Sent: Wednesday, December 29, 2004 6:32 AM > To: Struts Users Mailing List > Subject: Deployment Problem - > > > Hello , > > I developed my application in an IDE which simulated > that the application was in the top folder. When I deploy > my application now it is an subfolder. > The problem is: The redirects don't work anymore! > > If do it in simple HTML : > > > > I can get an clean forward. The same with redirect tag: > > Sounds like what you're doing is not getting the context into the URL. This is supposed to happen automtically. In the case above, this shouul not work. The javadocs say this about the forward: forward protected java.lang.String forward The logical forward name from which to retrieve the redirect URI. So you need to have a forward name, not a url here. The url the forward referes to should not have the context in it. > > just returns an exception: java.net.MalformedURLException > > Do I have to change all the URL's in the application from > to or is there an easier > way to do this? > > > Best Regards, > > Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org