The Artima Developer Community
Sponsored Link

Java Answers Forum
Javascript to Servlet

3 replies on 1 page. Most recent reply: Mar 26, 2002 11:48 PM by Singh M.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
abhijeet

Posts: 13
Nickname: aaraje
Registered: Mar, 2002

Javascript to Servlet Posted: Mar 26, 2002 4:14 AM
Reply to this message Reply
Advertisement
How javascript variable can be assinged to java
in same class


Madhan Kumar

Posts: 10
Nickname: madhan
Registered: Mar, 2002

Re: Javascript to Servlet Posted: Mar 26, 2002 6:21 AM
Reply to this message Reply
Before submitting javascript variables can be assigned to a hidden textbox.
After submitting the form to the servlet,the servlet has to take the value from the textbox.

abhijeet

Posts: 13
Nickname: aaraje
Registered: Mar, 2002

Re: Javascript to Servlet Posted: Mar 26, 2002 8:48 PM
Reply to this message Reply
i dont want to submit i want to assing the value of
java script variable to java variable in same form
by calling a method in java script
thanks

Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: Javascript to Servlet Posted: Mar 26, 2002 11:48 PM
Reply to this message Reply
How will that be possible? Java runs on the server side while JavaScript on the client. Without a submit how can you assign the value?

Flat View: This topic has 3 replies on 1 page
Topic: Database connection Previous Topic   Next Topic Topic: JTable contents

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use