FYI. I got it working by setting the redirect property of ActionForward to
"true".

i.e.

ActionForward forward = new ActionForward();            
                
forward.setPath("/newrequest/index.jsp");               

forward.setRedirect(true);
forward.setContextRelative(true);

return forward;

Actually, not sure if it is the Redirect or the ContextRelative property...

Jimmy

-----Original Message-----
From: Jimmy Emmanual [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 02, 2003 3:45 PM
To: 'Struts Users Mailing List'
Subject: Context Path

I have an application that is completely comprised of JSPs which i'm trying
to convert to struts, bit by bit. All the JSPs are grouped into multiple
folders. 

I've installed struts and added logic in one of the JSP file to call an
Action class which then forwards the request to the corresponding .jsp page.

Problem: within this forwarded jsp page, all included jsp pages are missing!
I get a 404 error. It's almost like after the forward from the Action Class,
Tomcat starts looking for other JSP files from the folder that file is
located in and NOT the application ROOT!

Has anyone encountered this? if so is it a struts or a tomcat issue?

I'm using Tomcat 4.0.2 with struts 1.1RC1

Thanks,
Jimmy

---------------------------------------------------------------------
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]

Reply via email to