Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP to Write Java
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP to Write Java

 Post Reply Post Reply
Author
jdumayas View Drop Down
Newbie
Newbie
Avatar

Joined: 19 February 2003
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdumayas Quote  Post ReplyReply Direct Link To This Post Topic: ASP to Write Java
    Posted: 20 August 2003 at 2:05pm

Hello,

I'm trying to set up a database to write html files to a server.  The html files require a lot of java scripting.  I can get most of the code written using response.write.  Most of my issues are little things such as adding the line breaks and dealing with quotation marks for the javascript. 

I'd like to get some advise on how to accomplish this.  Code or links to tutorials would be greatly appreciated.

Thanks, Jeremy

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2003 at 3:49am

Use double quotes for quotations

Response.Write("The word hello is in quote ""hello""")

And use VbCrlf for line breaks

Response.Write("First line" & VbCrlf & "Second line")

Mart.

Back to Top
vshriniwasan View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2001
Location: United States
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote vshriniwasan Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2003 at 1:23pm

I would suggest the following. I delt with FSO and TextSteram a lot. Best Suggestion to you will be keep your information (like javascripts etc.) in a text file. Have text stream read it and put it in a var, then just write that var into the file.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.