How can I include a non-relative page (an .html page which is situated on another server) within my JSP pages?

John Zukowski

Personally, I would NOT include the actual Java code within the JSP page, but instead use a JavaBean (or Servlet) for this. See http://www.jguru.com/jguru/faq/view.jsp?EID=13198 for the actual code to do this. I would use a Reader stream though, instead of an InputStream, as you will be working with text data, versus binary data.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact