Solved

ActionErros question

Posted on 2004-03-31
2
224 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Export JSON response data to Excel in IE9 3 67
default methods vs abstract class 1 109
Set up Wildfly 10 8 359
How can I   ajax html table  rows? 20 62
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

21 Experts available now in Live!

Get 1:1 Help Now