Have you looked at the collections framework?

http://developer.java.sun.com/developer/onlineTraining/collections/Colle
ction.html

----- Original Message -----
From: Ganesh MohanRao <[EMAIL PROTECTED]>
Date: Tuesday, April 3, 2001 2:10 pm
Subject: Object Serialization Between JSP and Servlet

> This is what I wanted to do.
>
> I need to call the servlet from a JSP which connects to Database and
> Retrieves the Data.
>
> Servlet needs to send the Data as Object. JSP needs to receive the
> Objectsent by the Servlet and display the
>
> data in a specific format.
>
> How do I do this Object Serialization between JSP and Servlet.
>
> Please help me with some sample code.
>
> Onemore thing, the JSP is not in the Same server where the Servlet
> resides.JSP needs to call the Servlet which is residing in the
> Remote Server.
>
>
> This is the Full Scenariao.
>
> DiplayData.jsp
> {
> Object obj = (Object) "http://servlet/DBServlet";
> Process the Data and Display the Page with the Data.
> }
>
> DBServlet resides remote and it has to send the Data back in the
> form of
> Object.
>
> Please help me
>
>
> Ganesh
>
>
========================================================================
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-
> INTEREST DIGEST".
> 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
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to