Hi,

I have a wizard-style app that I've configured in my
struts-config.xml as below.  Not sure I like it yet,
but I have my Action class send the user to the next
JSP page each time the user hits the 'Next' button
(design swiped from msg in this group).  When they're
finished, I wish to send them to a page outside the
context of my app (e.g. http://cnn.com).

The error msg I get is:
2001-05-16 11:02:38 - Ctx( /MyApp ): 500 R( /MyApp +
/step1.do + null) Cannot get request dispatcher for
path http://cnn.com/
2001-05-16 11:02:38 - Ctx( /MyApp ): Handler null null

I'm guessing there are many ways to do this, but I
wanted to see how/why I might be using the
'forward-path' directive for something it might not be
intended??

===== struts-config.xml =====
...
<action
   path="/step1" 
   type="com.lmt.provadmin.Step1Action"
   name="step1Form"
   scope="request" 
   unknown="false"
   validate="true">
<forward name="default" path="/step1.jsp"/>
<forward name="step1"   path="/step1.jsp"/>
<forward name="step2"   path="/step2.jsp"/>
<forward name="step3"   path="/step3.jsp"/>
<forward name="step4"   path="/step4.jsp"/>
<forward name="step5"   path="http://cnn.com/"/>
<forward name="error"   path="/error.jsp"/>
</action>
...
=============================



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to