Short answer: You can use session variables.
Long answer: After you create your hashmap, say "thehashMap", use:
session.setAttribute("myHashMap", theHashMap);
You can then retrieve it in your servlet using:
HashMap myHM = (HashMap) session.getAttribute("myHashMap");
Regards,
Geeta
Hiren Dossani wrote:
hello,
i want to send java object e.g. HashMap, along with other request parameters
for a servlet from a JSP page.
any help about how to do it will be highly appreciated.
thanks.--hiren
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
