JSP tags questions

  • Thread starter Natalya Muzinich
  • Start date
N

Natalya Muzinich

I am VERY new to JSP, so I hope my question makes sense.

I am trying to use a tag from the google API estimatedTotal.
<google:estimatedTotal />
If I just put it in my jsp like this, it prints the number of
estimated search results directly on the page. I don't want this. What
I want is to collect this value and stick it into a java variable for
future processing.

Can this be done? If so, what's the syntax?

Thank you so much in advance
 
C

Chris Smith

Natalya said:
I am VERY new to JSP, so I hope my question makes sense.

I am trying to use a tag from the google API estimatedTotal.
<google:estimatedTotal />
If I just put it in my jsp like this, it prints the number of
estimated search results directly on the page. I don't want this. What
I want is to collect this value and stick it into a java variable for
future processing.

Can this be done? If so, what's the syntax?

You wouldn't use a tag for that; tags are for controlling output. I am
not familiar with this tag library, but many such tag libraries are
accompanied by Java APIs that might do what you want.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top