> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Jeff Beal > Sent: Thursday, December 09, 2004 2:42 PM > To: [EMAIL PROTECTED] > Subject: Re: Struts or straight HTML button for action w/ no assoc. > form? > > > [EMAIL PROTECTED] wrote: > > > <FORM METHOD="LINK" ACTION="BuildPostMessageViewAction.do"> > > <INPUT TYPE="submit" VALUE="Post message for this > classmate"> > > </FORM> > > > > This works fine, but I have to ask, is this how a purely > struts application > > should be written, or is there a truly struts-based > solution to what I was > > trying to do? > > Thanks! > > I, for one, don't have any problems with this approach from a Struts > standpoint. This does what you want to do without creating any > unnecessary overhead. I can't think of anything more > struts-like than > that. I think that too many people on this list forget that > the Struts > custom tags are really an offshoot of Struts, not the central thing.
The struts tags also do things for you, like prepend the context and append the *.do in some cases. So using them makes a lot of sense from a everything changes point of view. I'm currently re-working an application right now that had my [EMAIL PROTECTED]@$^ predecesors been more apt at Struts I wouldn't have to do at all. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]