Solved

ActionErros question

Posted on 2004-03-31
2
236 Views
Last Modified: 2010-04-01
Can I use ActionErrors in my own servlet, and use the corresponding Error tag in JSP pages to display errors, without using the struts framework (e.g. struts-config.xml, action class)?
Hope to get some kind of confirmation from experience user.
thanks!
0
Comment
Question by:ggyao2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
searlas earned 25 total points
ID: 10731000
Yes.  You just need to use the right key when bunging the ActionErrors into the request/session/application.

See Struts constant values:
http://jakarta.apache.org/struts/api/constant-values.html#org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE
0
 
LVL 7

Expert Comment

by:searlas
ID: 10731009
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
With the rising number of cyber attacks in recent years, keeping your personal data safe has become more important than ever. The tips outlined in this article will help you keep your identitfy safe.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question