so what is the path under which you would like to access the action? (like you would typ it into the browser) we could give you the right mapping
On 2004-07-05 at 19:24:50 -0400, Erik Weber wrote: > 1) Typo: I meant that my login page is: > > http://localhost:8080/Test/login.jsp, not index.jsp. > > 2) I am finding that playing around with the servlet mappings in web.xml > is having an effect on what is rendered as the value of the action > parameter, but I still cannot make any sense of it. > > If anyone could explain how this works I would appreciate it. I don't > want to download 10MB of source code just to look at one file. You should download it anyway, if you want to use struts. If you want things to be done in the non-standard way, you'll have to tweak (extend) it. ciao, axel > > Erik > > > > Erik Weber wrote: > > >Could someone please tell me what would cause the html:form tag to > >ignore the value I specify to the action parameter, and instead, > >rewrite the action parameter value to be equal to the context root of > >the application? > > > > > >For example, my web app login page is: > > > >http://localhost:8080/Test/index.jsp > > > >In login.jsp, I have this opening form tag: > > > ><html:form action="/login"> > > > >I have a matching action configured in struts-config.xml. But the > >struts tag is rendering the form tag like this: > > > ><form name="loginForm" action="/Test"> > > > > > >No matter what I try this does not change. This is extremely > >frustrating. Any help would be appreciated. > > > >Erik > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]