You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ankit Pancholi <An...@infosys.com> on 2005/09/05 14:42:26 UTC
basics of struts
Hi guys
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.
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. I have run the same code in another machine long bac wit no
probs. Any idea wat setting I hav missed. I have set the classpath
variable to sturts.jar file and am running tomcat server.
Thanks for any kinda help.
**************** 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: basics of struts
Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Ankit Pancholi" <An...@infosys.com>
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: basics of struts
Posted by netsql <ne...@roomity.com>.
The link is an example of it runing (as is 1Up, and a few other clients.
Cool thing about WHO is that it's set up.exe that install's struts,
tomcat, db, etc. and runs).
In order to get the book, you have to read the insrutctions about
attachment at botom of page.
.V
James Mitchell wrote:
> Someone should recheck the link from the wiki page, it points to "World
> Health Organization (WHO)
> HIV/AIDS Toolkits on the Web and CD-ROM", which I doubt was the
> intended target.
>
> Thanks.
>
> --
> James Mitchell
>
>
>
> On Sep 5, 2005, at 8:58 AM, netsql wrote:
>
>> There is a 30 hour tutorial on struts wiki:
>> http://wiki.apache.org/struts (search book)
>>
>> I wonder if that would help you. (it's meant for instructors ... but
>> maybe you try it).
>>
>>
--
thx,
.V
roomity.com is the broadband portal <http://roomity.com/demo.jsp>
cell: 917 825 3035 in DFW
email: netsql at roomity.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: basics of struts
Posted by James Mitchell <ja...@mac.com>.
Someone should recheck the link from the wiki page, it points to
"World Health Organization (WHO)
HIV/AIDS Toolkits on the Web and CD-ROM", which I doubt was the
intended target.
Thanks.
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: jmitchell@apache.org
Skype: callto://jmitchtx
On Sep 5, 2005, at 8:58 AM, netsql wrote:
> There is a 30 hour tutorial on struts wiki:
> http://wiki.apache.org/struts (search book)
>
> I wonder if that would help you. (it's meant for instructors ...
> but maybe you try it).
>
>
> Ankit Pancholi wrote:
>
>> Hi guys
>> 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.
>> 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. I have run the same code in another machine long bac wit no
>> probs. Any idea wat setting I hav missed. I have set the classpath
>> variable to sturts.jar file and am running tomcat server.
>> Thanks for any kinda help.
>>
>
>
> --
> thx,
> .V
>
> roomity.com is the broadband portal <http://roomity.com/demo.jsp>
>
> cell: 917 825 3035 in DFW
> email: netsql at roomity.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: basics of struts
Posted by netsql <ne...@roomity.com>.
There is a 30 hour tutorial on struts wiki:
http://wiki.apache.org/struts (search book)
I wonder if that would help you. (it's meant for instructors ... but
maybe you try it).
Ankit Pancholi wrote:
> Hi guys
>
> 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.
>
> 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. I have run the same code in another machine long bac wit no
> probs. Any idea wat setting I hav missed. I have set the classpath
> variable to sturts.jar file and am running tomcat server.
> Thanks for any kinda help.
>
>
--
thx,
.V
roomity.com is the broadband portal <http://roomity.com/demo.jsp>
cell: 917 825 3035 in DFW
email: netsql at roomity.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org