Solved

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

Posted on 2003-12-05
4
868 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
Comment Utility
This is configured in struts-config.xml AFAIK
0
 
LVL 5

Author Comment

by:rajaamirapu
Comment Utility
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
Comment Utility
Yes, i think you'll need to do this with a <url-pattern> in your web.xml
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
8-)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now