This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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.
Don't get me started about those stupid
subject: Do we need servlet mapping of a servlet in web.xml while using struts Action and forwarding.
Question about "path" in the "action" tag ?
java.lang.NullPointerException: Module 'null' not found
Mapping a main Action Servlet to other servlets
How to secure my page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014