I solved my problem with <form> tag.
I discovered that action mappings in form
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
are unsuitable for use with j2sdkee1.3. Deploytool
( or whatever else ) botches web.xml and changes
"*.do"
to "/*.do". Unfortunately, struts form tag does
following:
--- snip ---
if (servletMapping != null) {
String actionMapping =
getActionMappingName();
if (servletMapping.startsWith("*.")) {
value.append(actionMapping);
value.append(servletMapping.substring(1));
} else if (servletMapping.endsWith("/*"))
{
value.append(servletMapping.substring
(0,
servletMapping.length() - 2));
value.append(actionMapping);
}
}
-- snap---
This way action mapping wil be never found,
and you will go on the walls.
Workable solution would be either to patch <form>
tag, or use mappings in form:
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/do/*</url-pattern>
</servlet-mapping>
This worked for me fine...
thanks for your attention...
regards,
=====
Konstantin Priblouda ( ko5tik ) Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/