Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!

Suhas Aithal

+ Follow
since Aug 10, 2011
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Suhas Aithal

Porcupine Tree - Spiral Circus
7 years ago
there are a few possible solutions

1: Paste a poster of Lady Gaga on the roof of your car (i would be scared to go near it )

2: Hire Van der Saar to guard your car (now that he has retired )

3: Install Omni destructo Zap rays equipped Maxi Slota Hypernuclear poop repeller. (read the manual clearly before using )

4: Or just google it, i am sure you will find many solutions .
7 years ago

The order of the elements in the tag doesn't matter. Both forms below are correct.

In my case, after adding standard.jar to WEB-INF/lib, Eclipse 3.5 didn't pick up the change. So, I just entered a space in the JSP file, then removed it, then saved the JSP file, and it worked. Basically, the JSP didn't change, just edit it so it's "refreshed".

Thanks Tong Wang, works for me now.
Thanks for pointing it out.. that is exactly the type of mistakes i do and the reason i call myself as Darth Noob. As you said it does not make any difference. I'm still getting the same error.

I've seen many threads with this same problem and i dont find any conclusive solutions for this. Its been 2 days since i'm stuck here.
You are the experts and i'm just a noob, please tell me where i messed up.. I want to get this over with as soon as possible and then head over to struts and springs. phew talk about climbing mt.everest in a day.
7 years ago
this is the Html form: its in the folder "tomcat_home/webapps/Beer-v1/"

this is the web.xml file : its in the folder "tomcat_home/webapps/Beer-v1/WEB-INF/"

I get the Tmcat home page when i use this url in my browser "http://localhost:8080"

i'm trying to run this application using this url: "http://localhost:8080/Beer-v1/form.html"

Html form gets displayed, but when i hit submit i get the error report.

i've compiled the servlet and placed the BeerSelect.class file at :" tomcat_home\webapps\Beer-v1\WEB-INF\Classes\com\example\web\" folder.

please help, as i have no clue what so ever on whats happening
7 years ago
I'm totally new to this. I've started head first servlets and Jsp, and am having trouble with very first example Beer-v1. I've done everything as the book suggested. Form.html is working on tomcat, but when i click submit and reroute to servlet i get Error 404 resource not found error. I have compiled and placed the BeerSelect.class file at "webapps\Beer-v1\WEB-INF\Classes\com\example\web" in the tomcat folder.

I've seen my topics related to this, and i've tried all the suggestions. Still i'm getting the same error message.

I'm using jdk1.6.0_18, installed in C: drive, program files.. Appropriate class path have been set.
tomcat version is apache-tomcat-6.0.32, its installed in F: drive.. Is this causing any problem? should i install tomcat in C: drive itself?
7 years ago