Hi Everybody,
Hope you all in high Spirits...
I am Trying to submit a form an <html:form>
with action as given below in the Code..
but the path is not getting resolved properly and hence not hitting the proper page..
here is my
JSP CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<body>
<html:form action="/trading2.do" method="post" >
<-----SOME TEXT FIELDS HERE....WITH <HTML:TEXT.....----->
</html:form>
</body>
Here is My struts-config
-------
<action path="/trading2" type="com.scb.trading.action.TradingSecondAction" name="FormBean">
<forward name="Success" path=".tiles.for.trading2"/>
<forward name="failure" path="/jsp/layout/failure.jsp" />
</action>
it is taking the URL as follows:
http://localhost/ist/trading2.do?...
ist is my url prefix
whereas the actual should be
http://localhost/cgi-bin/ost_prdsg.dll/ist/trading2.do
please help me on how to achieve this path in <HTML:FORM ACTION="">