Bookmark Topic Watch Topic
  • New Topic

Head First Servlets and JSP -Program not running

 
Jones Iraland
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I started studying for SCWCD

I brought the 2nd edition of Head First Servlets and JSP.

Alas..I typed the first program in page 30 sample servlet program called "Ch1Servlet"

I followed each step according to the book but it does not run as book says.

I have to create a new folder inside Tomcat 5.0 folder and save my work.
But if i put my program in servlet example folder which is insatalled with Tomcat and if i change that web.xml ,my program runs.


Have any of you got an idea what's happenning?


Thanks & Regards,

Jones

 
Jones Iraland
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry i posted in wrong forum.
 
Bert Bates
author
Sheriff
Posts: 8900
5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey Jones,

No worries, let's slide this over to the SCWCD forum.

Bert
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am not sure what you mean.
CAn you be more clear about it.


Where are you saving your applications.
I guess in HFSJ its mentioned to save your applications in Tomcat5.5/webapps/ch1(created by you) folder and it worked fine...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing this thread. Continue there. (Bert moved this thread for you, so you didn't have to make a new one.)
 
    Bookmark Topic Watch Topic
  • New Topic