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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JUnit 4 @Before and @BeforeClass differences 3 59
Apps blocked by Java 9 79
factorial example 4 39
by zero exception 10 40
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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.

770 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