Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


JavaRanch » Java Forums » Java » JSP
Bookmark "unexpected exception    " Watch "unexpected exception    " New topic
Author

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



thanks
[ 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.

thanks
 
GeeCON Prague 2014
 
subject: unexpected exception