Hi,
We have been porting our code from tomcat+jboss to weblogic 6.1 and have
encountered rather a strange phenomenon.
Unless the strange phenomenon is me loosing my marbles, the struts
framework(1.1b2) is unable to route from the controller to the view
using the existing forward tag in the action mapping:
<action path="/testAction"
type="com.mycom.myproj.actions.TestAction"
parameter="test">
<forward name="success" path="/WEB-INF/pages/testSuccess.jsp"/>
</action>
The only way that I can get it to work is to move the pages directory
outside of WEB-INF but it seems this would compromise the security of
the pages making them accessible from the client browser as opposed to
restricting access via the 'link only to actions' idea.
So, this works:
<forward name="success" path="/pages/testSuccess.jsp"/>
Note that the actions themselves have not been touched during the
porting between tomcat and weblogic and they were working fine under
tomcat 4.0.1.
Can anyone tell me what is happening here?
Cheers
jfc
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>