This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Problem with Beer-v1 example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Problem with Beer-v1 example" Watch "Problem with Beer-v1 example" New topic
Author

Problem with Beer-v1 example

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
Hi,
I am trying to access localost:8080/Beer-v1 but it says "requested source is not available".But when i access localhost:8080/Beer-v1/form.html, then it's perfectly accessible. Can you please help me finding out the problem.I have tomcat 5.5 and i've installed admin package also.I've done all this successfully with tomcat 5.0 but i don't know what other changes are there in tomcat 5.5 because of which i guess this problem may be.

Regards,
Aman


Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

1.first of all [localost:8080/Beer-v1] check the typo

2.if you want to access your form.html via http://localhost:8080/Beer-v1

then , you need to know about welcome-file-list

add this into your web.xml
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Beer-v1 example
 
Similar Threads
Unable to run Servlets using Tomcat
Head First Sample Code
HFS: Problem with deploying and testing Beer-v1 App
Status 404 - HTML, not available
Head First Servlets and JSP - Ch 3