grid in jsp

Reply

Join Date: Aug 2006
Posts: 12
Reputation: amaravanich is an unknown quantity at this point 
Solved Threads: 0
amaravanich amaravanich is offline Offline
Newbie Poster

grid in jsp

 
0
  #1
Dec 15th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: grid in jsp

 
0
  #2
Dec 15th, 2006
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
  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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3
Reputation: kaleeswaranm is an unknown quantity at this point 
Solved Threads: 0
kaleeswaranm kaleeswaranm is offline Offline
Newbie Poster

Grid For JSP

 
0
  #3
Dec 29th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 489
Reputation: Acidburn is an unknown quantity at this point 
Solved Threads: 5
Acidburn Acidburn is offline Offline
Posting Pro in Training

Re: grid in jsp

 
0
  #4
Dec 29th, 2007
kaleeswaranm please read the rules.. We don't do other people's homework!!
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 8
Reputation: ukbasak is an unknown quantity at this point 
Solved Threads: 0
ukbasak ukbasak is offline Offline
Newbie Poster

Re: Grid For JSP

 
0
  #5
Nov 16th, 2008
kaleeswaranm, Must read the rule first. only the similar help that can be provide. No home work.

I think AcidBurn told you this.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,121
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 471
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: grid in jsp

 
0
  #6
Nov 16th, 2008
@ukbasak - you just made my day, barking on thread that is one year old and forgotten
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: grid in jsp

 
0
  #7
Nov 17th, 2008
Originally Posted by peter_budo View Post
@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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC