No, I haven't seen anything unreasonable from WebSphere's JSP.

I didn't see this problem after commenting out some stuff so the page would
actually run, e.g.,

HttpSession session = request.getSession(false);

if (true/*session != null*/)
{
//Integer sValidated = (Integer) session.getValue ("session.validated");

if (true/*sValidated != null && sValidated.intValue() != -1*/) {
%>

<p>Welcome validated user;</p>
<applet code="com.nymph.dali.applet.AcquireContacts.class" codebase="class"
width="753" height="150">
<param name="p1" value="<%= 2/*sValidated.intValue()*/ %>"> </applet>

Try isolating the problem a little more.

Bob Foster
Symantec Internet Tools


______________________________ Reply Separator _________________________________
Subject: [Fwd: Flaky Websphere Compile probs]
Author:  ritchie turner <[EMAIL PROTECTED]> at Internet
Date:    3/3/99 5:35 PM



Ok, the craftsman is blaming his tools, I've spent quite a few hours
today trying to parameterize an applet with JSP and have given up
because I get inconsistent results. I've had it working then I removed a
space or something innocuous and it stopped working etc.

The code below works without the applet but does not work with the
applet (not the substitition on parameter).

Here's the crappy output with the applet

Welcome validated user;

<applet code="com.nymet.AcquireContacts.c

I'll be very happy to admit a failure if someone can point it out. Does
anybody else find webspere JSP flaky?

<%@ import = "com.sun.server.http.HttpServiceResponse" %>

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body bgcolor="#FFFFFF">
<%

HttpSession session = request.getSession(false);

if (session != null)
{
Integer sValidated = (Integer) session.getValue ("session.validated");

if (sValidated != null && sValidated.intValue() != -1)
{
%>




<p>Welcome validated user;</p>
<applet code="com.nymph.dali.applet.AcquireContacts.class"
codebase="class" width="753" height="150">
<param name="p1" value="<%= sValidated.intValue() %>">
</applet>

<p>&nbsp;</p>

<%
}
}
%>
</body>
</html>


Reply via email to