Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 893
  • Last Modified:

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??????
0
rajaamirapu
Asked:
rajaamirapu
  • 3
2 Solutions
 
CEHJCommented:
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
 
CEHJCommented:
Yes, i think you'll need to do this with a <url-pattern> in your web.xml
0
 
CEHJCommented:
8-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now