Solved

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

Posted on 2003-12-05
4
875 Views
Last Modified: 2013-11-24
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
Comment
Question by:rajaamirapu
  • 3
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
ID: 9882986
This is configured in struts-config.xml AFAIK
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 9883042
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
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 9883050
Yes, i think you'll need to do this with a <url-pattern> in your web.xml
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10773082
8-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 63
tomcat startup error 5 101
throw exception 21 58
jsp CRUD operations with and without prepared statement also hibernatge 1 6
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question