Running struts 1.0 on Atg Dynamo 5.1 w/patch 1.1.p2
The context root (myroot) is added twice when the html is written:
I.e.
<html:form action="myaction.do"> is written as : <form name="myForm"
method="POST" action="/myroot/myroot/myaction.do">
Any variations on "/myaction" or ''/myacion.do" that someone suggested has no effect.
I looked in the source code for the <html:form> tag and this is performed:
protected String getActionMappingURL() {
HttpServletRequest
request =
(HttpServletRequest) pageContext.getRequest();
StringBuffer
value = new StringBuffer(request.getContextPath());
(....)
}
Apparently ATG also does this somehow (Tomcat does not). I'm not sure
if the taglib should do this or the jsp engine?
Its tedious to customize STRUTS taglibs since this is done throughout
the taglibs (i.e also in the <html:img> tag).
I've seen references to this problem on this list before, but no solutions.
Any ideas would be greatly appreciated.
thanks,
joachim

