Use of .servlet url pattern instead of .do in struts

In struts I want to change the URL pattern to .servlet instead of .do. This url pattern is standard to call a servlet in our company.How to do this??????
LVL 5
rajaamirapuAsked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
This is configured in struts-config.xml AFAIK
0
 
rajaamirapuAuthor Commented:
Changing the value to .servlet instead of .do in url patern in struts-config.xml file does not work. We need to call all servlets with .servlet extention.
0
 
CEHJConnect With a Mentor Commented:
Yes, i think you'll need to do this with a <url-pattern> in your web.xml
0
 
CEHJCommented:
8-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.