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
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
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
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
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
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
6 matches
Mail list logo