I am having an odd problem with struts that I can't figure out. It appears that the action in my JSP is not being translated correctly when the actual HTML is generated and sent to the browser.
Here's the relevant part of my JSP: <html:form action="/ForgotPassword" method="post" > ... stuff </html:form> When this is rendered in the browser, the resulting output looks like this: <form name="testForgotPassword" method="post" action="/test"> ... stuff </form> The bean definition and actions in my struts-config.xml <form-beans> <form-bean name="testForgotPassword" type="com.test.struts.form.ForgotPasswordForm"/> </form-beans> <action path="/ForgotPassword" type="com.test.struts.action.ForgotPasswordAction" name="testForgotPassword" scope="session" input="/docs/test/ForgotPassword.jsp" validate="false"> <forward name="success" path="/docs/test/Success.jsp" /> <forward name="crapola" path="/docs/test/Failure.jsp" /> </action> When I click the submit button I don't end up at Success.jsp or Failure.jsp, which I would expect. I believe the problem is the action in the rendered HTML is incorrect. Incidentally, the action I do get in the rendered HTML (/test) is my application name... Does anyone have any suggestions? Thanks, -- Greg __________________________________________________________________________________________________________________ DISCLAIMER:"The information contained in this message and the attachments (if any) may be privileged and confidential and protected from disclosure. You are hereby notified that any unauthorized use, dissemination, distribution or copying of this communication, review, retransmission, or taking of any action based upon this information, by persons or entities other than the intended recipient, is strictly prohibited. If you are not the intended recipient or an employee or agent responsible for delivering this message, and have received this communication in error, please notify us immediately by replying to the message and kindly delete the original message, attachments, if any, and all its copies from your computer system. Thank you for your cooperation." ________________________________________________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org