try changing the JSP to
        <html:form action="/system/login">
        </html:form>


>From: "Tobias Hill" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: Action field in <html:form> tag does not get evaluated properly. 
>Why?
>Date: Thu, 10 Jan 2002 21:47:25 +0100
>
>Hi,
>
>In one of our JSP-views the <html:form>-tag does not
>get its "action" attributed evaluated properly and we
>have no idea why.
>
>We are currently building an application on the Orion
>server. The application context root is "http://<host>/app/".
>
>We have defined a login action this way:
>
>     <action
>         path="/system/login"
>         type="lcms.client.action.LoginAction"
>         name="loginForm"
>         scope="request"
>         validate="false"
>     >
>         <forward name="success" path="/views/loggedInHome.jsp" />
>         <forward name="failure" path="/views/loginFailed.jsp" />
>     </action>
>
>
>And the tag on the JSP-page that renders the login-
>screen looks like this:
>
>       <html:form action="/system/login.do">
>               ...
>       </html:form>
>
>
>When looking in the sorce code of the generated page this
>evaluates to:
>
>       <form method="get" action="/app">
>               ...
>       <form>
>
>
>This clearly is not right. The context root was found but
>the "/system/login.do" part somehow disappeared? And it
>does not matter if we use "/system/login.do" or
>"/system/login", it still disappears.
>
>What is wrong here?
>I would be very thankful for your help on this!
>
>Thanks in advance,
>Tobias Hill
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to