aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Head First Servlets and JSP -Program not running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply locked New topic
Author

Head First Servlets and JSP -Program not running

Jones Iraland
Ranch Hand

Joined: Sep 15, 2007
Posts: 36
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

Joined: Sep 15, 2007
Posts: 36
Sorry i posted in wrong forum.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
Hey Jones,

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

Bert


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
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...


The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Closing this thread. Continue there. (Bert moved this thread for you, so you didn't have to make a new one.)


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Head First Servlets and JSP -Program not running