You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Barry Volpe <st...@childrencare.com> on 2003/10/28 22:55:49 UTC

Action to Action

I have a form and an action that queries the
city when the state is provided. 

Now once I have the state and city I want to
call another action that displays information
associated with that state and city.  I am
going to have multiple views that require the
same state and city so  I wanted to keep the action that
queries the city separate from the action that queries
for the views.  Not sure how to go about doing this
in my struts-config.

I know I should not being doing so but since this
is a beginner app I have been performing the
queries inside my actions.

I get an error when trying to call one action
from another.

I have tried using JSTL to change the action path
on the fly but it is not consistent.

I may have to just perform the same query for 
the cities in all of my actions before I display the views.

Any suggestions, comments?

Thanks,
Barry