This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Head First Servlets and JSP - Ch 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Head First Servlets and JSP - Ch 3" Watch "Head First Servlets and JSP - Ch 3" New topic
Author

Head First Servlets and JSP - Ch 3

Chris Jr
Greenhorn

Joined: Oct 19, 2005
Posts: 15
I have installed tomcat as instructed and created form.html and deployed as instructed on /tomcat/webapps/Beer-v1/for.html.

But on invoking http://localhost:8080/Beer-v1/form.html the page is not getting displayed.


Chrisjr
Chris Jr
Greenhorn

Joined: Oct 19, 2005
Posts: 15
Got it working.
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
What was wrong?


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Naresh Saw
Ranch Hand

Joined: Sep 03, 2005
Posts: 66
hi

first check wether ur tomcat is working or not. if it is the check ur deployment discriptor. i think it should work.


naresh<br />SCJP 1.4(86%), SCWCD 1.4(78%)
Chris Jr
Greenhorn

Joined: Oct 19, 2005
Posts: 15
The web.xml file had an error.

i could figure this out by going to http://localhost:8080/manager/html and trying to start the application.

Thanks guys for your input
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Head First Servlets and JSP - Ch 3
 
Similar Threads
Unable to run Servlets using Tomcat
Head First Sample Code
accessing html file under tomcat
Deploying an app to Tomcat
first program error, something is missing