Hi List,

I am just a newbie to this struts framework.

I am using struts 1.1 and using modules for my app. I have set my dir
structure like this.
/jsp/mod1
/jsp/mod2
/Web-inf/*

All my jsps are accessible using
http://localhost:8080/myapp/jsp/mod1/test.jsp

In struts-mod1.xml,
IF I have a tag <action path="/Test" forward="/test.jsp"/>
When i call thru browser http://localhost:8080/myapp/mod1/Test.do, it tried
to locate http://localhost:8080/myapp/mod1/test.jsp

IF I give tag <action path="/Test" forward="/jsp/mod1/test.jsp"/>, it
naturally tries to locate http://localhost:8080/myapp/mod1/jsp/mod1/test.jsp

BUT I want the url to be http://localhost:8080/myapp/jsp/mod1/test.jsp

Is it possible to achieve using Struts-Config (may be forwardPattern ?)  or
even if web.xml can be of any help here?
Please help.

regards
Navjot Singh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to