File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes accessing message resources in processPreprocess Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "accessing message resources in processPreprocess" Watch "accessing message resources in processPreprocess" New topic

accessing message resources in processPreprocess

Jason Berk
Ranch Hand

Joined: May 03, 2006
Posts: 41
is it possible to access my message resource bundle from the processPreprocess method?
Durgaprasad Guduguntla
Ranch Hand

Joined: Oct 20, 2003
Posts: 99
Yes, you can access Messages within that request processor method as follows:

Thanks,<br />Durgaprasad<br />SCJP1.4, SCWCD1.4, SCBCD1.3,<br />SCEA
I agree. Here's the link:
subject: accessing message resources in processPreprocess
Similar Threads
process() & processPreprocess()
Compilation Problem
Getting ApplicationResources from a Custome Request Processor
Session time out in Struts app
Accessing message resources outside an action class