No the reference to the path in the <forward> section does not work. I am not sure how to use the response.redirect method. Do we put this method in the execute method of the LogoffAction? or do we make a new method called public void redirect(HttpServletRequest....){ response.redirect("http://localhost/xyz.html"); }
> I believe that you are not forced to use a relative URL. You can put > "http://www.mysite.com/index.html" as the Forward path and it should > work just fine. > > If, for whatever reason, the Forward to an absolute URL does not work, > you can always use > > response.redirect(actionForward.getPath()) > > in your Action while returning a null ActionForward > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 12:58 PM > To: [EMAIL PROTECTED] > Subject: accessing static html from struts-config.xml > > > Hi All > I am trying to do a logoff action.When the user logsoff he should be > taken to the main website which is under /var/www/html/blah/index.shtml > which is completely out of the tomcat and this is where i have stored > the static content of the website. > I do not understand how to write this forward in my struts-config.xml > <forward name="xyzhome" path="../blah.shtml" /> does not do anything or > can i specify a URI to access the resource. > > Thanx > --Mohan > > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]