Re: setting input for action

2003-07-01 Thread thart
There are probably > 100 ways to solve this problem but based on the information provided this is what I would suggest. First of all, it sounds like you need to abstract some of the logic from your actions into a business framework of sorts, or you may already have something you need to adapt

Re: ActionForms

2002-09-05 Thread thart
Also, when you reference input elements from your jsp pages an ActionForm of the appropriate type (based on ActionMappings...) will be automatically created for you. See the taglib API reference (http://jakarta.apache.org/struts/userGuide/struts-html.html#form) for more info. Hope this help

Re: Database Connection in Logic Beans - pooling?

2002-09-01 Thread thart
Steve McLeod writes: > I am using: > Tomcat 4.0 > Struts 1.0.2 > > The problem > > > I have successfully used the Struts database connection pooling in a trial > web app, but as far as I can tell, a reference to the datasource can only be > obtained from within an Action class (or d

Re: Is Struts suitable for Java client?

2002-08-28 Thread thart
I'm not sure the answer is no. Struts is not tied to forwarding to a jsp, or any other type of resource for that matter. In fact you can simply return null from an action and have the action generate the response itself. You may need to think about your problem a little differently (???), but i

Re: How do I navigate from one subApp to another in Struts1.1?

2002-07-27 Thread thart
Craig R. McClanahan writes: > > > On 26 Jul 2002, Troy Hart wrote: > >> >> Craig, >> >> What do you mean below??? I am trying to understand how sub-applications >> work and I thought I had a handle on it, but I am now confused. Why/how >> are you bypassing the controller servlet when using

Re: Passing variables with the tag, how do I do this?

2001-12-11 Thread thart
goto http://jakarta.apache.org/struts/struts-html.html#link and read what it says. You can specify a name and optionally a property parameter to the link tag. These parameters locate a Map with parameter name value pairs that are appended to the url. [EMAIL PROTECTED] writes: > No, I still