Flash macromedia set the variable Counter, and call this JSP file, I want
this JSP file to return a string to flash someting like "
Headlines=5&Headline1=import java.awt.*;"
I don't know if it is correct or no to use out.write or out print to output
a string from JSP file to the caller( flash or a form).
Thanks.
<html>
<head>
<title>
MyCo Directory
</title>
</head>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="empbean" class="mytest.beans.empQBean" scope="page" />
<% pid = Integer.parseInt(request.getParameter("Counter")) %>
<jsp:setProperty name="empbean" property="id" param="pid" />
<body>
<h1>MyCo Employees</h1>
<%
empbean.makeConnection(); // connect up
if (empbean.getEmployees()) // perform query
{
String last = empbean.getColumn("lastname");
%>
out.write("Headlines=5&Headline1=import java.awt.*;")
<%
} /* of if */
empbean.takeDown();
%>
<a href="control.html">Go back to admin control</a>
</body>
</html>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets