Hi, I want to do something with urls generated by struts2. The situation like this
My project name e.g XYZ if i use struts2 tags :- e.g <s:form method="post" theme="simple" action="viewDetail.action"> ....</s:form> and generated html by struts is something like <form method="post" action="/XYZ/viewDetail.action" onsubmit="return true;" name="customer" id="customer"> the action tag contains /XYZ prefix with any of the link,action generated by the struts2. I want just simple action="viewDetail.action" instead of action="/XYZ/viewDetail.action". Can anybody help me,how can i prevent struts2 to add projectname,context e.g /XYZ in my case to the generated links,actions...etc ? Thanks in advanced, Jignesh -- View this message in context: http://www.nabble.com/Struts-Context-problem-tf4895970.html#a14022085 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]