Johnathan wrote:
> Not what I am asking on the JSP (the HTML Form URL) I would like struts to
> insert the URI that display this JSP page

If I understand you correctly, you want this:

<html:form action="????">

where ???? is something that evaluates to the URI that got you to the JSP.

I'd love to see this answered as well-- I'm doing a name resolution screen
that I would like to reuse all over the place.  I need to be able to get
back to exactly where I came from.

[With thanks to Peter for an earlier email,] I'm currently planning to have
a GoBackAction that will look at a parameter in some scope and forward based
on that.  (Or possibly use the DispatchAction that I've just learned about
this morning, since I think that or the LookupDispatchAction is exactly what
I'm trying to do.)

Just dreaming... could I find out what sort of ActionForm is in session
scope?  Then I ought to be able to figure out where to go back to, since
that's obviously the form I'm working on at the moment.

But it would be much easier to just pull that parameter out of scope and pop
it into the form's action attribute without involving the extra Action.

I *think* that the latest and greatest Struts tags that take expressions
should make this possible, yes?

-- 
Wendy Smoak
http://sourceforge.net/projects/unidbtags 

Reply via email to