Look at the line numbers of the java source for the errors given. Your basic error is an illegal argument exception. Which of the classes shown in the error list are your code and not imported? Look at the line numbers of the .java files.

Otherwise, send us the code so we can debug it. Its probably just something simple.

Kerem ÖKTEM wrote:

hi people,can you help me with my problemi have dosnloaded a servlet code which is in the attachment .on my computer i compiled it hen ran servlet runner after i called it from browser it gave me nothingbut wrote something on the dos window java.lang.illegalArgumentExeption: sun.io.CharToByteISO-8859-1
 at sun.io.CharTOByteConverter.getConverterClass(CharTOByterConverter.java:79)
 at sun.io.CharTOByteConverter.getConverter(CharTOByterConverter.java:109)
 at java.io.OutputStreamWriter.<init>(OutputStreamWrite.java:75)
 at ShoppingCartServlet.doGet(ShoppingCartServlet.java:11)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
 at sun.servlet.http.HttpServletHandler.sendResponse(HttpServerHandler.java:165)
 at Sun.servlet.http.HttpServetHandler.handleConnection(HttpServerHandler.java:121)
 at sun.servlet.http.HttpServerHandler.run(HttpServerHandler.java:90)
 at java.lang.Thread.run(Thread.java:466)i gave me thesei hava jsdk2.0 and a visual cafe which don't work and nothing more.please help me what should i do i don't setup up a server on my computer .i don't know if i should and i am not sure if i need jdk1.2 because i have visual cafe's oneif i have to have jdk1.2 then tell me (when it is without java visual cafe) please help me keremand i want to help me on icq here it it#45824528    

Reply via email to