By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

How can I convert javascript to java

P: n/a
I am new to java/javascript.
I wrote javascript to proces a cookie. I don't like that fact that the code
is visible to all. Can I create a java application that resides on the
server and call it this way the code will be hidden?

How can a prepare it?
It is an apache unix server.

Thanks in advance
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Liz

"Danny" <da********@hotmail.com> wrote in message
news:UH**********************@news4.srv.hcvlny.cv. net...
I am new to java/javascript.
I wrote javascript to proces a cookie. I don't like that fact that the code is visible to all. Can I create a java application that resides on the
server and call it this way the code will be hidden?
But there are programs to convert java class files to java source files.

How can a prepare it?
It is an apache unix server.

Thanks in advance

Jul 17 '05 #2

P: n/a
"Liz" <Li*@nospam.com> wrote in message
news:qeelc.13078$_41.826233@attbi_s02...
"Danny" <da********@hotmail.com> wrote in message
news:UH**********************@news4.srv.hcvlny.cv. net...
I am new to java/javascript.
I wrote javascript to proces a cookie. I don't like that fact that the

code
is visible to all. Can I create a java application that resides on the
server and call it this way the code will be hidden?


But there are programs to convert java class files to java source files.

But if it's a webapp, the class files are not available to the client.

To the OP: You'll want to look into JSPs and/or servlets. JSPs are probably
easier to learn and understand at first. This assumes that you have a solid
basic understanding of Java. Please post further questions to
comp.lang.java.help (beginner questions) or comp.lang.java.programmer (more
advanced stuff). This group is not carried by all usenet servers.
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.