This is not working.
First time I am using this. Could anyone help me please.
Gireesh Mulage
Ranch Hand
Joined: Mar 08, 2010
Posts: 44
posted
0
You can include following tag in your urlMapping tag :
<property name="mappings">
<props>
<prop key="/load.html">LoadEmployeeDetails</prop>
</props>
</property>
And make id="LoadEmployeeDetails" instead of name="LoadEmployeeDetails"
You need to tell us the details. what does not work. How you ran this application?. What you get when you run this application?. Any exception or error?
Regarding the topic, you are telling your server to redirect all *.html requests to spring dispatcher servlet and redirecting to LoadEmployeeDetails. First, this request would not be handled by spring, you need to redirect to some .html, then in dispatcher-servlet.xml you can use what gireesh has suggested..
If you have error/exceptions after trying these, please post them here, we will try our best to help you..