• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

ServletException: UnhandledException

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the advice Joe!

I'll do the required steps.
 
Everybody's invited. Even this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic