| Author |
Javascript needs Object in request/StrutsForm
|
Alejandro Ross
Greenhorn
Joined: Jun 13, 2006
Posts: 9
|
|
Hi Everyone, Upon entering a page, I set a columns Object into a Struts Form (corresponding to the page). I could have also put it in the request. I want to access the columns object throught Javascript. Is it possible? Thanks in advance, Alex
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
No, Java objects exist on the server, Javascript on the client. This article might be helpful. The best you can do is to use the server-side templating JSP to construct Javascript objects that contain the data you need, or to communicate back to the server via Ajax.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Javascript needs Object in request/StrutsForm
|
|
|