| | |
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 |
account android api applet application array arrays automation awt bidirectional binary birt bluetooth busy_handler(null) chat class classes client code columns component database designadrawingapplicationusingjavajslider draw eclipse error errors exception expand fractal game givemetehcodez graphics gui guidancer homework html ide image inetaddress inheritance input integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jlabel jme jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source plazmic print problem program programming project property recursion ria scanner search server set smart sms smsspam sort sourcelabs splash sql sqlite static string subclass support swing testautomation threads tree webservices windows






