This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes ServletException: UnhandledException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ServletException: UnhandledException" Watch "ServletException: UnhandledException" New topic
Author

ServletException: UnhandledException

Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Hi All,

I am trying to pass a resultset into the jsp page by the use of List but while doingthis i am getting ServletException: UnhandledException at the output.Can anyone help me in this.Below is my code:
java code:


jsp file:



The error statement


web.xml contains:


Thanks in Advance!

[ December 30, 2008: Message edited by: Aalok Mishra ]

[ December 30, 2008: Message edited by: Aalok Mishra ]
[ December 30, 2008: Message edited by: Aalok Mishra ]

Thanks and Regards,
Aalok Mishra
InfoCepts, LLC
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8915
    
    8


It sounds like you have an unresolved dependency on Apache Commons Lang.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Thanks for the quick reply!

But there is one problem. I am a newbie to Struts and I am not able to figure out how to overcome this issue. Can you help me in this? I have posted my code already so you might get an idea as if what is going wronh there.

Thanks in Advance!
[ December 30, 2008: Message edited by: Aalok Mishra ]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8915
    
    8

One thing you should do is remove your email, address and phone number from your signature. Unscrupulous people could use that information.
As for your problem, download the Apache Commons Lang library linked above and bundle it with your Struts application. Struts has many third-party dependencies so you may have to hunt down several more.
The struts distribution includes a "blank" application which contains all the dependencies and is a good starting point for building an application with struts. Have a look at it.
Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Thanks for the advice Joe!

I'll do the required steps.
 
GeeCON Prague 2014
 
subject: ServletException: UnhandledException