Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 17th, 2012, 08:21 AM
Registered User
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default transfer between server and browser

hi everybody

i need for mi hobbie web app a transference between a java array and a javascript array. this is what i have tried to accomplish but it doesnt seem to work well:

<script type="text/javascript">
var arrayJS=new array();
<% String[] javaArray=(String[])request.getAttribute("names");%>
arrayJS=<%=javaArray%>;
for(var i=0;i<arrayJS.length;i++)
//data processing

any help would be so much appreciated





Similar Threads
Thread Thread Starter Forum Replies Last Post
Crosspagepostback and Server.Transfer preetakrish ASP.NET 1.x and 2.0 Application Design 1 March 17th, 2008 06:29 AM
Server.Transfer Sheraz Khan ASP.NET 2.0 Basics 1 July 28th, 2007 05:17 AM
SQL Server sync with net server and browser server ne SQL Server DTS 0 June 13th, 2005 06:29 PM
Transfer Data from one server to another server Jane SQL Server 2000 2 February 28th, 2005 03:15 AM
ViewState with Server.Transfer Aaron Edwards Classic ASP Basics 3 January 2nd, 2005 07:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.