In our current application which is Model 1 architecture, many screen
transitions are initiated by links instead of forms. These links many times
are appended with query strings with name/value pairs of parameters that
give context to the next page.
These links could be used with Struts right?

I mean, the ActionForm wouldn't probably be used since the query string was
hard coded from a previous JSP (although I guess it wouldn't hurt to check).
The part that would obviously be good would be the Action class to call the
business logic for the next screen down the line.

So how would the struts-config.xml action mapping look?

There would still be a path, a type, a scope, an input (the page the link
was located), and a success/failure forwards.

>From my server log i see: "GET /struts-test/input.jsp HTTP/1.1" but no query
string.

What would the query string look like? <A
HREF="/struts-test/input.jsp?key=1234&name=Jones">Next Page</A> 

Can I connect to Struts from links with query strings instead of forms?

Thanks for your help!
Erich Kilmer
Bell+Howell


Reply via email to