944,044 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 7895
  • Java RSS
Dec 15th, 2006
0

grid in jsp

Expand Post »
Hi,
How can i pass an array from jsp to javascript function.i have to design a grid in jsp.For that i'm using javascript functions.
http://www.code-magazine.com/article...0303111&page=3 this is the link where i got the script.here i have to pass an array of values to display in that grid.can any one pls help me in this regard.
thank u inadvance.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
amaravanich is offline Offline
12 posts
since Aug 2006
Dec 15th, 2006
0

Re: grid in jsp

You can't, not directly.
What you can do is generate a piece of Javascript as part of the JSP rendering that the Javascript can use.
Something like
Java Syntax (Toggle Plain Text)
  1. x[1] = '<c:out value="${blub}"/>';
  2. x[2] = '<c:out value="${blah}"/>';
Last edited by jwenting; Dec 15th, 2006 at 2:51 pm.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Dec 29th, 2007
0

Grid For JSP

HI!
i am also trying to use Grid.But i don't have a source for Grid.i am doing project in java struts.so i need to display the value inside the Gird.so give me a source if you have any option....
thank you,
kaleeswaran
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kaleeswaranm is offline Offline
3 posts
since Nov 2007
Dec 29th, 2007
0

Re: grid in jsp

kaleeswaranm please read the rules.. We don't do other people's homework!!
Reputation Points: 12
Solved Threads: 5
Posting Pro
Acidburn is offline Offline
510 posts
since Dec 2004
Nov 16th, 2008
0

Re: Grid For JSP

kaleeswaranm, Must read the rule first. only the similar help that can be provide. No home work.

I think AcidBurn told you this.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ukbasak is offline Offline
8 posts
since Nov 2008
Nov 16th, 2008
-1

Re: grid in jsp

@ukbasak - you just made my day, barking on thread that is one year old and forgotten
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Nov 17th, 2008
0

Re: grid in jsp

Click to Expand / Collapse  Quote originally posted by peter_budo ...
@ukbasak - you just made my day, barking on thread that is one year old and forgotten
especially since he's just pointing out what the last post said.
Reputation Points: 938
Solved Threads: 356
Posting Maven
stultuske is offline Offline
2,523 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: java very basic input problem
Next Thread in Java Forum Timeline: How to call a variable from other class





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC