User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 373,916 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,575 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting

how can i pass a value from java script to JSP scriplet

Join Date: Jun 2006
Posts: 2
Reputation: venkatnavi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
venkatnavi venkatnavi is offline Offline
Newbie Poster

Re: how can i pass a value from java script to JSP scriplet

  #3  
Jun 20th, 2006
Originally Posted by masijade
Javascript runs on the client, JSP runs on the server. They cannot
communicate with each other directly. If you are advanced enough, look
into a servlet web service and AJAX to solve your problem, if it must
absolutely be dynamic. Otherwise, you are going to have to submit your form.



Thank you,
for your reply..

i will try out that AJAX ....

i submitted the form and got the value and now working fine..
again here i got problem that i am not able to send the values from the action to the JSP page from which i have submitted.


it is giving null value in java script..
Reply With Quote  
All times are GMT -4. The time now is 5:22 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC