struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Rakowski" <>
Subject Re: Struts 2 Annotation Tutorial (additional info)
Date Wed, 28 Sep 2011 15:49:01 GMT
I wrote:

 > make sure your Hallo-Action is in class HalloController in package
 > (foo and bar are random names)

which is not quite correct:
the prefix of the actions-package can be random.
The sub-packages names defines the url namespace.
For example, you can access the foo.actions.HalloController
with /context-path/hallo and the action
with /context-path/bar/baz

Regards, Matthias

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

View raw message