Hello all.  I was reading about the struts problem with i-Planet and wondering if I have the same problem.  We are using i-Planet as a web server along with weblogic 5.1 as an app server.  I am not sure which i-Planet version we have but I will find out tomorrow.  My problem is below......
 
 
I am submitting to an Action which FORWARDS to a second Action, which REDIRECTS to a third Action which FORWARDS to a jsp
 
Action1-----(Fwd)---->Action2-----(Redr)---->Action3-----(Fwd)---->jsp
 
Action 3 never gets triggered because the mapping somehow does not match.  When I look to see the mapping the ActionServlet generates at that point, it appears that it has calculated the path incorrectly.  I end up at the following URI with the following message:
Invalid path /successmtgs/postsecure_jump was requested
 
The final action should be triggered by path="/postsecure_jump".  The path that is being looked up for the mapping is "/successmtgs/postsecure_jump". 
I shouldnt be getting this value because the ActionServlet's processPath() method is supposed to
find the last occurence of a "/"     [int slash = path.lastIndexOf("/");]
So my path to match becomes - /successmtgs/postsecure_jump
instead of - /postsecure_jump
Now the mapping is wrong and I wont be able to forward
 
 
 
 
HERE ARE MY STEPS
=============================================
step 1 - I am on localhost
I jump to another server via a link
 
step 2 - I am on another server
I submit a form to /process_logon.do
 
step 3 - the servlet is triggered and runs an action
path="/process_logon"
this action FORWARDS to another action path="/presecure_jump.do"
 
step 4 - this second action is run
path="/presecure_jump"
this action REDIRECTS to another action path="/postsecure_jump.do"
 
(dies here..........................)
 
step 5 - ACTION NEVER GETS RUN BECAUSE "No mapping available for path "/successmtgs/postsecure_jump"
path="/postsecure_jump"
FORWARD to path="/successmtgs/index.jsp"
=============================================
 
 
 

Reply via email to