Bear Bibeault wrote:
gah hon wrote:
Campbell Ritchie wrote:"" suggests there is no ID. Have you confirmed that line 3 is actually finding an element?
Moving to our JavaScript forum.
What do mean why there is not ID tho? and which Line 3 you are referring to?
In the following code that you posted, what id value are you looking for?
Campbell Ritchie wrote:"" suggests there is no ID. Have you confirmed that line 3 is actually finding an element?
Moving to our JavaScript forum.
Dave Tolls wrote:First, you are deploying a .java source file. That should be a compiled class file.
Second you have placed it directly under WEB-INF. It should be in the classes folder, in its correct package.
Third you are referencing it in the form directly. Nothing under WEB-INF can be accessed by the client. It essentially doesn't exist as far as the client is concerned. The target servlet should be defined either by annotations or in the web.xml. Looking at your class it is defined in the annotation, so that's OK.
Bear Bibeault wrote:Maybe it would be useful for you to show us your new form action url?