Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > passing javascript variables to JSP

Reply
Thread Tools

passing javascript variables to JSP

 
 
El Durango
Guest
Posts: n/a
 
      08-10-2004
I need to pass a javascript to JSP code but I cannot figure it out.
any help would be appreciated.


 
Reply With Quote
 
 
 
 
kaeli
Guest
Posts: n/a
 
      08-11-2004
In article <3KcSc.3978$> ,
enlightened us with...
> I need to pass a javascript to JSP code but I cannot figure it out.
> any help would be appreciated.
>
>
>


JSP runs on the server before the client has received a response.
Javascript runs on the client after the server has terminated the response to
the client.

You'll need to submit a client request to the server to do this, either
through a form (iframe, frame, current window, whatever), a URI/querystring,
applet, ActiveX, COM, or a dynamic script (not all of those are cross-
browser).

--
--
~kaeli~
Shotgun wedding: A case of wife or death.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JSP and Javascripts on same page (Passing values to JSP fromJavascript) Husain Javascript 3 04-14-2008 10:36 AM
Put variables into member variables or function variables? tjumail@gmail.com C++ 9 03-23-2008 04:03 PM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
Passing parameters from JSP to JavaScript Omar Java 2 03-11-2005 02:19 AM
passing session variables frm ASP to JSP Jason Us ASP General 4 12-31-2003 03:12 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57