Hi All,
i prefer it with !input added to action name,
it will call input method on action
which is kind of what You really want,
that way submitting form will simply call execute method.
But generally it's just the question of taste.
Best greetings,
Paweł Wielgus.
2010/5/21 Stephen Turner :
> On
On Fri, 21 May 2010 11:39:56 -0400, ch...@chrismiles.org
wrote:
If you are not
populating/building a view then it makes no sense to go through the
controller. It is counter intuitive just pass through an action which
does
nothing, when the JSP would get filtered anyway.
Chris
That's yo
If anyone want see my code this is the svn url. it's a exercise for the
university. thanks all
svn checkout *http*://gestioneps.googlecode.com/svn/trunk/gestioneps-read-only
2010/5/21 Fabio Perfetti
> denis can you explain me with an example?
>
>
> 2010/5/21
>
>> Is that strictly true?
>>
>>
denis can you explain me with an example?
2010/5/21
> Is that strictly true?
>
> For forms specifically you can be (and I do) using Struts form tags. You
> do not loose Struts benefits as the struts2 filter by default maps the url
> pattern /* which means all JSP pages get filtered through. If
Is that strictly true?
For forms specifically you can be (and I do) using Struts form tags. You
do not loose Struts benefits as the struts2 filter by default maps the url
pattern /* which means all JSP pages get filtered through. If you are not
populating/building a view then it makes no sense to
On Fri, 21 May 2010 11:01:43 -0400, Denis Cabasson
wrote:
I personnaly prefer to use the same Action for things that are logically
grouped. So in your case, I would use the execute method to return
SUCCESS, pointing to the jsp, and a doSearch method with SEARCH result,
pointing to the other J
I personnaly prefer to use the same Action for things that are logically
grouped. So in your case, I would use the execute method to return
SUCCESS, pointing to the jsp, and a doSearch method with SEARCH result,
pointing to the other JSP. That way, you have only one action for both JSP.
I don'
Just create a anchor to your form.
Search
And then have the form submit to your doSearch action. That is all.
Chris
> there isn't any logic! only show the form...
> so how can i do?
>
> 2010/5/21
>
>> You do not need to go through an action before your form unless there is
>> some logic you wi
there isn't any logic! only show the form...
so how can i do?
2010/5/21
> You do not need to go through an action before your form unless there is
> some logic you wish to perform first.
>
> Chris
>
> > Hi all,
> > i am wondering what is the best way for link a page to other.
> > Imagine this sc
You do not need to go through an action before your form unless there is
some logic you wish to perform first.
Chris
> Hi all,
> i am wondering what is the best way for link a page to other.
> Imagine this scenario:
>
> Index Page with a menu:
> - Search
> - Insert
>
> if i click on search, must
Hi all,
i am wondering what is the best way for link a page to other.
Imagine this scenario:
Index Page with a menu:
- Search
- Insert
if i click on search, must show a form.
so I use
Search
in my struts.xml i have an action
formSearch.jsp
now i fill the form and on submit, i call the actio
11 matches
Mail list logo