| Author |
tomcat 4.1
|
hem kumar
Ranch Hand
Joined: Sep 05, 2005
Posts: 96
|
|
hey folks ..i'm in real trouble in using tomcat 4.1 . Here i want to create a user directory under webapps for wrting all my servlet program. so i created one dorectory under webapps folder with appropriate structure . But when i try to pass some parameters from one html file to another servlet file , i'm getting that dreaded 404 error. can anyone tell me what should i write in my form action field and in html file and what to write in browser so that if i pass some parameter in that html file i will be able to get the processed result from the servlet file. for example i want to pass a name from the html file and say "helloo mr name ." in the servlet file. here i'm not able to pass from html to servlet , its saying 404 error. i have both the correct html and servlet file with me...Thank u
|
.....For Every Problem There Is a Solution.....
Regards, Hem
|
 |
David Ulicny
Ranch Hand
Joined: Aug 04, 2004
Posts: 724
|
|
|
Do you have web.xml file with servlet-mapping?
|
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
|
 |
hem kumar
Ranch Hand
Joined: Sep 05, 2005
Posts: 96
|
|
|
no i dont have that file. what to write there???
|
 |
David Ulicny
Ranch Hand
Joined: Aug 04, 2004
Posts: 724
|
|
|
Best is to take some other from tomcat webapps and use it as template. Or look into Servlet spec.
|
 |
hem kumar
Ranch Hand
Joined: Sep 05, 2005
Posts: 96
|
|
|
ok David thank u
|
 |
 |
|
|
subject: tomcat 4.1
|
|
|