File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Meteor in Action
this week in the
Problem with URL-PATTERN tag
Joined: Mar 14, 2006
Nov 17, 2007 03:56:00
I have problem giving the url-pattern information in web.xml file. I have a created a servet ServletExample and the url-pattern entry for this
looks like this:
The servlet class is directly under the classes folder. When i try to run this servlet from
URL, I get the following error:
The requested resource (/ServletExample) is not available.
Joined: Mar 22, 2005
Nov 17, 2007 04:27:00
The URL seems is missing the name of the web app; it should be something like
Or are you modifying the ROOT context? I wouldn't recommend that.
I agree. Here's the link:
subject: Problem with URL-PATTERN tag
question related to servlet class and how to run it from Root
web.xml within tomcat
How to run servlet on Tomcat
Running Servlets, have a question
RequestDispatcher and Blank Page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015