| Author |
whats wrong in my DD ?
|
naved momin
Ranch Hand
Joined: Jul 03, 2011
Posts: 543
|
|
i have a simple servlet code that take the combo box selected value from a html form and display it in the same page
i have compiled the servlet's .java code and put it into
and my dd looks like
class file name is BeerSelect
so when i click on submit button on that html page action triggers and container looks for servlet file , but shows me a message resources not found 404 error
|
The Only way to learn is ...........do!
|
 |
Nitin Surana
Ranch Hand
Joined: Jan 21, 2011
Posts: 129
|
|
|
As long as I remember servlet-name shouldn't contain spaces. Try removing the space between Ch3 Beer in serlvet-name tag.
|
 |
naved momin
Ranch Hand
Joined: Jul 03, 2011
Posts: 543
|
|
Nitin Surana wrote:As long as I remember servlet-name shouldn't contain spaces. Try removing the space between Ch3 Beer in serlvet-name tag.
no, that is also not working, but surelly i would like to make a comment on head first servlets and jsp book
the examples which they have given are not precise and accurate
i guess they are correct for unix but not for windows , just started and found example errors in 1st chap
|
 |
Seetharaman Venkatasamy
Bartender
Joined: Jan 28, 2008
Posts: 4503
|
|
pay attention to the packages chain . is that start with classes ?
|
Not everything that counts can be counted, and not everything that can be counted counts-Albert Einstein
|
 |
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3334
|
|
naved momin wrote:
i guess they are correct for unix but not for windows
How it is possible for a Java web application to be workable on Unix but not on MS Windows?
|
 |
 |
|
|
subject: whats wrong in my DD ?
|
|
|