JSP-Servler Question 2

2000-05-31 Thread Vinay K.V. Menon

Hi All,
I did get a few answers to a question I had posted about embedding
servlet output in a JSP page. I guess I need to restate the requirement!
I am developing a few servlets that would generate HTML code snippets -
might not be complete HTML pages. The output of these servlets should merge
with whatever HTML the JSP pages would produce. For instance if the JSP page
had only the HTML and the HEAD tags and the servlets produce the BODY tag
and  its contents, the 2 need to be merged and displayed.
I tried stuff like
jsp:include page="/servlet/HelloWorldServlet" flush="true"/

This compiles fine but does not produce the desired results! I would
really appreciate if it is feasible to do thie WITHOUT resorting to using
beans.

Vinay

===
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



Re: JSP-Servler Question 2

2000-05-31 Thread Balaji Srinivasan

This works pretty well with JavaWebServer2.0. What is the problem taht u're
facing?




"Vinay K.V. Menon"
[EMAIL PROTECTED]To: [EMAIL PROTECTED]
.SOFT.NETcc:
Sent by: A mailingSubject: JSP-Servler Question 2
list about Java Server
Pages specification
and reference
[EMAIL PROTECTED]
.com


05/30/00 10:20 AM
Please respond to A
mailing list about
Java Server Pages
specification and
reference






Hi All,
I did get a few answers to a question I had posted about embedding
servlet output in a JSP page. I guess I need to restate the requirement!
I am developing a few servlets that would generate HTML code snippets -
might not be complete HTML pages. The output of these servlets should merge
with whatever HTML the JSP pages would produce. For instance if the JSP
page
had only the HTML and the HEAD tags and the servlets produce the BODY tag
and  its contents, the 2 need to be merged and displayed.
I tried stuff like
jsp:include page="/servlet/HelloWorldServlet" flush="true"/

This compiles fine but does not produce the desired results! I
would
really appreciate if it is feasible to do thie WITHOUT resorting to using
beans.

Vinay

===
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

===
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



Re: JSP-Servler Question 2

2000-05-31 Thread Fernando Ribeiro

You have another alternative if this include thing does not work. You can
read yourself the servlet output and print it.

Putting this functionality into a bean would be a good idea but it is not
required at all.

fribeiro

- Original Message -
From: "Vinay K.V. Menon" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 1:50 AM
Subject: JSP-Servler Question 2


 Hi All,
 I did get a few answers to a question I had posted about embedding
 servlet output in a JSP page. I guess I need to restate the requirement!
 I am developing a few servlets that would generate HTML code
snippets -
 might not be complete HTML pages. The output of these servlets should
merge
 with whatever HTML the JSP pages would produce. For instance if the JSP
page
 had only the HTML and the HEAD tags and the servlets produce the BODY tag
 and  its contents, the 2 need to be merged and displayed.
 I tried stuff like
 jsp:include page="/servlet/HelloWorldServlet" flush="true"/

 This compiles fine but does not produce the desired results! I
would
 really appreciate if it is feasible to do thie WITHOUT resorting to using
 beans.

 Vinay


===
 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


===
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