File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 1506
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..

------------------
 
Consider Paul's rocket mass heater.
 
subject: Accessing HTML elements from Java Program
 
Similar Threads
Javascript: How to retrieve value of a field inside a nested table
Populate text box from xml
How to convert TEXT/HTML to TEXT/plaintext
How to check canvas is empty or not in javascript
Session info getting lost between servlets.