Connecting Tech Pros Worldwide Forums | Help | Site Map

Implementing servlets within the javascript file

Newbie
 
Join Date: Nov 2006
Posts: 30
#1: Nov 16 '06
How can i implement servlets within the javascript file ... i want to retrieve some data thru servlet into javascript file !

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Nov 16 '06

re: Implementing servlets within the javascript file


Quote:

Originally Posted by crossroadsk

How can i implement servlets within the javascript file ... i want to retrieve some data thru servlet into javascript file !

What really are you trying to do here? Servlets run on server, javascript on client. If you are using servlets to get data from database, you can use jsp for display. You are trying to display using javascript?
Expert
 
Join Date: Nov 2006
Posts: 392
#3: Nov 16 '06

re: Implementing servlets within the javascript file


Quote:

Originally Posted by crossroadsk

How can i implement servlets within the javascript file ... i want to retrieve some data thru servlet into javascript file !

Posts like this are not likely to get much of a response since there is no information to go on. It may help to read the posting guildlines.

If you are wanting JS that is dynamically generated you can do that with a servlet or with a JSP. With out more details there is not much else we can tell you.
Reply


Similar JavaScript / Ajax / DHTML bytes