• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

unexpected exception

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic