Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!

Suhas Aithal

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

Recent posts by Suhas Aithal

Porcupine Tree - Spiral Circus
6 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 .
6 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
Hi,
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