File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Problem with Beer-v1 example" Watch "Problem with Beer-v1 example" New topic

Problem with Beer-v1 example

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
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.


Aman Thind
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Problem with Beer-v1 example
It's not a secret anymore!