CE 2 beta JSP taglib support

John,

from your explanation I guess that this may be related to a bug in the

Tomcat server, which is the server that Forte 2 uses to compile JSPs.

The bug was that in order to compile JSPs which use tag libraries, you have

to create a valid WEB-INF/web.xml file in your web application, as specified

by the servlet 2.2 specification. So have to create this file. Feel free to

contact me if you have any problems with this.

I hope this fixes your problem. If not, it would be helpful if you could

send your page and the error in output window which you get.

The second beta of CE2 will fix this limitation.

Petr

> --Original Message--

> From: John Pywtorak [mailto:jpywtorak@truelink.com]

> Sent: Thursday, August 31, 2000 6:53 AM

> To: nbusers@netbeans.org

> Subject: CE 2 beta JSP taglib support

>

>

> Can someone help me with the tag library support in the beta

> Forte CE 2 version from the early access program?

>

> When I compile using my own taglib it cannot find the .tld

> file, which is an XML file definning the custom tags.

> Basically it breaks on the uri attribute of the jsp taglib

> directive. Funny thing is it worked once when I added a

> foward slash to the beginning of the uri, but after a reboot

> it stopped compiling.

>

> Thanks

>

>

> To unsubscribe, e-mail: www-nbusers-unsubscribe@netbeans.org

> For additional commands, e-mail: www-nbusers-help@netbeans.org

>

To unsubscribe, e-mail: www-nbusers-unsubscribe@netbeans.org

For additional commands, e-mail: www-nbusers-help@netbeans.org

[1830 byte] By [Jiricka,Petr] at [2007-11-25 16:47:32]
# 1

That seems to have fixed it. I added a valid web.xml to the WEB-INF folder I had created in the root of my project. It is strange that it gives an error that it cannot find the .tld file though. I guess it needs to look at the uri element in web.xml for a reference so that blows it up.

Thanks

> Petr Jiricka wrote:

> John,

>

> from your explanation I guess that this may be related to a bug in the

> Tomcat server, which is the server that Forte 2 uses to compile JSPs.

>

> The bug was that in order to compile JSPs which use tag libraries,

> you have

> to create a valid WEB-INF/web.xml file in your web application, as

> specified

> by the servlet 2.2 specification. So have to create this file. Feel

> free to

> contact me if you have any problems with this.

>

> I hope this fixes your problem. If not, it would be helpful if you

> could

> send your page and the error in output window which you get.

>

> The second beta of CE2 will fix this limitation.

>

> Petr

>

> > --Original Message--

> > From: John Pywtorak [mailto:jpywtorak@truelink.com]

> > Sent: Thursday, August 31, 2000 6:53 AM

> > To: nbusers@netbeans.org

> > Subject: CE 2 beta JSP taglib support

> >

> >

> > Can someone help me with the tag library support in the beta

> > Forte CE 2 version from the early access program?

> >

> > When I compile using my own taglib it cannot find the .tld

> > file, which is an XML file definning the custom tags.

> > Basically it breaks on the uri attribute of the jsp taglib

> > directive. Funny thing is it worked once when I added a

> > foward slash to the beginning of the uri, but after a reboot

> > it stopped compiling.

> >

> > Thanks

> >

> >

>

> > To unsubscribe, e-mail: www-nbusers-unsubscribe@netbeans.org

> > For additional commands, e-mail: www-nbusers-help@netbeans.org

> >

>

>

> To unsubscribe, e-mail: www-nbusers-unsubscribe@netbeans.org

> For additional commands, e-mail: www-nbusers-help@netbeans.org

>

Pywtorak,John at 2007-7-2 23:27:35 > top of Java-index,Archived Forums,Sun ONE Studio 4...