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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 68
base64 decode encode 12 122
ArrayIndexOutOfBoundException 9 68
tomcat administrtor 12 29
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

895 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

11 Experts available now in Live!

Get 1:1 Help Now