• Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting javaScript variable to java  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a javascript variable. I want to write the content of this variable to a text file. Is this possible using javascript ?

or

can we convert the javascript variable to java variable so that I can use the java code to write it to a file.

Thank You.
 
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
assuming we are talking about client / server web environment:

- why are you not http-posting the variable's content back to the server?

cheers,
jan
 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

JavaScript and Java are two entirely different, unrelated languages. This site is primarily about Java, not JavaScript. We do have one JavaScript forum here. I will move this topic there for you; go over and look for it!
 
Author and ninkuma
Marshal
Posts: 66402
156
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the file to be on the client or server?
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!