This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes unexpected exception    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "unexpected exception    " Watch "unexpected exception    " New topic

unexpected exception

John Mclain
Ranch Hand

Joined: Nov 04, 2007
Posts: 30
hi all,

i got following exception at IE's java console while trying to load a japplet in a jsp.

however, i have included all the packages related to upload files from apache. the interesting thing is that, the exception is not thrown while running through appletviewer.
it sounds regarding missing of package but i have already added that in classpath. now i am unable to figure it out.
below is the applet code

[ December 02, 2007: Message edited by: John Mclain ]
John Mclain
Ranch Hand

Joined: Nov 04, 2007
Posts: 30
problem has been solved. i was using older version of HttpClient api. and now i have replaced it by httpclient-4.0-alpha2 and the class get loaded.

but one more problem still persist, since this version differs from that of v3.1 hence i am still unable to send a multiplart request data to a servlet using post method.

if someone already worked upon this, then please put few line of code to make a post request containing multipart/form-data like image files.

subject: unexpected exception
Similar Threads
How to add JScrollPane in a JList ?
refresh label
unexpected exception:please help
Drawing with mouse
exception:please help