• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pass JavaScript value to JSP

 
shailesh kumar
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have to pass the Javascript variable to the Java Funtion in JSP....here is the scenario..I have 2 comboboxes and I have to populate combo2 besed on the value selected in combo1... How can I do this ??
 
shailesh kumar
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ignore my last post here is the modified one...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you make a mistake, please do not re-post the same question. Click on the icon that looks like pencil and paper to edit your mistakes.
[ September 16, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think about it for a minute.

JSP runs on the server in order to format an HTML page, including your Javascript, to send to the client. There is no means to interact between the server-side Java and the client-side Javascript.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic