| | |
grid in jsp
![]() |
•
•
Join Date: Aug 2006
Posts: 12
Reputation:
Solved Threads: 0
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.
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.
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
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)
x[1] = '<c:out value="${blub}"/>'; 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.
@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
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- jsp and mysql (JSP)
- how to use jsp and tomcat (JSP)
- Can't run JSP in Browser (JSP)
- Wi-fi Network (Networking Hardware Configuration)
- Can't run JSP in Browser (Web Browsers)
- JSP and Oracle (JSP)
Other Threads in the Java Forum
- Previous Thread: java very basic input problem
- Next Thread: How to call a variable from other class
| Thread Tools | Search this Thread |
2dgraphics @param account affinetransform android api apple applet application arc arguments array automation banking binary binarytree bluetooth chatprogramusingobjects class client code color compare component count database derby design detection eclipse eclipsedevelopment encryption error fractal game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide if_statement image inheritance integer j2me java java.xls javadesktopapplications javaprojects jlabel jni jpanel julia keytool keyword linux list macintosh map method methods midlethttpconnection mobile monitoring netbeans nullpointerexception object open-source pong problem producer program project projectideas property reference replaysolutions ria rim scanner server set size sms sourcelabs splash sql swing terminal threads transforms tree ui unicode validation web windows






