Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Server Returned Http Response Code: 500 & Xpathevaluator Problem.. I Need Help
Rating 5 V
hardc0d3r
post Jul 13 2007, 01:34 PM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 13-July 07
Member No.: 23,335



i have this applet that communicates with a servlet.. when the applet connects to the servlet, i get the Server returned HTTP response code: 500 error.. when i am testing in my own pc, everything is fine.. when i tried deploying it in a server, the error occurs.. i do not have any idea what is wrong..

i get the error in this line in my applet:
CODE
inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());

this is the method that conatins the line above:
CODE
protected String myMethod(String fileName) {
         String doc = null;
         ObjectInputStream inputFromServlet = null;

         try {
             URL loadMapServlet = new URL(this.getCodeBase(), "loadMap?action=load&fileName=" + this.getCodeBase().toString() + fileName);
             URLConnection servletConnection = loadMapServlet.openConnection();
             inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
             doc = (String)inputFromServlet.readObject();
             inputFromServlet.close();
         }
         catch (Exception e) {
             e.printStackTrace();
         }
         return doc;
     }


another thing.. i have read that jdk 1.5 has a bug with Server returned HTTP response code: 500... is there any workarounds?

i have also read that jdk 1.5 has issues with the XPathEvaluator.. if i want to use this, how do i add the newer xalan and xerces jars?

This post has been edited by hardc0d3r: Jul 13 2007, 01:35 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Code To Send An Email From A Form(10)
  2. Help! Problem With My Flash-Drive(2)
  3. Mini Apache Server W/ Php(5)
  4. MSN Help(5)
  5. ATI Video Card Problem! Need Help(5)
  6. Counter-Strike Source Clans - Post Your Server IPs(18)
  7. Problem Accessing My Cpanel(9)
  8. Einstein Quiz(30)
  9. Server Behind Router(7)
  10. Blue Screen - irql_not_less_or_equal(35)
  11. Frustrating Problem With XP On Laptop(20)
  12. Problem With Drag And Drop (or So It Seems).(12)
  13. Help: Setting Default Index Page on XAMPP Web-Server(5)
  14. Free Ragnarok Online Server(5)
  15. New Ro Server(2)
  1. Yahoo! Messenger Challenge Response Algorithm(11)
  2. Pc Problem(8)
  3. Server With Quest?(6)
  4. Graphics Driver Out...(2)
  5. Gmail For Mail Server.(7)
  6. How To Validate The Login Form Using Php Pcre(0)
  7. How To Make Sure Your Server Can Generate Images(0)
  8. Google App Engine(1)
  9. Problem Setting Up Wireless Internet & Wireless Nintendo Wii(4)
  10. Email Server / Cpanel Problems(1)
  11. In Php- How To Send Mail From Localhost To Web Mail Server(0)
  12. System Is Crashed - Hardware Problem(3)
  13. View Php In Another Server(4)


 



- Lo-Fi Version Time is now: 23rd November 2008 - 12:42 AM