strutscx without using strutscxbaseaction

matt ma <[email protected]>
Newsgroups gmane.comp.java.strutscx.user
Message-ID <[email protected]>
Hello,

sorry for the repost - I forgot the subject header in
my previous post.

Does anyone know how to use strutscx without extending
the StrutsCXBaseAction class and only using the
strutscx.xslt stuff?  StrutsCX0.92 seems to claim that
this is possible 

"The com.cappuccinonet.strutscx.xslt is now considered
as the only 'core' StrutsCX package"

Also, does anyone know an alternative to coding the
following lines on every action class.  Is there a way
to hide this code somewhere else?  Every sample action
class repeats these lines of code.

executeAtStart(mapping, form, request, response);
HttpSession session = getValidSession(request);
StrutsCXBaseActionHelper domainparam = 
  new StrutsCXBaseActionHelper();
Locale locale = 
  domainparam.getLocale(request, session);
String encoding = "";
try{
  domainparam.setBasicDomainParameters
    (request,session,servlet,properties);
  encoding = domainparam.getEncoding(
    request, properties, locale);
} catch (StrutsCXException e) {}

Thanks in advance, 
Matthew.




__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.