Hi all,
Quick intro:
I am using Jrun2.3.3 and JDK1.2.1_03 for solaris and jswdk-1.0 for
my servlets and JSP
Now, the problem:
When I use the syntax for JSP 1.0 as shown in Sun's JSP Syntax card
my JSP's don't work.
for example when I use:
<@ include file="relativeURL" %>
I get
500 Internal Server Error
JSP Parse Error
JSP Directive <%@ %> fileis not recognized.
returned by the server.
I can however use the work around
<!--#include file="relativeURL" -->
Also if I use
<%@ page import="kclasses.beans.NameHandler" %>
<jsp:useBean id="mybean" scope="page"
class="kclasses.beans.NameHandler"
type="kclasses.beans.NameHandler" />
</jsp:useBean>
<jsp:setProperty name="mybean" property="*" />
then the bean is not loaded which I can check by using <%
out.println(mybean.getUsername()); %>
and also (perhaps because the bean isn't there?) the
<jsp:getProperty name="mybean" property="username" />
tag doesn't work.
I can get round it by using the good old
<BEAN NAME="mybean" scope="request"
type="kclasses.beans.NameHandler" >
</BEAN>
but is there something that I'm missing that is stopping the <jsp:foo>
tags from working?
All help is greatly appreciated
Karl
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html