Is the rest of your application on the server-side Struts-based? If so I would consider that reason enough to implement it as an Action.
If your saying this is the extent of your server-side processing and asking whether you should use Struts for it or not, I would tend to say no... There's probably no especially good reason to do anything but a straight servlet, unless you know you need internationalization perhaps, or something else Struts offers and you don't want to build it yourself. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Wed, June 1, 2005 2:36 pm, Durham David R Jr Ctr 805 CSPTS/SCE said: >> I recently wrote an Action which in conjunction with an ActiveX >> object returns a table from the server to update the DOM in the >> browser. My question is: Is this a proper use of an Action, here >> essentially just a subroutine I am calling from the client, with >> no forwarding action? Or should I have used a servlet for this >> purpose? > > That's a good question. My general recommendation is to use Actions > even though you may not return a Forward. My reasoning is that you > still have whatever hooks you may have added (or may add later) to > Struts' request processing. > > > - Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]