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.

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]



Reply via email to