standard-1.1.1 expression language not working

2004-09-20 Thread Pedro Salgado
Hi to everyone!

  I have already used taglibs before but I am having some trouble making
jstl core 1.1.1 taglib to evaluate expression languages on Tomcat 5.0.27.

  I have all of the required libraries on WEB-INF/lib/ (jstl, standard,
jdbc_2_0_stdext, xalan and xerces).
  Tomcat does not give any missing taglib handler... so I supposed it finds
all of the necessary classes.
  I am also using Struts and Struts-el taglibs and they are working
correctly.

  Am I missing something?


  my jsp file:


%@ taglib uri=/WEB-INF/tld/struts-html-el.tld prefix=html %
%@ taglib uri=/WEB-INF/tld/struts-logic.tld prefix=logic %
%@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean %
%@ taglib uri=http://java.sun.com/jsp/jstl/fmt; prefix=fmt %
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
%@ taglib uri=/WEB-INF/tld/struts-tiles.tld prefix=tiles %
%@ taglib uri=/WEB-INF/tld/struts-tiles-el.tld prefix=tiles-el %

...

c:set var='a'1/c:setc:out value='${a}'/ (the output is ${a})

...




  my web.xml, taglib declaration:


taglib
taglib-uri/WEB-INF/tld/struts-html.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-html.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-html-el.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-html-el.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-logic.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-logic.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-logic-el.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-logic-el.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-bean.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-bean-el.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-bean-el.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-tiles.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-tiles.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/struts-tiles-el.tld/taglib-uri
taglib-location/WEB-INF/tld/struts-tiles-el.tld/taglib-location
/taglib

taglib
taglib-urihttp://java.sun.com/jsp/jstl/fmt/taglib-uri
taglib-location/WEB-INF/tld/fmt-1.1.1.tld/taglib-location
/taglib

taglib
taglib-urihttp://java.sun.com/jsp/jstl/core/taglib-uri
taglib-location/WEB-INF/tld/c-1.1.1.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/displaytag-el-12.tld/taglib-uri
taglib-location/WEB-INF/tld/displaytag-el-12.tld/taglib-location
/taglib

taglib
taglib-uri/WEB-INF/tld/displaytag-12.tld/taglib-uri
taglib-location/WEB-INF/tld/displaytag-12.tld/taglib-location
/taglib


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



Re: standard-1.1.1 expression language not working

2004-09-20 Thread Mark Page
yawn

web.xml should begin...

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

/yawn

On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
 Hi to everyone!
 
   I have already used taglibs before but I am having some trouble making
 jstl core 1.1.1 taglib to evaluate expression languages on Tomcat 5.0.27.
 
   I have all of the required libraries on WEB-INF/lib/ (jstl, standard,
 jdbc_2_0_stdext, xalan and xerces).
   Tomcat does not give any missing taglib handler... so I supposed it finds
 all of the necessary classes.
   I am also using Struts and Struts-el taglibs and they are working
 correctly.
 
   Am I missing something?
 
 
   my jsp file:
 
 
 %@ taglib uri=/WEB-INF/tld/struts-html-el.tld prefix=html %
 %@ taglib uri=/WEB-INF/tld/struts-logic.tld prefix=logic %
 %@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean %
 %@ taglib uri=http://java.sun.com/jsp/jstl/fmt; prefix=fmt %
 %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
 %@ taglib uri=/WEB-INF/tld/struts-tiles.tld prefix=tiles %
 %@ taglib uri=/WEB-INF/tld/struts-tiles-el.tld prefix=tiles-el %
 
 ...
 
 c:set var='a'1/c:setc:out value='${a}'/ (the output is ${a})
 
 ...
 
 
 
 
   my web.xml, taglib declaration:
 
 
 taglib
 taglib-uri/WEB-INF/tld/struts-html.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-html.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-html-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-html-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-logic.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-logic.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-logic-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-logic-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-bean.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-bean.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-bean-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-bean-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-tiles.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-tiles.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-tiles-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-tiles-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-urihttp://java.sun.com/jsp/jstl/fmt/taglib-uri
 taglib-location/WEB-INF/tld/fmt-1.1.1.tld/taglib-location
 /taglib
 
 taglib
 taglib-urihttp://java.sun.com/jsp/jstl/core/taglib-uri
 taglib-location/WEB-INF/tld/c-1.1.1.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/displaytag-el-12.tld/taglib-uri
 taglib-location/WEB-INF/tld/displaytag-el-12.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/displaytag-12.tld/taglib-uri
 taglib-location/WEB-INF/tld/displaytag-12.tld/taglib-location
 /taglib
 
 
 -
 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: standard-1.1.1 expression language not working

2004-09-20 Thread Karl Coleman
Is this not well-documented? This seems to get asked quite a bit.

Karl


yawn

web.xml should begin...

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

/yawn

On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
 Hi to everyone!
 
   I have already used taglibs before but I am having some trouble making
 jstl core 1.1.1 taglib to evaluate expression languages on Tomcat 5.0.27.
 
   I have all of the required libraries on WEB-INF/lib/ (jstl, standard,
 jdbc_2_0_stdext, xalan and xerces).
   Tomcat does not give any missing taglib handler... so I supposed it finds
 all of the necessary classes.
   I am also using Struts and Struts-el taglibs and they are working
 correctly.
 
   Am I missing something?
 
 
   my jsp file:
 
 
 %@ taglib uri=/WEB-INF/tld/struts-html-el.tld prefix=html %
 %@ taglib uri=/WEB-INF/tld/struts-logic.tld prefix=logic %
 %@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean %
 %@ taglib uri=http://java.sun.com/jsp/jstl/fmt; prefix=fmt %
 %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
 %@ taglib uri=/WEB-INF/tld/struts-tiles.tld prefix=tiles %
 %@ taglib uri=/WEB-INF/tld/struts-tiles-el.tld prefix=tiles-el %
 
 ...
 
 c:set var='a'1/c:setc:out value='${a}'/ (the output is ${a})
 
 ...
 
 
 
 
   my web.xml, taglib declaration:
 
 
 taglib
 taglib-uri/WEB-INF/tld/struts-html.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-html.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-html-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-html-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-logic.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-logic.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-logic-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-logic-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-bean.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-bean.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-bean-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-bean-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-tiles.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-tiles.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-tiles-el.tld/taglib-uri
 taglib-location/WEB-INF/tld/struts-tiles-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-urihttp://java.sun.com/jsp/jstl/fmt/taglib-uri
 taglib-location/WEB-INF/tld/fmt-1.1.1.tld/taglib-location
 /taglib
 
 taglib
 taglib-urihttp://java.sun.com/jsp/jstl/core/taglib-uri
 taglib-location/WEB-INF/tld/c-1.1.1.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/displaytag-el-12.tld/taglib-uri
 taglib-location/WEB-INF/tld/displaytag-el-12.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/displaytag-12.tld/taglib-uri
 taglib-location/WEB-INF/tld/displaytag-12.tld/taglib-location
 /taglib
 
 
 -
 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: standard-1.1.1 expression language not working

2004-09-20 Thread Derek
It's in the specifications, but people tend to not read them.  I
have to admit that before joining a couple of the Jakarta
listservs, I didn't bother reading specs at all.  It's been a
while since I read them, but the JSTL and JSP 2.0 specs are well
worth reading.  Unlike some specifications, they are well
written, easy to understand, and full of useful tidbits.

Another reason why this question comes up a lot is because you
can't simply Google for JSP doesn't work and find an answer. 
At the time, I tried searching on all derivatives of the error
message that I was getting and it didn't return anything of
value.  However, it tends to be the default answer on the
listserv. ;)

Derek


--- Karl Coleman [EMAIL PROTECTED] wrote:

 Is this not well-documented? This seems to get asked quite a
 bit.
 
 Karl
 
 
 yawn
 
 web.xml should begin...
 
 web-app
   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
 web-app_2_4.xsd
   version=2.4
 
 /yawn
 
 On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
  Hi to everyone!
  
I have already used taglibs before but I am having some
 trouble making
  jstl core 1.1.1 taglib to evaluate expression languages on
 Tomcat 5.0.27.
  
I have all of the required libraries on WEB-INF/lib/
 (jstl, standard,
  jdbc_2_0_stdext, xalan and xerces).
Tomcat does not give any missing taglib handler... so I
 supposed it finds
  all of the necessary classes.
I am also using Struts and Struts-el taglibs and they are
 working
  correctly.
  
Am I missing something?
  
  
my jsp file:
  
  
  %@ taglib uri=/WEB-INF/tld/struts-html-el.tld
 prefix=html %
  %@ taglib uri=/WEB-INF/tld/struts-logic.tld
 prefix=logic %
  %@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean
 %
  %@ taglib uri=http://java.sun.com/jsp/jstl/fmt;
 prefix=fmt %
  %@ taglib uri=http://java.sun.com/jsp/jstl/core;
 prefix=c %
  %@ taglib uri=/WEB-INF/tld/struts-tiles.tld
 prefix=tiles %
  %@ taglib uri=/WEB-INF/tld/struts-tiles-el.tld
 prefix=tiles-el %
  
  ...
  
  c:set var='a'1/c:setc:out value='${a}'/ (the output is
 ${a})
  
  ...
  
  
  
  
my web.xml, taglib declaration:
  
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-html.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-html.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-html-el.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-html-el.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-logic.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-logic.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-logic-el.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-logic-el.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-bean.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-bean.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-bean-el.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-bean-el.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-tiles.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-tiles.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/struts-tiles-el.tld/taglib-uri
 

taglib-location/WEB-INF/tld/struts-tiles-el.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-urihttp://java.sun.com/jsp/jstl/fmt/taglib-uri
 
 taglib-location/WEB-INF/tld/fmt-1.1.1.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-urihttp://java.sun.com/jsp/jstl/core/taglib-uri
 
 taglib-location/WEB-INF/tld/c-1.1.1.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/displaytag-el-12.tld/taglib-uri
 

taglib-location/WEB-INF/tld/displaytag-el-12.tld/taglib-location
  /taglib
  
  taglib
 
 taglib-uri/WEB-INF/tld/displaytag-12.tld/taglib-uri
 

taglib-location/WEB-INF/tld/displaytag-12.tld/taglib-location
  /taglib
  
  
 

-
  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]
 
 


=


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



Re: standard-1.1.1 expression language not working

2004-09-20 Thread Pedro Salgado

  Maybe this is a silly question but isnt http://java.sun.com/xml/ns/j2ee
web-app_2_4.xsd lacking a final / before web-app_2_4.xsd?

Pedro Salgado

On 20/9/04 6:15 pm, Karl Coleman [EMAIL PROTECTED]
wrote:

 Is this not well-documented? This seems to get asked quite a bit.
 
 Karl
 
 
 yawn
 
 web.xml should begin...
 
 web-app
 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
 web-app_2_4.xsd
 version=2.4
 
 /yawn
 
 On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:


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



Re: standard-1.1.1 expression language not working

2004-09-20 Thread Mark Page
I stick /web-app at the end.

On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
   Maybe this is a silly question but isnt http://java.sun.com/xml/ns/j2ee
 web-app_2_4.xsd lacking a final / before web-app_2_4.xsd?
 
 Pedro Salgado
 
 On 20/9/04 6:15 pm, Karl Coleman [EMAIL PROTECTED]
 wrote:
 
  Is this not well-documented? This seems to get asked quite a bit.
  
  Karl
  
  
  yawn
  
  web.xml should begin...
  
  web-app
  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
  web-app_2_4.xsd
  version=2.4
  
  /yawn
  
  On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
 
 
 -
 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: standard-1.1.1 expression language not working

2004-09-20 Thread Mark Page
i.e. after all my servlet..., taglib etc. tags.

On Mon, 2004-09-20 at 18:31, Mark Page wrote:
 I stick /web-app at the end.
 
 On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
Maybe this is a silly question but isnt http://java.sun.com/xml/ns/j2ee
  web-app_2_4.xsd lacking a final / before web-app_2_4.xsd?
  
  Pedro Salgado
  
  On 20/9/04 6:15 pm, Karl Coleman [EMAIL PROTECTED]
  wrote:
  
   Is this not well-documented? This seems to get asked quite a bit.
   
   Karl
   
   
   yawn
   
   web.xml should begin...
   
   web-app
   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
   web-app_2_4.xsd
   version=2.4
   
   /yawn
   
   On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
  
  
  -
  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]



VoiceXML RDC with return element

2004-09-20 Thread Soonthorn A

Hi,

Does anyone has an example that generate RDC with return element? 

I just learn about jsp taglib today and looked at RDC's tag lib files and config 
files. I couldn't find anything relate to return.  Is VoiceXML's return element in 
your current model? 

Basically, what I tried to do is to create a RDC that can be used in subdialog. 

Thanks,


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: standard-1.1.1 expression language not working

2004-09-20 Thread Pedro Salgado

   What I meant was before web-app_2_4.xsd on xsi: schemaLocation there is
a white space character. shouldn't it be a /?

  If you use a browser and put

  http://java.sun.com/xml/ns/j2ee%20web-app_2_4.xsd - http 404
  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd - downloads the xsd file

  I also found this white space character on all tag-1.1.1.tld files.

---

web-app/web-app fortunately I already knew that :)

Pedro Salgado

On 20/9/04 6:37 pm, Mark Page [EMAIL PROTECTED] wrote:

 i.e. after all my servlet..., taglib etc. tags.
 
 On Mon, 2004-09-20 at 18:31, Mark Page wrote:
 I stick /web-app at the end.
 
 On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
   Maybe this is a silly question but isnt http://java.sun.com/xml/ns/j2ee
 web-app_2_4.xsd lacking a final / before web-app_2_4.xsd?
 
 Pedro Salgado
 
 On 20/9/04 6:15 pm, Karl Coleman [EMAIL PROTECTED]
 wrote:
 
 Is this not well-documented? This seems to get asked quite a bit.
 
 Karl
 
 
 yawn
 
 web.xml should begin...
 
 web-app
 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
 web-app_2_4.xsd
 version=2.4
 
 /yawn
 
 On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
 
 
 -
 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]


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



RE: standard-1.1.1 expression language not working

2004-09-20 Thread Johnson, Chris
It should be a whitespace, try it. (in an app, not from a browser)

-Original Message-
From: Pedro Salgado [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 12:53 PM
To: Tag Libraries Users List
Subject: Re: standard-1.1.1 expression language not working



   What I meant was before web-app_2_4.xsd on xsi: schemaLocation
there is a white space character. shouldn't it be a /?

  If you use a browser and put

  http://java.sun.com/xml/ns/j2ee%20web-app_2_4.xsd - http 404
  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd - downloads the xsd
file

  I also found this white space character on all tag-1.1.1.tld files.

---

web-app/web-app fortunately I already knew that :)

Pedro Salgado

On 20/9/04 6:37 pm, Mark Page [EMAIL PROTECTED] wrote:

 i.e. after all my servlet..., taglib etc. tags.
 
 On Mon, 2004-09-20 at 18:31, Mark Page wrote:
 I stick /web-app at the end.
 
 On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
   Maybe this is a silly question but isnt 
 http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd lacking a final / 
 before web-app_2_4.xsd?
 
 Pedro Salgado
 
 On 20/9/04 6:15 pm, Karl Coleman 
 [EMAIL PROTECTED]
 wrote:
 
 Is this not well-documented? This seems to get asked quite a bit.
 
 Karl
 
 
 yawn
 
 web.xml should begin...
 
 web-app
 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
 web-app_2_4.xsd
 version=2.4
 
 /yawn
 
 On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
 
 
 
 -
 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]


-
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: standard-1.1.1 expression language not working

2004-09-20 Thread Mark Page
Oh yeah, I see what you mean now! It is a typo (which seems to be in all
my web.xml files :) Thanks for the spot.

On Mon, 2004-09-20 at 18:53, Pedro Salgado wrote:
What I meant was before web-app_2_4.xsd on xsi: schemaLocation there is
 a white space character. shouldn't it be a /?
 
   If you use a browser and put
 
   http://java.sun.com/xml/ns/j2ee%20web-app_2_4.xsd - http 404
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd - downloads the xsd file
 
   I also found this white space character on all tag-1.1.1.tld files.
 
 ---
 
 web-app/web-app fortunately I already knew that :)
 
 Pedro Salgado
 
 On 20/9/04 6:37 pm, Mark Page [EMAIL PROTECTED] wrote:
 
  i.e. after all my servlet..., taglib etc. tags.
  
  On Mon, 2004-09-20 at 18:31, Mark Page wrote:
  I stick /web-app at the end.
  
  On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
Maybe this is a silly question but isnt http://java.sun.com/xml/ns/j2ee
  web-app_2_4.xsd lacking a final / before web-app_2_4.xsd?
  
  Pedro Salgado
  
  On 20/9/04 6:15 pm, Karl Coleman [EMAIL PROTECTED]
  wrote:
  
  Is this not well-documented? This seems to get asked quite a bit.
  
  Karl
  
  
  yawn
  
  web.xml should begin...
  
  web-app
  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
  web-app_2_4.xsd
  version=2.4
  
  /yawn
  
  On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
  
  
  -
  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]
 
 
 -
 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: standard-1.1.1 expression language not working

2004-09-20 Thread Mark Page
Chris, what happens if you have a / will it still work?

On Mon, 2004-09-20 at 18:55, Johnson, Chris wrote:
 It should be a whitespace, try it. (in an app, not from a browser)
 
 -Original Message-
 From: Pedro Salgado [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 20, 2004 12:53 PM
 To: Tag Libraries Users List
 Subject: Re: standard-1.1.1 expression language not working
 
 
 
What I meant was before web-app_2_4.xsd on xsi: schemaLocation
 there is a white space character. shouldn't it be a /?
 
   If you use a browser and put
 
   http://java.sun.com/xml/ns/j2ee%20web-app_2_4.xsd - http 404
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd - downloads the xsd
 file
 
   I also found this white space character on all tag-1.1.1.tld files.
 
 ---
 
 web-app/web-app fortunately I already knew that :)
 
 Pedro Salgado
 
 On 20/9/04 6:37 pm, Mark Page [EMAIL PROTECTED] wrote:
 
  i.e. after all my servlet..., taglib etc. tags.
  
  On Mon, 2004-09-20 at 18:31, Mark Page wrote:
  I stick /web-app at the end.
  
  On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
Maybe this is a silly question but isnt 
  http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd lacking a final / 
  before web-app_2_4.xsd?
  
  Pedro Salgado
  
  On 20/9/04 6:15 pm, Karl Coleman 
  [EMAIL PROTECTED]
  wrote:
  
  Is this not well-documented? This seems to get asked quite a bit.
  
  Karl
  
  
  yawn
  
  web.xml should begin...
  
  web-app
  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
  web-app_2_4.xsd
  version=2.4
  
  /yawn
  
  On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
  
  
  
  -
  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]
 
 
 -
 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: standard-1.1.1 expression language not working

2004-09-20 Thread Johnson, Chris
The xsi:schemaLocation attribute accepts namespace/schema pairs (space
delimited), hence the space.  But in trying it with a '/' instead, it
seems to work fine.

-Original Message-
From: Mark Page [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 1:00 PM
To: Tag Libraries Users List
Subject: RE: standard-1.1.1 expression language not working


Chris, what happens if you have a / will it still work?

On Mon, 2004-09-20 at 18:55, Johnson, Chris wrote:
 It should be a whitespace, try it. (in an app, not from a browser)
 
 -Original Message-
 From: Pedro Salgado [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 20, 2004 12:53 PM
 To: Tag Libraries Users List
 Subject: Re: standard-1.1.1 expression language not working
 
 
 
What I meant was before web-app_2_4.xsd on xsi: schemaLocation 
 there is a white space character. shouldn't it be a /?
 
   If you use a browser and put
 
   http://java.sun.com/xml/ns/j2ee%20web-app_2_4.xsd - http 404
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd - downloads the xsd

 file
 
   I also found this white space character on all tag-1.1.1.tld 
 files.
 
 ---
 
 web-app/web-app fortunately I already knew that :)
 
 Pedro Salgado
 
 On 20/9/04 6:37 pm, Mark Page [EMAIL PROTECTED] wrote:
 
  i.e. after all my servlet..., taglib etc. tags.
  
  On Mon, 2004-09-20 at 18:31, Mark Page wrote:
  I stick /web-app at the end.
  
  On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
Maybe this is a silly question but isnt
  http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd lacking a final / 
  before web-app_2_4.xsd?
  
  Pedro Salgado
  
  On 20/9/04 6:15 pm, Karl Coleman
  [EMAIL PROTECTED]
  wrote:
  
  Is this not well-documented? This seems to get asked quite a bit.
  
  Karl
  
  
  yawn
  
  web.xml should begin...
  
  web-app
  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
  web-app_2_4.xsd
  version=2.4
  
  /yawn
  
  On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
  
  
  --
  --
  -
  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]
 
 
 -
 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]


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



Re: standard-1.1.1 expression language not working

2004-09-20 Thread Pedro Salgado

  I have found this version on a thread answer :

?xml version=1.0 encoding=ISO-8859-1?
web-app 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;
version=2.4

  My IDE likes it better than the other one :)

  In order to enable EL I still need to put this

jsp-property-group
url-pattern*.jsp/url-pattern
el-ignoredfalse/el-ignored
scripting-invalidfalse/scripting-invalid
/jsp-property-group

  somewhere in my web.xml. I also validated the web.xml and it also seems
that the taglib declaration has also changed.

  Does anyone know where I can find an web.xml example that enables EL and
has some tld declarations?

  I already searched the Tomcat documentation and severall forums... but
only got the above code, not the whole xml file.

Pedro Salgado



On 20/9/04 7:13 pm, Johnson, Chris [EMAIL PROTECTED] wrote:

 The xsi:schemaLocation attribute accepts namespace/schema pairs (space
 delimited), hence the space.  But in trying it with a '/' instead, it
 seems to work fine.
 
 -Original Message-
 From: Mark Page [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 20, 2004 1:00 PM
 To: Tag Libraries Users List
 Subject: RE: standard-1.1.1 expression language not working
 
 
 Chris, what happens if you have a / will it still work?
 
 On Mon, 2004-09-20 at 18:55, Johnson, Chris wrote:
 It should be a whitespace, try it. (in an app, not from a browser)
 
 -Original Message-
 From: Pedro Salgado [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 20, 2004 12:53 PM
 To: Tag Libraries Users List
 Subject: Re: standard-1.1.1 expression language not working
 
 
 
What I meant was before web-app_2_4.xsd on xsi: schemaLocation
 there is a white space character. shouldn't it be a /?
 
   If you use a browser and put
 
   http://java.sun.com/xml/ns/j2ee%20web-app_2_4.xsd - http 404
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd - downloads the xsd
 
 file
 
   I also found this white space character on all tag-1.1.1.tld
 files.
 
 ---
 
 web-app/web-app fortunately I already knew that :)
 
 Pedro Salgado
 
 On 20/9/04 6:37 pm, Mark Page [EMAIL PROTECTED] wrote:
 
 i.e. after all my servlet..., taglib etc. tags.
 
 On Mon, 2004-09-20 at 18:31, Mark Page wrote:
 I stick /web-app at the end.
 
 On Mon, 2004-09-20 at 18:26, Pedro Salgado wrote:
   Maybe this is a silly question but isnt
 http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd lacking a final /
 before web-app_2_4.xsd?
 
 Pedro Salgado
 
 On 20/9/04 6:15 pm, Karl Coleman
 [EMAIL PROTECTED]
 wrote:
 
 Is this not well-documented? This seems to get asked quite a bit.
 
 Karl
 
 
 yawn
 
 web.xml should begin...
 
 web-app
 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
 web-app_2_4.xsd
 version=2.4
 
 /yawn
 
 On Mon, 2004-09-20 at 18:07, Pedro Salgado wrote:
 
 
 --
 --
 -
 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]
 
 
 -
 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]
 
 
 -
 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: standard-1.1.1 expression language not working

2004-09-20 Thread Karr, David
Other replies indicated your problem with the web.xml and JSP page.
Another point is that you don't use Struts-EL with JSP 2.0.

 -Original Message-
 From: Pedro Salgado [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 20, 2004 10:07 AM
 To: [EMAIL PROTECTED]
 Subject: standard-1.1.1 expression language not working
 
 
 Hi to everyone!
 
   I have already used taglibs before but I am having some 
 trouble making jstl core 1.1.1 taglib to evaluate expression 
 languages on Tomcat 5.0.27.
 
   I have all of the required libraries on WEB-INF/lib/ (jstl, 
 standard, jdbc_2_0_stdext, xalan and xerces).
   Tomcat does not give any missing taglib handler... so I 
 supposed it finds all of the necessary classes.
   I am also using Struts and Struts-el taglibs and they are 
 working correctly.
 
   Am I missing something?
 
 
   my jsp file:
 
 
 %@ taglib uri=/WEB-INF/tld/struts-html-el.tld 
 prefix=html % %@ taglib 
 uri=/WEB-INF/tld/struts-logic.tld prefix=logic % %@ 
 taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean % 
 %@ taglib uri=http://java.sun.com/jsp/jstl/fmt; 
 prefix=fmt % %@ taglib 
 uri=http://java.sun.com/jsp/jstl/core; prefix=c % %@ 
 taglib uri=/WEB-INF/tld/struts-tiles.tld prefix=tiles % 
 %@ taglib uri=/WEB-INF/tld/struts-tiles-el.tld prefix=tiles-el %
 
 ...
 
 c:set var='a'1/c:setc:out value='${a}'/ (the output is ${a})
 
 ...
 
 
 
 
   my web.xml, taglib declaration:
 
 
 taglib
 taglib-uri/WEB-INF/tld/struts-html.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-html.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-html-el.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-html-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-logic.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-logic.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-logic-el.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-logic-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-bean.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-bean.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-bean-el.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-bean-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-tiles.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-tiles.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/struts-tiles-el.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/struts-tiles-el.tld/taglib-location
 /taglib
 
 taglib
 taglib-urihttp://java.sun.com/jsp/jstl/fmt/taglib-uri
 taglib-location/WEB-INF/tld/fmt-1.1.1.tld/taglib-location
 /taglib
 
 taglib
 taglib-urihttp://java.sun.com/jsp/jstl/core/taglib-uri
 taglib-location/WEB-INF/tld/c-1.1.1.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/displaytag-el-12.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/displaytag-el-12.tld/taglib-location
 /taglib
 
 taglib
 taglib-uri/WEB-INF/tld/displaytag-12.tld/taglib-uri
 
 taglib-location/WEB-INF/tld/displaytag-12.tld/taglib-location
 /taglib
 
 
 -
 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: VoiceXML RDC with return element

2004-09-20 Thread Rahul P Akolkar
I don't understand what you mean by generate RDC with return element. 
A RDC can be used in any VoiceXML form, and whether that form is 
referenced as a subdialog elsewhere does not change the RDC behavior (and 
hence, you shouldn't have to create a RDC that can be used in 
subdialog).

The underlying principle that might help here is the fact that whenever a 
RDC completes execution (and hence, has a value that is legal within the 
constraints set via the tag attributes) its value appears as a PageContext 
variable with the same name as the ID of the RDC. As an example, here is a 
parent VXML page (which might as well be a JSP page):

?xml version=1.0 encoding=UTF-8 ? 
vxml  version=2.0 xml:lang=en-US  xmlns=http://www.w3.org/2001/vxml; 

form
subdialog name=subdia src=test.jsp#return_example
filled
promptValue is value 
expr=subdia.dateReturned //prompt
/filled
/subdialog
/form
/vxml

Where test.jsp is like so (Grab date-test.jsp from the examples in the 
distribution and replace the form element with the following):

  form id=return_example 
rdc:date id=myDate minDate=01012004 maxDate=01012005
  confirm=true echo=true /

c:if test=${!(empty myDate)}
block
var name=dateReturned expr='${myDate}' /
return namelist=dateReturned /
/block
/c:if
  /form

Note that you are doing nothing special because the RDC is within a form 
referenced as a subdialog.

-Rahul



Soonthorn A wrote:

 Hi,

 Does anyone has an example that generate RDC with return element? 

 I just learn about jsp taglib today and looked at RDC's tag lib files 
and config files. I couldn't find anything relate to return.  Is
 VoiceXML's return element in your current model? 

 Basically, what I tried to do is to create a RDC that can be used in 
subdialog. 

 Thanks,