Hi,

I am also having combination of IIS and JRun. And am facing the same
problem. I have come to some facts :

JRun gives different extensions to jsp files depending on jsp version. So
jsp10 for JSP 1.0 version. I tried to configure IIS to forward jsp10 files
to JRun, but got errors. I tried to use my jsp10 files in JRun directly i.e.
without IIS, although the <jsp:useBean tag was parsed ( i checked the
resulting servlet ), the java bean could not be found and I have put the
bean in d:\jrun\lib as a jar file as well as tried with the bean class file.
JRun assumes jsp files with extension jsp to be of version .91 and jsp92 of
jsp .92 and jsp10 of JSP version 1.0

Any help is greatly appreciated.

Gautam
----- Original Message -----
From: Liwen Chen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 30, 2000 11:33 AM
Subject: Re: jsp using java bean for wml


> I think it's better to explain my problem a little clearly:).
>
> I have two servers:
>     1. Windows NT IIS 4.0 with JRun 2.3.3;
>     2. Red Hat Linux 6.2 Apache 1.3(1.4?) with JRun 2.3.3.
>
> I have a jsp page named test.jsp (attached below) with a line
>     <jsp:useBean id="register" scope="session"
> class="stockalert.RegisterBean" />
>
> In server 1, the problem is: it cannot parse the page because of the tag:
> <?xml .....?>. In server
> 2, the problem is: it just print out the <jsp:useBean.../> line and
doesn't
> parse it anyway!!!
>
> I am going to be mad about it:).
>
> Liwen
>
> <%@ page language="java" %>
> <jsp:useBean id="register" scope="session" class="stockalert.RegisterBean"
> />
>
> <?xml version="1.0"?>
> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
> "http://www.wapforum.org/DTD/wml_1.1.xml">
> <wml>
>
> <% boolean success = false; %>
> <% String message = "A", title = "B"; %>
>
> <% if (success == false) title = "Sign Failed";
>  else title = "Signup Successful";
> %>
>  <card id="card1" title="<%= title %>">
>   <p>
>   <% if (success == true) {
>   %>
>   <p>
>    <%= message %>
>   </p>
>   <p><i><a href="login.wml">Login</a></i></p>
>   <% } else { %>
>   <p>
>    <%= message %>
>   <p>
>   <p><i><a href="welcome.wml">Home</a></i></p>
>   <% } %>
>  </card>
>
> </wml>
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to