Solved

ActionErros question

Posted on 2004-03-31
2
221 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
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
searlas earned 25 total points
Comment Utility
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
Comment Utility
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now