• Post Reply Bookmark Topic Watch Topic
  • New Topic

When Listener is Configured ,accessing a JSP gives 404  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi

I have created a Application with only One JSP page .

When i configured a Listener inside the web.xml and tried to access JSP , it showed 404 Error .




But when i removed the configured Listener on to web.xml , as shown :



Then every Thing is working fine (I can access MY JSP Page)

Please let me know why this is happening ??

 
Virendrasinh Gohil
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check whether you application is executing properly when defining listener? It might happen that the application is failed to initialized. Please check logs post error if any.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your time , i sincerely apologize for posting this question without properly seeing the Logs .

I was using wrong class name under Listener Tag .


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!