Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: JEditorPane setPage Methods throws NullPointerException


Message #1 by Ponnuswamy P <PonnuswamyP@m...> on Tue, 9 Apr 2002 11:35:00 +0530
	Actually to setPage method I am passing a String i.e the absolute
path of the HTML file existing in my local m/c.
	The HTML file which I wanted to set doesn't have any stylesheet
reference.
	
> -----Original Message-----
> From:	Chanoch Wiggers [SMTP:ChanochW@w...]
> Sent:	Tuesday, April 09, 2002 3:11 PM
> To:	Java 2 Enterprise Edition
> Subject:	[j2ee] RE: JEditorPane setPage Methods throws
> NullPointerExceptio n
> 
> it looks like there is a stylesheet reference in the page and the editor
> pane cant get ahold of it?
> 
> In addition, you say you give it the absolute path of the file in your
> code
> but you say you give it a URL in the text. Do you create a URL object from
> the absolute path that you pass to it or pass a String?
> 
> 
> 
DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to MASCOT SYSTEMS LTD and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at Mailadmin@m... Before opening attachments,
"Please scan for Viruses"



  Return to Index