Print Page | Close Window

ASP to Write Java

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=5161
Printed Date: 30 March 2026 at 7:46pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP to Write Java
Posted By: jdumayas
Subject: ASP to Write Java
Date 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




Replies:
Posted By: Mart
Date 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.



Posted By: vshriniwasan
Date 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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net