need help w/ JSP formating:

Joined
Oct 7, 2008
Messages
4
Reaction score
0
Ok. I need to make the following call:

var fullSessionName;
Function startHODSession(sessionName) {
var i = document.HODApplet.startSession(sessionName);
if (i == 0) {
fullSessionName = sessionName + document.HODApplet.getSessionID();
}
}

I need to run that part of code and display the output on a webpage. Any help would be awosme as I am lost w/ JSP more of a vb kind of guy. but learning quickly. Thanks for any help or advice.

M


My JSP file:
<%--
Document : index
Created on : Oct 7, 2008, 7:14:58 AM
Author : tl01mjf
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page import ="java.applet.Applet" %>
<%@page import = "ibm.eNetwork.HOD.BaseApplet" %>
<%@page import = "ibm.eNetwork.HOD.HostOnDemand" %>
<%@page import = "ibm.eNetwork.HOD.JSHostOnDemand" %>
<%

CODE GOES HERE


%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h2>Hello World!</h2>

<input type="text" name="AgentID" value="" />
<input type="submit" value="Push IT" name="id"/>



</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top