RE: EL Configuration problem

2004-04-22 Thread Chanan Braunstein
Hello,
Now, I am really confused. I created a blank webapp with a blank
web-inf that just declares itself to be version 2.4. My test.jsp with the EL
worked.
I went back to my web-app, blanked out the web.xml just like the
test webapp and my EL still does not work. What else can be disabling EL?


Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
 

-Original Message-
From: Shane Linley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 21, 2004 10:42 PM
To: Tomcat Users List
Subject: RE: EL Configuration problem

I had a similar problem which I overcame with lots of reading and some
guesswork. BTW Im using the Sun supplied JSTL... I'm running on Tomcat
5.0.19

In your JSP directives you will need to declare:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

Your web.xml for your web-app declaration will need to reference the correct
version of the J2EE schemas. Here is mine:

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
web-app_2_4.xsd"
 version="2.4">

Of course I wanted to make sure EL was enabled as did you:




  
Property group for common configuration for all the
JSP's
*.jsp
false
false
  



Don't forget to throw in your JSTL jar files, um jstl.jar and standard.jar
from what I remember, into the WEB-INF/lib directory.

Regards,
Shane.


-Original Message-
From: Chanan Braunstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 April 2004 4:11 AM
To: 'Tomcat Users List'
Subject: EL Configuration problem


Hello,
Using Tomcat 5.0.19 I cannot get EL to work in my webapp (It works
fine in jsp-examples). I checked the version of web.xml to make sure it is
2.4 and I added to be safe:

*.jsp
false


But, all I get is the EL text back at me.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EL Configuration problem

2004-04-21 Thread Eric Noel
On 4/22/2004 8:54 AM, Chanan Braunstein wrote:

Well as for the code that is easy, nothing works, for example, I took this
from the examples page:


${header["user-agent"]}


I attached my web.xml, I don't know what else can effect EL. 

Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
Here is a simple config from me
# web.xml

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 web-app_2_4.xsd"
version="2.4">
Test Site
 
Test


#test.jsp
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
${header["user-agent"]}

tested it and went fine



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: EL Configuration problem

2004-04-21 Thread Shane Linley
I had a similar problem which I overcame with lots of reading and some
guesswork. BTW Im using the Sun supplied JSTL... I'm running on Tomcat
5.0.19

In your JSP directives you will need to declare:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

Your web.xml for your web-app declaration will need to reference the correct
version of the J2EE schemas. Here is mine:

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
web-app_2_4.xsd"
 version="2.4">

Of course I wanted to make sure EL was enabled as did you:




  
Property group for common configuration for all the
JSP's
*.jsp
false
false
  



Don't forget to throw in your JSTL jar files, um jstl.jar and standard.jar
from what I remember, into the WEB-INF/lib directory.

Regards,
Shane.


-Original Message-
From: Chanan Braunstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 April 2004 4:11 AM
To: 'Tomcat Users List'
Subject: EL Configuration problem


Hello,
Using Tomcat 5.0.19 I cannot get EL to work in my webapp (It works
fine in jsp-examples). I checked the version of web.xml to make sure it is
2.4 and I added to be safe:

*.jsp
false


But, all I get is the EL text back at me.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: EL Configuration problem

2004-04-21 Thread Chanan Braunstein
Well as for the code that is easy, nothing works, for example, I took this
from the examples page:


${header["user-agent"]}



I attached my web.xml, I don't know what else can effect EL. 


Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
 

-Original Message-
From: Eric Noel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 21, 2004 7:48 PM
To: Tomcat Users List
Subject: Re: EL Configuration problem

On 4/22/2004 4:10 AM, Chanan Braunstein wrote:

> Hello,
>   Using Tomcat 5.0.19 I cannot get EL to work in my webapp (It works 
> fine in jsp-examples). I checked the version of web.xml to make sure 
> it is
> 2.4 and I added to be safe:
>   
>   *.jsp
>   false
>   
> 
> But, all I get is the EL text back at me.
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
ive been developing pure jsp 2.0 without a hitch on tomcat 5.0.19, why dont
you share with us your problem code/conf. which my provide some clues to
those who wanna help.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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";
version="2.4">
	The main knovel site
	
		debugservlet
		com.knovel.website.tags.debug.DebugServlet
	
	
		logfilter
		com.knovel.website.tags.users.LogFilter
	
	
		Compress
		com.knovel.website.servlets.compress.GZIPFilter
  	
	
		Security
		com.knovel.website.tags.users.SecurityFilter
  	
	
		ControlFilter
		com.knovel.website.controller.ControlFilter
			
Book_Details.jsp
com.knovel.website.controller.controllers.BookDetailsControlPage
			
  	
	
		ControlFilter
		*.jsp
	

	
		debugservlet
		/*
	
	
		logfilter
		*.jsp
	

	
		Compress
		*.jsp
  	
  	
		Compress
		*.html
  	
	
		logfilter
		*.jsp
	
	
		Security
		/Show_Table.jsp
  	
	
		Security
		/Show_Row.jsp
  	
	
		Security
		/Show_Rows.jsp
  	
	
		Security
		/Netscape_Show_Table.jsp
  	
	
		Security
		/Netscape_Show_Row.jsp
  	
	
		Security
		/Netscape_Show_Rows.jsp
  	
	
		Security
		/Show_Hotlink.jsp
  	
	
		Security
		/Show_XYGraph_Flash.jsp
  	
	
		Security
		/Show_Equation_Flash.jsp
  	
	
		Security
		/Show_Graph.jsp
  	
	
		Security
		/Show_Graph_Flash.jsp
  	
	
		Security
		/Show_Text.jsp
  		
			
	
		com.knovel.website.tags.users.SessionLogger
	
	
		TableExport
		com.knovel.website.servlets.pdf.TableExport
	
	
		TableExport
		/tableexport
	
	
	invoker
	/servlet/*
	
	
		10
	
	
		default.jsp
	
	
		
			http://www.knovel.com/toc
			/WEB-INF/lib/knovel.tld
		
		
			dt
			/WEB-INF/lib/datetime.tld
		
		
			knovel-utils
			/WEB-INF/lib/util.tld
		
		
			jruntags
			/WEB-INF/lib/jruntags.jar
		
		
http://jsptags.com/tags/navigation/pager
/WEB-INF/lib/pager-taglib.tld
		 
		
			oscache
			/WEB-INF/lib/oscache.tld
		 
		
			*.jsp
			false
		
	
	
		jdbc/knovel
		javax.sql.DataSource
		Container
	
	
		jdbc/users
		javax.sql.DataSource
		Container
	
	
		jdbc/knovel_logs
		javax.sql.DataSource
		Container
	


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: EL Configuration problem

2004-04-21 Thread Eric Noel
On 4/22/2004 4:10 AM, Chanan Braunstein wrote:

Hello,
Using Tomcat 5.0.19 I cannot get EL to work in my webapp (It works
fine in jsp-examples). I checked the version of web.xml to make sure it is
2.4 and I added to be safe:

*.jsp
false

But, all I get is the EL text back at me.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

ive been developing pure jsp 2.0 without a hitch on tomcat 5.0.19, why 
dont you share with us your problem code/conf. which my provide some 
clues to those who wanna help.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]