struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <>
Subject Re: Struts Equiv to RoR's controller, action, id
Date Fri, 21 Apr 2006 22:07:27 GMT
Hi Ben,

I'm not familiar with RoR, but from what you describe here it sounds 
like what you want is a DispatchActon, or probably more specifically, 
the EventDispatchAction introduced in Struts 1.2.9:


ben.christenson wrote:
> Hello all,
> I am relatively new to stuts, and reading madly trying to absorb enough to
> become proficient.  I have worked a bit with Ruby on Rails, and like quite a
> few of their paradigms, however Ruby is far from an accepted solution for
> the company I work with.  One of the things I really liked about Ruby on
> Rails was their concept of a controller/action/id.  Is there a way in struts
> to use part of the url to define what method to use and a parameter?  For
> example, if I wanted to retrieve information on a company with id=001, I
> would like to use the url
> Thanks,
> Ben
> --
> View this message in context:
> Sent from the Struts - User forum at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
AIM: fzammetti
Yahoo: fzammetti
Java Web Parts -
Supplying the wheel, so you don't have to reinvent it!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message