• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletException: UnhandledException

 
Aalok Mishra
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Joe Ess
Bartender
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It sounds like you have an unresolved dependency on Apache Commons Lang.
 
Aalok Mishra
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the advice Joe!

I'll do the required steps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic