This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Accessing HTML elements from Java Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Accessing HTML elements from Java Program" Watch "Accessing HTML elements from Java Program" New topic
Author

Accessing HTML elements from Java Program

Robert, Blum
Greenhorn

Joined: May 31, 2001
Posts: 6
i am writing a shopping cart application and am trying to access an array of elements displayed on HTML page.
------------------
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Checkout the servlet methods getParameter() & getParameterValues().

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Robert, Blum
Greenhorn

Joined: May 31, 2001
Posts: 6
Originally posted by Robert, Blum:
i am writing a shopping cart application and am trying to access an array of elements displayed on HTML page.

Iwould like to access the DOM similar to JavaScript forms[].elements[] etc..

------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing HTML elements from Java Program
 
Similar Threads
Javascript: How to retrieve value of a field inside a nested table
Session info getting lost between servlets.
How to convert TEXT/HTML to TEXT/plaintext
Populate text box from xml
How to check canvas is empty or not in javascript