|
![]() |
SCJP, SCWCD.
|Asking Good Questions|
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Ramm Kummar wrote:I am getting this error while trying to open a page from the application. I have created all the required deployment folders and defined the servlet in the web.xml too. Please suggest me here.
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
SCJP 6 - SCWCD in progress...
Ramm Kummar wrote:you have to add the C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Beer\WEB-INF\classes\ directory to the classpath.
Ramm Kummar wrote:you have to add the C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Beer\WEB-INF\classes\ directory to the classpath.
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Sam Mercs wrote:@ Cloud Walker - You sure you got all your cases right? You could try one thing out. Place a simple 'hello word' html file @ webapps\ch1\.
Try accessing the hello world file (lets call it helloWorld.html) using the link --> http://localhost:8080/ch1/helloWorld.html. Does it work?
You could also try Mohamed Inayath suggestion of putting your class in a package - it sometimes cause problems if you don't place your servlet code in a package - though i am not sure why!
SCJP 6 - SCWCD in progress...
Anderson gave himself the promotion. So I gave myself this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|