Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<url-pattern> not woking  RSS feed

 
Alejandro Barrero
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My web.xml is:

com.menutab.MenuTab exists and it is a Servlet:

On "localhost:8080/MenuTab/" I am getting:
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
GlassFish Server Open Source Edition 3.1.2.2
 
J. Kevin Robbins
Bartender
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is "MenuTab" the name of the servlet AND the name of your context? If so, your URL should be "http://localhost:8080/MenuTab/MenuTab", but I suspect your context is something else entirely in which case it should be "http://localhost:8080/<context>/MenuTab".

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!