How to access a JavaScript content from Java ?

#1
Hi,
I am little bit proficient in Java programmng. I need to access a Java Script file which is already existing in the computer using my own Java file. That file in-turn gets access to the Database. The program should not be visible to the user. Is this possible..? I need this for a project. help me plz...
;)
 
#2
Hi,
I am little bit proficient in Java programmng. I need to access a Java Script file which is already existing in the computer using my own Java file. That file in-turn gets access to the Database. The program should not be visible to the user. Is this possible..? I need this for a project. help me plz...
;)
Hi,
Both Java and Javascript are completely different. Java/JSP is a Server side language and javascript is Client side language. If your javascript need to communicate with server than you have to use AJax.
 
Top