proper taglib declarations

2004-05-28 Thread Barnett, Brian W.
I've seen two different ways to declare taglibs in jsp files: %@ taglib prefix=fmt uri=http://java.sun.com/jsp/jstl/fmt; % %@ taglib prefix=html uri=/WEB-INF/lib/struts-html-el.tld % What is the difference between referencing http://blah http://blah/ blah and /WEB-INF/blah blah? Are they

RE: *regular* jsp vs. *xml document* jsp question

2004-05-28 Thread Barnett, Brian W.
you can't take advantage of some of the Servlet 2.4/JSP 2.0 features. Actually, this looks like a problem with page validation as opposed to normal JSP vs. JSP document. Can you post the part of the page that's generating the error (including any taglib directives it uses)? Quoting Barnett, Brian W

RE: *regular* jsp vs. *xml document* jsp question

2004-05-27 Thread Barnett, Brian W.
with Servlet 2.3/JSP 1.2 or can you go with Servlet 2.4/JSP 2.0? Quoting Barnett, Brian W. [EMAIL PROTECTED]: Just installed Tomcat 5.0.19 and it is complaining about some stuff in my jsp files. After some reading, I determined it had something to do with regular jsp's vs. xml document jsp's. Does

calling a method in c:if tag

2004-05-27 Thread Barnett, Brian W.
I have a List object as a request scoped variable and I want to call a method on it as the test of a c:if statement. Is this a no no? All the examples I see for c:if use bean objects in the test. I've tried using the List object with a number of different syntaxes, but I get error occurred while

*regular* jsp vs. *xml document* jsp question

2004-05-26 Thread Barnett, Brian W.
Just installed Tomcat 5.0.19 and it is complaining about some stuff in my jsp files. After some reading, I determined it had something to do with regular jsp's vs. xml document jsp's. Does anyone know how to configure Tomcat 5 to see my jsp's as regular jsp's? Or is there something I need to add

outputting html as html

2004-05-18 Thread Barnett, Brian W.
How can I output a string of html as html? If I have a property called myBean.html set to, table border='1'trtdHi there. This is an html bean writing test./td/tr/table how can I output it in the jsp page as html? (i.e., as a table with a border of 1, not a string with angle bracket

RE: outputting html as html

2004-05-18 Thread Barnett, Brian W.
=${myBean.html} escapeXml=false / -Original Message- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 12:35 PM To: '[EMAIL PROTECTED]' Subject: outputting html as html How can I output a string of html as html? If I have a property called

jsp-version is an unexpected element

2004-01-21 Thread Barnett, Brian W.
Having a problem with a simple index.jsp file in Resin. Here is my welcome-file-list: welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list and here is my index.jsp (as per Ted Husted): %@ taglib uri=struts-logic.tld prefix=logic % logic:redirect