I'm afraid the error message in this case is not very intuitive, or very helpful to a newbie.
The main problem here is that you have not enclosed your <html:select> tag inside an <html:form></html:form> tag pair.
Once you do this, you still must make sure that the action you specify in the <html:form> tag has been defined in the struts-config.xml file, and that the ActionForm bean associated with that action has an "id" property, including a getId() and a setId() method.
will be kind of you if you can also tell me a bit more about action class and the servlet. I am confused about the action servlet that we have to make and also form bean. A norman java bean will be a form bean by extending to action class rt? , what i want to know is how will i initialize it in the struts-config.xml
Also where will i tell my application what action servlet it has to use to do buss logic .
I sound confused but wud appreciate a little help like may be a small code explaining what to do and how to .
Joined: Feb 15, 2005
At this point in your learning of Struts, it would be a good idea to take a break from trying to develop your own application and spend some time just learning Struts. My advice is to step through one of the many hands-on tutorials on Struts just to get a feel for how it works and how it all comes together. You can find many by just Googling "Struts Tutorial". If you're using a particular IDE such as NetBeans or Eclipse, Include the name of your IDE in your search, and you will find some Struts tutorials specifically made for your IDE.
If after going through one or more of these tutorials you still have questions, let us know and we'll try to answer them.
Joined: Apr 25, 2006
I am doin that nw , wil get back to you guys once im done with it .