Wendy Smoak wrote:
On 8/21/06, maya <[EMAIL PROTECTED]> wrote:

I click on "taglibs" get taken to a page with yet another long list..
http://jakarta.apache.org/site/downloads/downloads_taglibs.html..
what do I download here?  I thought "JSTL" meant all taglibs in one
package..

 From that page you either want Standard 1.0 or Standard 1.1, depending
on what version of JSTL you want to use (which depends on what version
of the Servlet spec you're configuring your webapp for.)

In general,
  Tomcat 5 -> Servlet 2.4 -> JSTL 1.1
  Tomcat 4 -> Servlet 2.3 -> JSTL 1.0

(However, Tomcat 5 can run apps written to earlier versions of the
servlet spec, so check your web.xml to see what version you're
*really* using.)

And no, JSTL isn't "all" the taglibs, it's the "Standard" taglib and
there are lots of other ones, as you can see from that page.  (And
those are only the ones distributed by the Jakarta Taglib project.)

HTH,

yes, that helped, thank you very much... I managed to figure out which one to download here, http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi

followed all instructions in my book (created webapp "jstltest", created web.xml acc. to instructions, put .tld's where they belong, plus the jars (jstl.jar, standard.jar, which I put in tomcat/common/lib (I usu. put all jars in tomcat/common/lib, but in this case put also in jstltest/WEB-INF/lib because am getting error as described below, just in case, but that did not help..).. created test.jsp, as instructed (contains just

<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%>
<c:out value="Congratulations, JSTL is working!"/>
  )

however, when start tomcat, get this error for this webapp:

INFO: Installing web application at context path /jstltest from URL file:C:\tomcat\webapps\jstltest
Aug 21, 2006 9:31:38 PM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching "[xX][mM][lL]" is not allowed. org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
        at org.apache.xerces.impl.XMLScanner.scanPIData(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknow
n Source)
        at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch
(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn

lots more...

pls what does this mean?

don't get this... get this error only for this webapp.. all other webapps working fine.. thank you very much...





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to