Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with dogListener from the Servlets JSP Book.

 
Omar Perez
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Friends, God Bless,

Here is the thing I'm stuck with an error when I run the application on the server (Tomcat 7).

Is something related with my DD (I guess), so here is is my DD


The Error



I've tried changing the url mapping, but it doesn't work at all.
 
Nauman Hasan
Ranch Hand
Posts: 34
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure of the exact issue but are you sure you have deployed the correct version of the application?



Doesn't seem to match the error message:



~Nauman

 
Omar Perez
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nauman Hasan wrote:Not sure of the exact issue but are you sure you have deployed the correct version of the application?



Doesn't seem to match the error message:



~Nauman



Thanks Nauman

For some reason whenever I run this application on the server is using the Beerv2 version and trying to call the logical name Tester.do, which is weird. I don't know what to do in this case.
 
Nauman Hasan
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you uninstall the application. Restart the server (check to make sure no error) and then re-install the application?

~Nauman
 
Vanessa Danin
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Omar, please show us the relevant part of the view (e.g. jsp form action) where the servlet is called.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic