RE: JSTL startup question

Kevin Passey <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <E1D080F6CCBBD911821B0090276DCBE905EDEE@dilbert>
Ha - I'm also using Websphere application developer and it does not
recognise the version attribute.

Maybe that's my problem - it is v5.1.0

Do you use and IDE - and would you recomend one?

Regards

Kevin

-----Original Message-----
From: Bob Arnott [mailto:[email protected]]
Sent: 29 March 2006 14:16
To: Tag Libraries Users List
Subject: Re: JSTL startup question


Kevin Passey wrote:
> Well I am new to this so bear with me.
> 
> I am using Tomcat5.0.28 and jdk1.5.xx so can I assume that it would be
2.4.
> 
> What's confusing me is that I have written a test page without the /jsp/
and
> it works - with the /jsp/ it literally prints the variables to the screen.
> 
> The tld in the tld directory in the distribution has /jsp/ in the url.

Make sure you web.xml has the following for the <web-app> tag:

<web-app version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

Also, don't put any tag library defines in the web.xml... Other than
that, it's always worked for me...

Cheers,

-- 
Bob Arnott


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.