Properly display (HTML...) webpage
Hi, as I haven't found this (maybe you have)...
(Maybe there's a better forum for this; please tell me where.)
How can I properly display a webpage? Is there a way "through":
JEditorPane.setPage("http://java.sun.com");or any other (swing)..., loading plug-ins (javascript, flash, ...) in Java?
Thanx
There is no full-featured browser in Java that
supports JavaScript and Flash (or correct HTML4 for
that matter). A better solution might be to open an
external browser (search the boards) or buy a
third-party HTML viewer (expensive and not fully
features usually) or use SWT, which can embed Mozilla
and/or IE.Do you know if I can browse, select text, copy it to the Java app (through embedded SWT, ...), or maybe, is there no (freeware, ... open source) project for that?
Similar Messages
-
I'm doing some maintenance on an old Dell Dimension 1100 (service tag: JGFN291, all drivers updated) for a friend, and I installed the new version of Firefox. Webpage graphics / backgrounds will not display, and the text on all webpages displays too large; I have to scroll to the left to see everything. How do I configure Firefox to automatically display all webpage content properly? It's probably due to the age of the PC and monitor (I think Noah took a pair of these on the ark with him back in the day), but I was hoping there was some other workaround for it. Any and all help is appreciated!
there is no replay for the problem ?? mozillas's stuff doesnt work as good as their web browser...
-
Display HTML stored in a table
Hello,
I want to display HTML Code which is stored in a table.
Now I have a display as text item and there the HTML is not rendered properly...
So what must i do to show the HTML Code properly?
What kind of item should I use?
Thank you,
TimThank you Carsten,
I had the wrong Item.
I used "display as text (saves state)"....
Regards,
Tim -
Help -- How to display Html text in a JEditorPane
I'm trying to display html in a JEditorPane (html is obtained by transforming Xml and Xsl). So after i do the transformation i have a string which is the html source to be displayed. But when i use editorpane.setText(htmlString) method it is displaying the html source in the editorpane. I also tried using the HTMLEditorKit's read method. Even then its displaying the html source. But when i store the html source as a html file and give the editorpane, the url of the html file, it displays properly.
I would be so grateful if u can help in displaying the html (which i have as a string) instead of the source...
Thank you so much...Hi, after struggling with problem, the solution seems to be to ditch the content type meta tag, JEditorPane seems to barf (silently!) on this...
So, to turn this off...
transformer.setOutputProperty(OutputKeys.ENCODING,"");
Cheers
Greg -
How to Display Html Text with Image
HI Frens,
I am getting some html text from a source, Later i want to
display that data, but it may happened that it has some images in
it. Currently I am using text area to display it.
Now My question is if there is any image will it show, as we
can see it in our mails? if Not, Which component I should use for
this?
I also want that I need to select some file from, How can i
get open dialog box here?
Thks in Advance for replies frens:
Ashish MishraHi Ashish,
If I have understood your requirement properly, u want to
display html text on a flex application.
I think there its better if you use the html component to
display the text. I have a sample code which will give you a
direction to think on.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical"
creationComplete="initApp( )">
<mx:Script>
<![CDATA[
public function initApp( ):void
var initHtml:String = "<html><head> \
<title='Page Example'/> \
<body bgcolor='#ccddee'><h1>Page
Example</h1> \
<p>This is a complete <b>HTML</b> \
page as a
<em>string</em>.</p></html></body>";
this.html.htmlText = initHtml;
]]>
</mx:Script>
<mx:HTML id="html" width="100%" height="100%" />
</mx:Application>
Also do you want a file open dialog box?? -
Problem displaying HTML in reports...
Post Author: redwing19
CA Forum: General
I'm new to Crystal Reports and I can't get a report to print/display html.I
have a column in my database that holds the HTML, and I want the data
in this column to be in the detail of the report keeping the HTML
format.So far, I've got the IFieldObject for the column dragged
onto the report, and set the "TextFormat" option to "crHTMLText". I've
also right-clicked the object, went to the paragraph tab, and set the
"Text Interpretation" option to "HTML Text".But when I preview
the report, it looks like it is actually stripping out the HTML. It
does apply simple HTML formatting for things like bolding, italicizing,
and underlining. But HTML tables and bulleted lists lose all their
formatting.What's going on? Can I not do this?The HTML from the database that I'm attempting to display is simple and looks like this:Here's some text formatting:<b>This
should be bold</b>, <u>This should be underlined</u>,
<i>This should be italicized</i>.<br><br>Here's a table:<table border="1" cellpadding="2" cellspacing="0"> <tr> <td>column 1</td> <td>column 2</td> <td>column 3</td> </tr> <tr> <td>value 1</td> <td>value 2</td> <td>value 3</td> </tr> <tr> <td>value 1</td> <td>value 2</td> <td>value 3</td> </tr></table><br><br>Here's an ordered list:<ol> <li>Item in list</li> <li>Item in list</li> <li>Item in list</li> <li>Item in list</li></ol>When the above HTML is displayed in the report, only the bolding,
underlining, and italicizing are applied. It's like the rest of the
HTML tags are stripped out. The content inside the HTML table and
ordered list are still displayed, but it's all jumbled together with no
alignment, borders, indenting, bullet points, numbering etc. So the
output of the report using the above html looks like this:Here's some text formatting:This should be bold, This should be underlined, This should be
italicized.Here's a table:column 1column 2column 3value 1value 2value 3value 1value 2value 3Here's an ordered list:Item in listItem in listItem in listItem in list Anyone know if what I'm attempting is possible or why the HTML isn't displayed properly?Post Author: IdoMillet
CA Forum: General
For a description of HTML rendering limitations in Crystal Reports, see:http://support.businessobjects.com/library/kbase/articles/c2014842.asp- Ido -
WRT300N v1 Internet Explorer cannot display the webpage
An intermittent problem occurs where occasionally during browsing the web I'll get an Internet Explorer "cannot display the webpage" and then I reload the page and often it works on the reload. The problem is very frequent and so nearly every webpage I try to open I have to reload in order to access it.
A temporary fix is unplugging the WRT300N v1 and plugging it back in. For a while, it works fine, but eventually the problem creeps up again.
I have firmware v 1.03.3
I've got two laptops, one Mac running OS 10.x and one Dell running Vista. I also have a desktop PC running XP. The two laptops use the wireless connection. The PC uses a wired connection. All 3 computers experience this same problem browsing web pages.
I've read the forums and mostly I've seen people talking about problems with the WRT300N v1 as far as the wireless connection, but this time I'm having issues even with the wired connection, so I feel that this issue isn't addressed, or at least I haven't found where it was addressed.
How do I fix this issue permanently?I too am having the same problem. I used another system with IE7 installed and found that many sites that were "unable to be displayed" were accessed with IE7 on a differant computer system running Windows XP.
I realize it could be a router thing as well....but after i went through all the tech help i could find online it still did not solve the problem. I decided to work it out myself.
I found my solution when trying to go to sites with mp3 files on them. Thats when i discovered that with Windows Vista I had to manually select what program applications would be used to perform IE7 features (webpage content) in order for the pages to load properly.
To do this in Windows Vista - just go to Start / Program Defaults / Set Program Access and defaults From there you can select which programs to open if IE7 cant handle the file extention on its on. That was my problem all along.
You may have to go as far as setting your file associations in Windows Explorer. Windows Vista had set the file extension .php to open with Windows Photo Gallery.
I am still going through all the file types and finding file extentions that are configured wrong within Windows Vista.
UPDATE: I had problems opening webpages from links from online searches that were within various forums and also on websites that required a login but popup a separate window to login to. I don't know if you have the same problem with these sites.
I uninstalled a Windows Update (kb927143) and can now access those. I know this could be risky but I still have my firewall and antivirus running. Until IE7 is fixed its the only choice I have.
To do this in Vista....go to Control Panel ... Programs and Features...then click view installed updates. You will find it there if you have it installed. From there you can uninstall it.
Hope this helps you to solve your problem.
Message Edited by nannahawktx on 08-27-2007 09:02 PM -
How to use h:message to display HTML code in message from property file
I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
Is there a method to get h:message to display HTML elements correcly.
[I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
eg.
<h:message for="somecomponentid"/>
to display from errormessages.properties
com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepageHello Ivan,
Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
See following link for the solution I downloaded and then used :
http://issues.apache.org/jira/browse/MYFACES-155
I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
Hope it solves your problem too..
Suhel -
Displaying html code in JSP page
Hi.
How do I display HTML code in an jsp page, so that the actual code is printet on the screen
fx:
<html>
<head>
</head>
<body>
</body>
</html>I can't get my reply to show properly, but the answer is;
Change < into < ; and > into > ;
but with the semi-colons stuck next to the < and > if you get my drift -
Internet Explorer Cannot Display This Webpage
Hi,
My issue is that when ever user is clicking link or submit a form, sometimes instead of directing to a new page, it will show the internet explorer error page 'Internet explorer cannot display this webpage'. I didnt find any error message in the log in cf admin as well as IIS admin. Then I checked with a simple HTML page which refreshes in every 3 minutes. I found that this page is also showing the same issue. So I think the issue is not related to Coldfusion. Still the issue persists. So does anybody have any idea about this? Please advice. Thanks in advance.
The details are: And also the application is hosted in virtual machine.
Server Product
ColdFusion
Version
9,0,0,251028
Edition
Standard
Serial Number
Operating System
Windows 2003
OS Version
5.2
Adobe Driver Version
4.0 (Build 0005)
JVM Details
Java Version
1.6.0_17
Java Vendor
Sun Microsystems Inc.
Java Vendor URL
http://java.sun.com/
Java Home
D:\ColdFusion9\runtime\jre
Java File Encoding
Cp1252
Java Default Locale
en_GB
File Separator
Path Separator
Line Separator
Chr(13)
User Name
SYSTEM
User Home
C:\Documents and Settings\Default User
User Dir
D:\ColdFusion9\runtime\bin
Java VM Specification Version
1.0
Java VM Specification Vendor
Sun Microsystems Inc.
Java VM Specification Name
Java Virtual Machine Specification
Java VM Version
14.3-b01
Java VM Vendor
Sun Microsystems Inc.
Java VM Name
Java HotSpot(TM) 64-Bit Server VM
Java Specification Version
1.6
Java Specification Vendor
Sun Microsystems Inc.
Java Specification Name
Java Platform API Specification
Java Class Version
50.0Seems like an issue with the web server or, perhaps, even your browser. To start with, make sure you have followed the steps for configuring IIS in ColdFusion 9. Next, make sure the MIME type for HTML files in IIS 6 is text/html, not text/htm.
-
I am having the problem that mail does not display HTML mails properly but shows them als plain text. Well, at least kind of. I went through all settings in Mail and Safari and whatever I might think of but no success.
Not even HTML mails from Apple are displayed correctly.
Any idea what could wrong?I find this kind of funny because I just turned off all HTML in Mail on purpose with a Terminal command.
Has anyone else been messing with your computer?
I don't have the Terminal commands to redo HTML here at the office , will have to wait until I get home, but if you trash the preferences for Mail that should fix it.
Quit Mail then go to user/Library/Preferences and delete com.apple.mail.plist
Then restart Mail and see what happens.
There is another one with the same name in /Library/Preferences that you can trash as well if that doesn't work but it's most likely your user preference. If no one was messing with your computer probably just a corrupt preference because there is no way to turn HTML off in Mail other than through a Terminal command line that changes your user preference file. You can't have done it by accident. -
Error message "This program cannot display the webpage when uploading images to Cafe Press
I have had a Café Press shop for five years and except for sometimes being slow, no problems uploading images. Now, suddenly for 3 days I get the message "This program cannot display the webpage
Most likely causes:
• You are not connected to the Internet.
• The website is encountering problems.
• There might be a typing error in the address.
What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.
Retype the address."
I got the messsage about half way through the uploading of an image. People suggested using "firefox" instead of IE so I now get a similar error message from Firefox. I signed in, clicked on the image I wanted to upload and hit "upload" and get message as follows:
Server not found
Firefox can't find the server at members.cafepress.com.
* Check the address for typing errors such as
ww.example.com instead of
[url=http://www.example.com]www.example.com[/url]
* If you are unable to load any pages, check your computer's network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
None of this makes sense because I WAS connected to the internet (obviously) or I wouldn't have been able to sign in, go to my media basket, browse for the image and click "upload" and watch as the progress bar showed percentage of upload such as 20%, etc. and even went to 100% at times before giving me the error message. Plus I couldn't make a typing error since I wasn't typing anything but uploading an image. Any suggestions?
Whatever your suggestion, I need step by step instructions as I am totally computer illiterate. I don't even know what a "proxy" is and don't know if I have a "firewall" as the message suggests. I have "Comodo" security and am using Windows XP.
I contacted CP which was no help at all. All they did was tell me to clear my cache which I do after every session. Thanks
Nancy
http://www.cafepress.com/calendarflrSounds like your desktop application is in fact running from
a server. CHMs were identified as a security risk by Microsoft and
are best suited to the user's PC.
Click
here for more information. -
How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?
I'm creating reports in Crystal XI. The information being displayed in the reports comes from data tables where the text is formatted in HTML.
I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser. Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags. Here's that workaround:
<!--
stringVar TableName := ;
TableName := Replace (TableName, "<ul>","<br> <br>");
TableName := Replace (TableName, "<li>", "<br> • ");
TableName := Replace (TableName, "</li>", "");
TableName := Replace (TableName, "</ul>","<br> <br>");
TableName := Replace (TableName, "<a", "<u><font color='blue'");
TableName := Replace (TableName, "</a>", "</font></u>");
TableName
-->
QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports? If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?Hi Steven,
To display html text in Crystal Reports follows these steps.
1. Right click on the field and select Paragraph tab.
2. Under 'Text Interpretation' select 'HTML Text' and click OK.
I have tried using the way,but it never works.So reply me if there is any way to solve the issue -
Internet Explorer7 cannot display the Webpage in forms 10.1.2.3
Hi all,
I have installed forms 10.1.2.0.2 to my laptop under Windows Vista Home Premium and followed the following steps :
1- changed virtual memory to (minimum of 2048 and maximum of 4096)
2- I updated forms 10.1.2.0.2 it to forms 10.1.3 using pathch 3 (patch ID 5983622)
3- I changed the application server Url in forms builder by choosing Edit, preferences, runtime and click on "Reset to default" button and added ?config=jpi at the end of the line.
when i run the form I got the message "Internet Explorer cannot display the Webpage"
when I called the link http://Computer_name:8889/forms/frmservlet?config=jpi
I got a message asking me to allow downloading java plug-in 1.4.2 ( which I know that it is not certified with Vista), So i refused downloading and updated the formsweb.cfg file as Steve Cosner said in his thread Vista Jinitiator problem
and added these new lines to the formsweb.cfg file:
[[jdk15]]
jpi_classid=clsid:CAFEEFAC-0015-0000-FFFF-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.5.0/jinstall-1_5_0_12-windows-i586.cab#Version=1,5,0,12
jpi_mimetype=application/x-java-applet;jpi-version=1.5.0_12
jpi_download_page=http://java.sun.com/javase/downloads/index_jdk5.jsp
baseHTML=basejpi.htm
baseHTMLjinitiator=basejpi.htm
baseHTMLjpi=basejpi.htm
baseHTMLie=basejpi.htm
When i run the form I got the same error message "internet Explorer cannot display the Webpage "
Again I called the link : http://Computer_name:8889/forms/frmservlet?config=jpi
then I got a message asking to allow loading and installing JRE 1.5.0_12 , and I allowed downloading and installation
After all of this, the form doesn't run and I get the same message "Internet Explorer cannot display the Webpage "
Is this a forms related problem or an Internet Explorer problem
Please help
Mostafa Abolaynain
Edited by: Mostafa Abolaynain on Jun 5, 2009 12:06 AMjemar98 wrote:
We have a custom application built alongside Oracle Ebusiness Suite 12.
Launch a form from the Menu Navigator
Click in any field in the form
Focus does not change to the field that was clicked
Focus can be retained by pressing any keyIs this issue with all custom forms or specific ones?
Did you use the TEMPLATE.fmb file when building your custom forms?
Can you find any errors in the JRE Console Window?
Please obtain the FRD log file and see if you can capture more details about the error -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to display HTML response file in user's browser following submission of Livecycle form
I have a PDF form created via Livecycle that does a HTTP submit to the webserver. The server returns a HTML 'submission receipt' page which is either opened in Acrobat or the user's web browser.
Previously this process worked fine when submitting from adobe reader - the html receipt file would always automatically open OK in the user's browser. However, with newer versions of Reader (11.0.0+) I now get this error and no attempt to open the user's web browser:
An error occurred during the submit process. Cannot process content of type text/html
I realise why I get the error - Adobe reader can't display HTML files.
What I don't understand is why it doesn't open the html file in the user's browser like it has been doing for years.
Does anyone have any idea how I can fix this (without changing the response content type to PDF/FDF)?I had the same issue as you and we used FDF status, then eventually went with returning an XDP that filled out a receipt section of the form.
Maybe you are looking for
-
If Condition in Smartform - window text- without program lines
Hi, I have faced one problem in smartforms. In smartforms i have a window (main.) It has five lines. For Fifth line only i need to check one condition. if it is true then print the Line otherwise i need one Blank line to print. How i write if cond
-
Creative Zen 32GB - connection problem with 2nd PC
Can anyone help? Have had my ZEN for 2 years now & (touch wood) it's still going well. I want to be able to upload music from my laptop when I'm away so I installed the software & registered it without any problem. However my laptop can't detect the
-
Error downloading podcast - part 2
I've subscribed to a podcast, both via iTunes and the podcast's website, and I keep getting the error message that "There was a problem downloading" the podcast and "The URL"....."could not be found on the server." - +*on my Mac*+. I subscribe to the
-
My iphone4 is 2 and 1/2 yrs old, works fine other then the volume buttons just stopped working all of sudden. This function not working means I cannot hear people very well when they call because I cannot turn the volume up and when watching footage
-
I have been unable to burn a disk of an m4v file both in Toast and in Snow Leopard. I get this unexpected error when attempted to burn file in SL from desktop file: I have no idea how to troubleshoot. TIA