You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joao Araujo <jo...@wireless-networks.com> on 2002/12/06 07:16:28 UTC

calling an action without form

Hi,
	How can I call an action without using a form.

	I just want some preprocessing before the page is shown.
	Is this the best approach?


	Thanks
Joao,


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: calling an action without form

Posted by James Mitchell <jm...@telocity.com>.
Have you deployed the struts-example.war?  That's a good place to find what
you need.


--
James Mitchell



> -----Original Message-----
> From: Joao Araujo [mailto:joao@wireless-networks.com]
> Sent: Thursday, December 05, 2002 10:22 PM
> To: Struts Users Mailing List
> Subject: RE: calling an action without form
>
>
>
> >Have you read any of the documentation?
>
>          A lot . Probably I got lost in a detail.
>          Just point out I can go there again.
>
> Joao,
>
>
> >--
> >James Mitchell
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Joao Araujo [mailto:joao@wireless-networks.com]
> > > Sent: Thursday, December 05, 2002 10:16 PM
> > > To: struts-user@jakarta.apache.org
> > > Subject: calling an action without form
> > >
> > >
> > > Hi,
> > >       How can I call an action without using a form.
> > >
> > >       I just want some preprocessing before the page is shown.
> > >       Is this the best approach?
> > >
> > >
> > >       Thanks
> > > Joao,
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >--
> >To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
>For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: calling an action without form

Posted by Joao Araujo <jo...@wireless-networks.com>.
>Have you read any of the documentation?

         A lot . Probably I got lost in a detail.
         Just point out I can go there again.

Joao,


>--
>James Mitchell
>
>
>
>
> > -----Original Message-----
> > From: Joao Araujo [mailto:joao@wireless-networks.com]
> > Sent: Thursday, December 05, 2002 10:16 PM
> > To: struts-user@jakarta.apache.org
> > Subject: calling an action without form
> >
> >
> > Hi,
> >       How can I call an action without using a form.
> >
> >       I just want some preprocessing before the page is shown.
> >       Is this the best approach?
> >
> >
> >       Thanks
> > Joao,
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: calling an action without form

Posted by Joao Araujo <jo...@wireless-networks.com>.
>You'll need to create an action mapping in the struts config file, and call
>it by ...

         Thanks a lot. I was doing this. The error was in another point . I 
was getting screwed.
         That's the problem with novices sometimes. Even , when you are 
doing the right thing,
         sometimes you dont believe it is really true, then, gets the wrong 
direction. I need some rest..:)


         You helped a lot.


Joao,


>http://your.domainname.com/your-action-mapping.do
>
>Scott
>----- Original Message -----
>From: "Joao Araujo" <jo...@wireless-networks.com>
>To: <st...@jakarta.apache.org>
>Sent: Friday, December 06, 2002 12:16 AM
>Subject: calling an action without form
>
>
> > Hi,
> > How can I call an action without using a form.
> >
> > I just want some preprocessing before the page is shown.
> > Is this the best approach?
> >
> >
> > Thanks
> > Joao,
> >
> >
> > --
> > To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> > For additional commands, e-mail:
><ma...@jakarta.apache.org>
> >
> >
> >
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: calling an action without form

Posted by Aladar The Dinosaur <al...@telocity.com>.
You'll need to create an action mapping in the struts config file, and call
it by ...

http://your.domainname.com/your-action-mapping.do

Scott
----- Original Message -----
From: "Joao Araujo" <jo...@wireless-networks.com>
To: <st...@jakarta.apache.org>
Sent: Friday, December 06, 2002 12:16 AM
Subject: calling an action without form


> Hi,
> How can I call an action without using a form.
>
> I just want some preprocessing before the page is shown.
> Is this the best approach?
>
>
> Thanks
> Joao,
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: calling an action without form

Posted by James Mitchell <jm...@telocity.com>.
Have you read any of the documentation?


--
James Mitchell


 

> -----Original Message-----
> From: Joao Araujo [mailto:joao@wireless-networks.com]
> Sent: Thursday, December 05, 2002 10:16 PM
> To: struts-user@jakarta.apache.org
> Subject: calling an action without form
> 
> 
> Hi,
> 	How can I call an action without using a form.
> 
> 	I just want some preprocessing before the page is shown.
> 	Is this the best approach?
> 
> 
> 	Thanks
> Joao,
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>