?
Solved

Getting variables value from JSP

Posted on 2002-03-06
1
Medium Priority
?
161 Views
Last Modified: 2012-05-04
I've produced a simple flash UI with two text fields: modelName and sessionKey.

In the frame, I have this action script:
load variables("test.jsp",0);

In the jsp program, I have the body
<%
  out.print("modelName=Testing");
  out.print("sessionKey=1234567");
%>

But when I run the html file in browser, I can't see anything in the text files. The UI works fine with .txt file. Would anybody help?
0
Comment
Question by:francesluk
1 Comment
 
LVL 4

Accepted Solution

by:
heddesheimer earned 150 total points
ID: 6847693
try to append a "&" before each variable like this:
out.print("&modelName=Testing");
out.print("&sessionKey=1234567");

Marian
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question