A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Do we need servlet mapping of a servlet in web.xml while using struts Action and forwarding.
Joined: Mar 18, 2011
May 24, 2011 14:31:23
I have simple jsp page say home.jsp in which i have defined it to post to "form.do."
Now consider that I have used action mapping and action path="/form", etc
in the forward tag I have used name="success" and path="/form" .
Now it wont work as it doesnt find form
. But if I use servlet mapping in web.xml to map form servlet then it works. Now if this is the correct way why I have not found any references to it.
Joined: May 03, 2011
May 26, 2011 12:04:16
This will be easier to answer if you post your code. But I believe the
variable specifies the
, whereas the
variable is the one that specifies the Servlet location.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Do we need servlet mapping of a servlet in web.xml while using struts Action and forwarding.
Mapping a main Action Servlet to other servlets
How to secure my page
java.lang.NullPointerException: Module 'null' not found
Question about "path" in the "action" tag ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014