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.d...@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-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to