wood burning stoves 2.0*
The moose likes Java in General and the fly likes To get a number from html page 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 » Java in General
Bookmark "To get a number from html page" Watch "To get a number from html page" New topic
Author

To get a number from html page

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,
In my html page,if i click a number,that number should be captured in my java program.Is it possible?
For ex :my html code is

I should get that 5101 in my java code.my java code follows:

In this place 5101 given in originateAction.setChannel("local"+'/'+"5101"),
I have to get the number which is posted in html form.Is it possible to get the number in a variable and substitute it in the place "5101"?is it possible to do?or wrong idea?

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41040
    
  43
Where does "my java code" exist - as part of a web app? If so, you could make the number a link that submits to the server and then executes this Java code. If not, please elaborate.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: To get a number from html page
 
Similar Threads
jquery accordion is causing jquery treeview picker to breakup
JSP Basics query
auto-generate new ticket on each page
Validation Issues
Trouble connecting to MS Access via ODBC