Not sure if this is what Terje is after, but you can use a link instead of a form:

<html:link action="/action/path">...</html:link>

http://jakarta.apache.org/struts/userGuide/struts-html.html#link

As Max asked though, it would help to have some more detail on what the
requirements are.

Quoting Max Cooper <[EMAIL PROTECTED]>:

> You could send a redirect or forward the current request to the Struts
> action (mapping) from a Filter or Servlet.
> 
> What has lead you to want to do this? Perhaps a simpler solution to your
> functional needs is possible.
> 
> -Max
> 
> ----- Original Message ----- 
> From: "Terje Hopsų" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 15, 2003 1:47 AM
> Subject: trigger an action from a filter?
> 
> 
> > Hello,
> >
> > How can I call my actionservlet without using a FORM/SUBMIT? Can I
> trigger
> > it from a Filter-servlet and in that case how?
> >
> > - Terje

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to