Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > need help w/ JSP formating:

Reply
Thread Tools

need help w/ JSP formating:

 
 
hockey1314 hockey1314 is offline
Junior Member
Join Date: Oct 2008
Posts: 4
 
      10-07-2008
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>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
JSP <jsp:useBean ... /> tag: Difference between 'class' and 'type' Sean Aitken Java 3 10-21-2004 11:35 AM
JSP 2.0: <jsp:attribute> in <c:if> Timo Nentwig Java 0 05-10-2004 03:05 PM
Custom tags and <jsp:plugin> / <jsp:param> Raymond DeCampo Java 0 02-18-2004 01:29 AM
[JSP] Strings Constants from JSP using Struts tags Matthias Nietz Java 1 11-12-2003 04:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57