Re: Problem parsing taglib

2001-01-24 Thread Craig R. McClanahan


Renee Petris wrote:

I'm running Tomcat version 3.1.
Renée Petris
 
Tomcat 3.1 has lots of bugs that negatively affect Struts based applications. 
It is not a suitable platform for Struts development or deployment. 
I would suggest updating to 3.2.1 or 4.0-beta-1.
Craig McClanahan
 
 


RE: Problem parsing taglib

2001-01-24 Thread Ted Husted

Feel free to mail me your JSP and I'll try it here. 

*** REPLY SEPARATOR  ***

On 1/24/2001 at 9:23 AM Renee Petris wrote:

Already tried that. Everything looked fine. Since I'm only using a
taglib
that came with 
struts, I would expect there to be a problem. I tried copying
struts-bean.tld from struts-example
as well as from my struts download. I checked my webapp structure
against
the struts-example structure,
thats the same also. 

If it helps, I'm trying to do the tutorial at Bluestone
(http://gallery.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/s
trut
s-trailmap/Trail2.htm)

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 9:12 AM
To: Struts List
Subject: Re: Problem parsing taglib


I'd try opening the TLD file with a text editor, to be sure everything
is as you would expect. Or moving that one, and copying a new one over.


Also, I believe that Tomcat requires custom tags to be in packages,
just to be sure you set your example up that way.

-Ted.

*** REPLY SEPARATOR ***

On 1/24/2001 at 9:05 AM Renee Petris wrote: 
I'm trying to run a very simple Hello World example. My jsp contains
only:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>

When I try to open the page, I get the following exception:
org.apache.jasper.JasperException: Unable to open taglibrary
/WEB-INF/struts-bean.tld : Parse Error in the tag library descriptor:
Character conversion error: "Unconvertible UTF-8 character beginning
with 0xb4" (line number may be too low).



-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/





Re: Problem parsing taglib

2001-01-24 Thread Rob Leland

Ted Husted wrote:

> Also, I believe that Tomcat requires custom tags to be in packages,
> just to be sure you set your example up that way.

Tomcat 3.1 didn't require custom tags to be in packages, 3.2/4.0 might
behave
differently.





RE: Problem parsing taglib

2001-01-24 Thread Renee Petris

Already tried that. Everything looked fine. Since I'm only using a taglib
that came with 
struts, I would expect there to be a problem. I tried copying
struts-bean.tld from struts-example
as well as from my struts download. I checked my webapp structure against
the struts-example structure,
thats the same also. 

If it helps, I'm trying to do the tutorial at Bluestone
(http://gallery.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/strut
s-trailmap/Trail2.htm)

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 9:12 AM
To: Struts List
Subject: Re: Problem parsing taglib


I'd try opening the TLD file with a text editor, to be sure everything
is as you would expect. Or moving that one, and copying a new one over.


Also, I believe that Tomcat requires custom tags to be in packages,
just to be sure you set your example up that way.

-Ted.

*** REPLY SEPARATOR ***

On 1/24/2001 at 9:05 AM Renee Petris wrote: 
I'm trying to run a very simple Hello World example. My jsp contains
only:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>

When I try to open the page, I get the following exception:
org.apache.jasper.JasperException: Unable to open taglibrary
/WEB-INF/struts-bean.tld : Parse Error in the tag library descriptor:
Character conversion error: "Unconvertible UTF-8 character beginning
with 0xb4" (line number may be too low).



Re: Problem parsing taglib

2001-01-24 Thread Ted Husted

I'd try opening the TLD file with a text editor, to be sure everything
is as you would expect. Or moving that one, and copying a new one over.


Also, I believe that Tomcat requires custom tags to be in packages,
just to be sure you set your example up that way.

-Ted.

*** REPLY SEPARATOR ***

On 1/24/2001 at 9:05 AM Renee Petris wrote: 
I'm trying to run a very simple Hello World example. My jsp contains
only:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>

When I try to open the page, I get the following exception:
org.apache.jasper.JasperException: Unable to open taglibrary
/WEB-INF/struts-bean.tld : Parse Error in the tag library descriptor:
Character conversion error: "Unconvertible UTF-8 character beginning
with 0xb4" (line number may be too low).