Solved

How can I display HTML 4.0+ and JSP pages in a JEditorPane or some other Java Control?

Posted on 2004-10-06
6
363 Views
Last Modified: 2012-06-21
I created a JEditorPane and used setPage() to display an HTML page just fine. But when I try using more advanced pages that use JSP, I get all sorts of problems displaying the pages.
I read that the EditorKit can display only HTML 3.2 in version Java 1.4.

Are there any other EditorKits that I can plug in to better support my JSP pages?

Are there any better ways to support my JSP pages besides invoking a brower?

Thanks
0
Comment
Question by:kmenzel
  • 2
6 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 168 total points
ID: 12243451
Not free ones AFAIK and i think you might even have problems with ones that'll cost you too :-(
0
 
LVL 92

Assisted Solution

by:objects
objects earned 166 total points
ID: 12243964
i'd suggest keeping your html simple if you intend to display it in JEditorPane.
0
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 166 total points
ID: 12245823
try using any of the following browsers instead of EditorKit
http://www.icesoft.com/
http://www.netcluesoft.com/desktop/desktop.php3?sub=products
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12245830
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 2 42
countPairs challenge 7 57
strCount chalenge 3 50
Eclipse Neon and jdk 1.8.0 11 65
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now