This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Accessing HTML elements from Java Program
 
It's not a secret anymore!