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 Object
sent 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