I'm programming a tomcat-struts application and trying to follow a
true MVC architecture.

I'd like some suggestions on best practices or standards for calling
up/naming actions for are passthroughs for blank html forms for adding
business entities (e.g. adding a application user).

In the Struts catalog (http://www.husted.com/struts/catalog.htm)
the 'Link only to Actions' item says
"If a JSP ends up on your browser's address bar after the initial index
page, then you're missing an Action ;-)"

If I want to link to a blank form (not populated) for adding a user to my
web application, what are some best practices/standards for setting this
up in my struts-config.xml action mappings?
1) I don't want to validate the form yet, just show the jsp page so they
can fill it out and then submit.
2) I can't call this action something like /user/Add because that will be
the submit action for this form. (this is a naming problem)
3) I can't just link to addUser.jsp because that would be breaking my
 MVC purity.

My issue is basically with configuration organization.

Any help is greatly appreciated.

Thanks,
Adam

_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.netbean.net/mailman/listinfo/mvc-programmers

Reply via email to