Hi, I have to capture the objects in my servlet using HttpServletRequest object. In an ordinary java file, i am creating a object output stream and writing the object to the stream through writeObject() method. The object which i am sending is a HashMap object, which has name value pairs within it. Now in a servlet i need to get the HashMap object. I tried using ServletRequest.getInputstream(), but it is giving error. I even tried getAttribute() method of ServletRequest class. Both doesn't work. Finally, i went to a solution, in which, i dynamically find the name-value pairs of HashMap object and sending them one by one , directly by appending to URL. Can anyone suggest me a perfect way of doing it. Thanks in advance, Leena _________________________________________________ Get Your Free Email At, http://www.rediffmail.com For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets