Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ActionErros question

Posted on 2004-03-31
2
Medium Priority
?
239 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 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

926 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