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?

Thanks,
Dennis





________________________________
From: Dave Newton <newton.d...@yahoo.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Wednesday, July 29, 2009 5:49:04 PM
Subject: Re: New to Struts, a Question

Dennis Atkinson wrote:
> The menu says:
> <a href="/betaSystem/jsp/userDisplay.jsp">My Acccount</a>
> 
> Can I direct this to an action class, rather than to a jsp file?

Action URLs are URLs like any other, including a JSP.

Dave

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


      

Reply via email to