I'll stop being facetious ;)
Java doesn't have multi line strings ;o)
I believe Groovy does tho.
Mark
On Wed, Sep 24, 2008 at 8:46 AM, Taco Fleur <[EMAIL PROTECTED]> wrote:
> Cheers mate.
>
> It's not quite like cfsavecontent though, it seems I have to specify line
> breaks and would have to escape quotes.
>
> Any other solutions? Could I write one somehow?
>
>
> On Wed, Sep 24, 2008 at 8:40 AM, Mark Mandel <[EMAIL PROTECTED]> wrote:
>>
>> builder = new StringBuilder();
>>
>> builder.append("<html>\n<head>\n<title>my page!</title>\n</head>\n");
>> //insert html here.
>> builder.append("<body>\n");
>> builder.append("</body>\n</html>");
>>
>> Mark
>>
>> On Wed, Sep 24, 2008 at 8:36 AM, Taco Fleur <[EMAIL PROTECTED]> wrote:
>> > Does anyone know what the equivalent of cfsavecontent would be in Java?
>> >
>> > We are going to do some apps in Java, but I'm thinking we don't want the
>> > extra hassle that comes with JSP, if I know what the equivalent of
>> > cfsavecontent is in Java then we should be sorted without adding JSP.
>> >
>> > Cheers
>> >
>> > --
>> > Try advertising on the new Australian Business Directory
>> > www.clickfind.com.au
>> > blog: http://australiansearchengine.wordpress.com/
>> > Web Designers > http://www.web-designers-australia.com
>> >
>> > >
>> >
>>
>>
>>
>> --
>> E: [EMAIL PROTECTED]
>> W: www.compoundtheory.com
>>
>
>
>
> --
> Try advertising on the new Australian Business Directory
> www.clickfind.com.au
> blog: http://australiansearchengine.wordpress.com/
> Web Designers > http://www.web-designers-australia.com
>
> >
>
--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---