File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
servlet mapping problem
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
1
I like...
posted
Oct 01, 2011 12:46:17
0
Hi,
When I use deployment descriptor the mapping works fine. But when I use @WebServlet(name = "NewServlet2", urlPatterns = {"/NewServlet2"}) the mapping is not preserved.
Does anyone have any idea?
SCJP6, SCWCD5, OCE:EJBD6.
BLOG:
http://leakfromjavaheap.blogspot.com
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
1
I like...
posted
Oct 02, 2011 03:37:42
0
A miracle.
It works now with a new application
Ove Lindström
Ranch Hand
Joined: Mar 10, 2008
Posts: 326
I like...
posted
Oct 03, 2011 02:20:28
0
Lucas Smith wrote:
A miracle.
It works now with a new application
Did you use another container??
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
1
I like...
posted
Oct 03, 2011 14:38:26
0
Hell, no!
I have just created a new application in netbeans and deploy it on glassfish.
I agree. Here's the link:
http://aspose.com/file-tools
subject: servlet mapping problem
Similar Threads
when we need to fill MIME-MAPPING in web.xml?
component mapping in hibernate.
How to use middlegen to generate hibernate3.0 mapping file
Can I use a JDBC driver installed on another PC ?
XML to Java object using JAXB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter