Hello,
I am new to Struts and going through the Struts 2 tutorial found at
http://struts.apache.org/2.0.11/docs/using-tags.html
I am having a problem with the Wildcard Mapping section, where it specifies to
use the following entry in struts.xml:
<action name="*" >
<result>/tutorial/{1}.jsp</result>
</action>
If I use this action definition and go to
http://localhost:8080/tutorial/Logon.action, Tomcat attempts to redirect to
/tutorial/tutorial/Logon.jsp, which obviously fails because /tutorial is
referenced twice. If I remove the /tutorial part from the definition, then it
works fine.
Please let me know if this tutorial is erroneous in this aspect or if I'm doing
something wrong. Thanks in advance.
rostom
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]