struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paweł Wielgus <poulw...@gmail.com>
Subject Re: New to Struts, a Question
Date Thu, 30 Jul 2009 11:51:48 GMT
Hi Thomas,
yes it is picking it from there.
Empty name is same as name="success".

Best greetings,
Paweł Wielgus.

2009/7/30 Thomas Sattler <tomsattler@gmail.com>:
> In my struts.xml file, I have the UserDisplayAction class and a blank (no
> "name=") result for userDisplay.jsp.  Does it pick up from there?
>
>
>
> On Wed, Jul 29, 2009 at 8:40 PM, Dave Newton <newton.dave@yahoo.com> wrote:
>
>> Dennis Atkinson wrote:
>>
>>> Dave,
>>>
>>> OK, I  can make it work.  I just don't understand WHY it works.
>>>
>>> If I change to this: <a href="/betaSystem/userDisplay.action">My
>>> Acccount</a>
>>>
>>> I get exactly what I expect; the screen loads with the data filled in
>>> properly.
>>>
>>> But what I don't understand is how Struts knows to load
>>> userDisplay.jsp.  I assume it parses the "userDisplay" out of the url
>>> and appends the ".jsp" to the end, so as long as I have these names
>>> the same (other than the suffix), this will work?
>>>
>>
>> You don't have a user display action configured via XML or annotations?
>>
>>
>> Dave
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message