wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes parsing the vector object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "parsing the vector object?" Watch "parsing the vector object?" New topic
Author

parsing the vector object?

T sandya
Ranch Hand

Joined: Aug 03, 2006
Posts: 64
Hi,
I have one doubt on parsing the java object using the javascript.

below is the scenario:

I have one table like below:

First row is columns and after onwards is the data:


this html table data is created in jsp by reading the vector object.

but i want to know is , when i click the SELECT button i want to get the list of link No's for the selected Name.

already we have the vector object, just we need to write or parse the object using the javascript.

how we can acheive this?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Originally posted by T sandya:
just we need to write or parse the object using the javascript.

how we can acheive this?
You can't. The vector does not exist on the client where the JavaScript is executed. You might find this article article helpful in understanding why.

What I usually do in such cases is to use the JSP to generate JavaScript code that will do the appropriate thing when the button is clicked.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parsing the vector object?
 
Similar Threads
How to shrink/grow lines
clear the field and disable the back button.
How to Export web page(jsp page) to excel using jsp or servlets
back and forth in a vector
parsing the vector object?