Hey thanks a lot. Changing classpath to servlet.jar helped. Can you tell me the argument type for check box. I tried Boolean considering it as on or off but it didn't work. Thnx again for the help. bbye
-----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, September 05, 2005 6:50 PM To: Struts Users Mailing List Subject: Re: basics of struts From: "Ankit Pancholi" <[EMAIL PROTECTED]> > I am a very new user of struts. Making my first pgm and wanted to know > what will be the argument type in the setter function for a checkbox, > listbox, combo button. I use Boolean for checkbox, (String will also work,) String[] for (I assume) a select list that allows multiple selections, and I'm not sure what a 'combo button' is. > Another thing is when I am trying to compile my basic java code for the > form bean and action class it is giving me that javax.servlet.http.* not > found. You need the servlet api on your classpath when you're compiling-- if you're using Tomcat, look for 'servlet.jar' or 'servlet-api.jar' depending on what version. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]