File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

set Value in attribute

 
Isaac Ferguson
Ranch Hand
Posts: 831
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am setting an atribute as an integer. After that I retrieve that value from my JSP, and after that using I try to send it to Google Charts but it doesn't shows my value but when I use some thing like ['Browser', 1] it works.



Any idea?

 
Winston Gutkowski
Bartender
Pie
Posts: 9450
49
Eclipse IDE Hibernate Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angus Ferguson wrote:Any idea?

Nope.

Why?: because you haven't given us enough information.

Winston
 
Steve Luke
Bartender
Pie
Posts: 4181
21
IntelliJ IDE Java Python
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
More details please. What is document? What type does getElementById() return? What happens when there is no element with that ID?
 
Paul Clapham
Sheriff
Pie
Posts: 20163
24
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This code looks like Javascript, but the original post mentions JSP.

I see that the OP has been given a link (in another thread) to the standard article about the lifecycle of a web application's request and how JSP and Javascript can't communicate the way you might guess if you didn't know anything about that, so instead of moving the thread to the Javascript forum, I'm just going to leave it here to die.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic