[opencms-dev] Getting the raw content of an HTML file (was CmsJspActionElement.getContent () won't let me get the contents of an html file...)

Geoff Winkless opencms at geoff.dj
Thu Jun 24 11:53:01 CEST 2004


Olli Aro wrote:
> I have not used that method to get content before, so it might be
> that it returns the control file for the content type page. Below is
> a link to another way to do this. I have used this before and know
> that it definitely works:)
> 
> http://mail.opencms.org/pipermail/opencms-dev/2004q1/009130.html

Further to this - the file content that comes back is parsed, which is a
problem for me because I want to do stuff like (eg)

	<select>ALL_OPTIONS</select>

and replace ALL_OPTIONS with some generated code, but because the parser
objects to the invalid HTML it fails.

Is there any way I can get the raw source as a string?

Cheers

Geoff


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the opencms-dev mailing list