Ritchie,

We use WebSphere 1.0 and have never found it to be flaky.

However, I cannot find anything wrong with your code assuming
session.validated has meaning to you.

Dan

> ----------
> From:         ritchie turner[SMTP:[EMAIL PROTECTED]]
> Sent:         Wednesday, March 03, 1999 2:05 PM
> To:   [EMAIL PROTECTED]
> Subject:      Flaky Websphere Compile probs
>
>
> 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>
>
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to