Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to show a dynamic page in a java componenent

 
hhh baby
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java has a component JEditorPane can show a html page.
but now I want to show a dynamic page(jsp) in a java component.Can I find such a component in java api or implement it myself?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"hhh baby" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

The JEditorPane should have no trouble displaying the output of a JSP as long as it is just HTML. If you're using Javascript, CSS, or anything else in the page, then you'll have to make your own editor kit.

Thanks! and welcome to the JavaRanch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!