This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem in Server side exception handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in Server side exception handling" Watch "Problem in Server side exception handling" New topic
Author

Problem in Server side exception handling

Namrta Pandey
Ranch Hand

Joined: Jul 22, 2008
Posts: 36
HI,

I am using struts1.2, I want to apply server-side validation but when I am trying to add error in the catch block for which Iam using the below code:
errors.add("GET_COMPANY_PROFILE_ERROR", new ActionError("scipeo.getCompanyProfileException"));
saveErrors(request, errors);

for action error key i've defined a value in Application.resource file,
and for showing this error in JSP :
<html:errors property="GET_COMPANY_PROFILE_ERROR"/>
but it is not working, as error message is not getting displayed.
Please tell me where i am going wrong.

Thanks in Advance.
Namrta
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Server side exception handling
 
Similar Threads
How to populate values in window
AJAX and id conflict
weblogic. jndi. WLInitialContext Factory
Error logging in Client side validation
sequrity problem in clint side