Solved

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

Posted on 2003-12-05
4
879 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jboss wildfly 10.1 10 619
ArrayList Adding/settign data 3 38
convert Absolute path to relative path of FTP location 7 51
JVM error from eclipse 1 27
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

751 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