This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Need ur Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Need ur Help" Watch "Need ur Help" New topic

Need ur Help

valli ss

Joined: Jun 21, 2005
Posts: 1
Hi all,
i just started reading HFS book.Today i have written the first application given in book (Beer-v1)and placed in the same directories as specfied.
In my browser i typed ?(http://localhost/Beer-v1/form.html)(i have not changed the port to 8080 its by default 80 so i have not given any port no)
but got an error : HTTP status 404
with description : The requested resource(/Beer-v1/form.html)not avaliable

can anyone help me to run this HTML page .
Anand Wadhwani
Ranch Hand

Joined: Mar 21, 2005
Posts: 151
Tomcat by default services on port 8080, please provide it explicitly and see if it works.

SCWCD 1.4<br />---------------------<br />Ability is what you're capable of. <br />Motivation determines what you do. <br />Attitude determines how well you do it.<br />---------------------
I agree. Here's the link:
subject: Need ur Help
Similar Threads
beer app not running
Head First Servlets and JSP - Ch 3
accessing html file under tomcat
first program error, something is missing
Tomcat 5.5 - application development