File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to change the url generated by struts in a form?
Roman Torres Perez
Joined: Apr 14, 2010
Aug 27, 2010 12:11:52
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
subject: How to change the url generated by struts in a form?
simple struts app made confusing by documentation
using modules with JSPs behind web-inf
Please help for Context root
JSTL sql taglib and html drop down box
html:form pointing to some outside url ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013