Register / Login
Win a copy of
Cross-Platform Desktop Applications: Using Node, Electron, and NW.js
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
How to change the url generated by struts in a form?
Roman Torres Perez
posted 7 years ago
I have an application with
where I have some forms, like:
<hml:form action="/createUser"> //some form items go here </html:form>
the above code produces the following HTML:
<form name="formName" action="/myApp/createUser" method="post"> </form>
Is there a way to do that the action in the HTML appears with a virtual directory?
I mean something like this:
<form name="formName" action="/virtualDir/myApp/createUser" method="post"> </form>
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Please help for Context root
simple struts app made confusing by documentation
html:form pointing to some outside url ?
JSTL sql taglib and html drop down box
using modules with JSPs behind web-inf