Re: JSTL browser-based locale determination

2004-02-20 Thread rick
I agree about the plausability, but JSTL does freeze the charset (which is a little less likely to change). JSTL could also save the Accept-Language header that it used to come up with the browser locale, and if it changes reset the locale stored in the session. I imagine recalculating the

Re: JSTL browser-based locale determination

2004-02-20 Thread Vernon Wu
This shall help you out. javax.servlet.jsp.jstl.core.Config The following two methods: set(session, Config.FMT_LOCALE, ...); get(session, Config.FMT_LOCALE) -- - Original Message - DATE: From: [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Cc: I agree

Re: JSTL 1.0 and resin

2004-02-18 Thread Eric W Hauser
In the the resin.conf file, you need to specify: caucho.com http-server jsp fast-jstl='false'/ /http-server /caucho.com If you are just using the core and fmt tag libraries, I would just recommend using Resin's internal JSTL implementation. I've been using it on production applications

Re: Re: JSTL 1.0 and resin

2004-02-18 Thread johnborg
PM 04:14:42 EST To: Tag Libraries Users List [EMAIL PROTECTED] Subject: Re: JSTL 1.0 and resin In the the resin.conf file, you need to specify: caucho.com http-server jsp fast-jstl='false'/ /http-server /caucho.com If you are just using the core and fmt tag libraries, I would just

Re: JSTL: POST vs GET

2004-02-07 Thread Evgeny Gesin
Hans, I spent some time to integrate TC5 with Apache and finally run TC5 with useBodyEncodingForURI=true and URIEncoding=UTF-8 parameters in server.xml. FORM ACTION=anAction METHOD=GET works now, so that bug is fixed in new release. TC5 currently has other bags (I posted just 2 in this list), so I

Re: JSTL: POST vs GET

2004-02-07 Thread Evgeny Gesin
(I posted just 2 in this list) Opps, I posted these bugs in Tomcat list, not here, but I think you might be interested, at least one can be relative to JSTL setLocale, see below I tryed today current release TC5 and seen errors: 1. I have the following lines which run under 4.1.29 but not in

Re: JSTL: POST vs GET

2004-02-07 Thread Martin Cooper
On Fri, 6 Feb 2004, Evgeny Gesin wrote: Hi, I will provide a little more information, may be that will be important. 1. I use an in-house developed Tiles, similar to Struts, so each page is make up of of dinamically included pages, for example, header, content and footer JSPs. 2. I use

Re: JSTL: POST vs GET

2004-02-06 Thread Kris Schneider
Can you post a little more detail on what you mean by adding JSTL? Which tags are you using? Quoting Evgeny Gesin [EMAIL PROTECTED]: After adding JSTL to UTF-8 encoded JSP pages all form data sent via GET are gibberish. The POST does work. What can be the problem? Evgeny /Javadesk/ --

Re: JSTL: POST vs GET

2004-02-06 Thread Evgeny Gesin
Hi, I will provide a little more information, may be that will be important. 1. I use an in-house developed Tiles, similar to Struts, so each page is make up of of dinamically included pages, for example, header, content and footer JSPs. 2. I use only i18n from JSTL package, so web.xml have a

Re: JSTL: POST vs GET

2004-02-06 Thread Hans Bergsten
Evgeny Gesin wrote: Hi, I will provide a little more information, may be that will be important. 1. I use an in-house developed Tiles, similar to Struts, so each page is make up of of dinamically included pages, for example, header, content and footer JSPs. 2. I use only i18n from JSTL package, so

Re: jstl 1.0

2004-02-04 Thread Kris Schneider
If you don't need the XML-related tags, just grab jstl.jar and standard.jar. Otherwise, add jaxen-full.jar and saxpath.jar. The other JAR files (or their equivalents) are usually provided by your container and/or JVM. Quoting Chris Daly [EMAIL PROTECTED]: hi i've just downlaoded the above

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-18 Thread Patrick Burleson
[EMAIL PROTECTED] wrote: Actually, that is not true. According to the Resin 2.1.12 docs: --- servlet-classloader-hack Enables the Servlet specification classloader hack. The Servlet 2.3 classloader order violates the JDK classloader specification. By default, therefore, Resin follows the JDK

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-16 Thread Serge Knystautas
[EMAIL PROTECTED] wrote: Actually, that is not true. According to the Resin 2.1.12 docs: --- servlet-classloader-hack Enables the Servlet specification classloader hack. The Servlet 2.3 classloader order violates the JDK classloader specification. By default, therefore, Resin follows the JDK

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Kris Schneider
I don't use Resin, but I know it has an integrated JSTL implementation. Have you disabled Resin's impl? Quoting Dennis Warren [EMAIL PROTECTED]: Has anyone been able to get Resin 2.1.11 to work with JDK1.4.2 using the apache JSTL libraries 1.04? I'm having some class problems with the

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Dennis Warren
yes, there's a tag to disable that in Resin 2.1 but it doesn't seem to resolve my problem. caucho.com http-server jsp fast-jstl='false'/ ... /http-server /caucho.com I keep getting the error message below. DocumentRange.class is supposed to be xalan.jar which is contained in WEB-INF/lib of

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Hans Bergsten
Dennis Warren wrote: yes, there's a tag to disable that in Resin 2.1 but it doesn't seem to resolve my problem. caucho.com http-server jsp fast-jstl='false'/ ... /http-server /caucho.com I keep getting the error message below. DocumentRange.class is supposed to be xalan.jar which is

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Kris Schneider
Does this still apply: http-server servlet-classloader-hacktrue/servlet-classloader-hack /http-server Quoting Hans Bergsten [EMAIL PROTECTED]: Dennis Warren wrote: yes, there's a tag to disable that in Resin 2.1 but it doesn't seem to resolve my problem. caucho.com http-server

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Dennis Warren
This was going to be my last resort. I think I might have to give it a try because I'm having absolutely no luck. I've tried to put classes on the classpath, put classes in the jdk extension directory, and defining them in resin.conf. I'll have to see how this turns out. Thanks for all the

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Eric W Hauser
Resin won't load from the webapp/lib directory unless you turn on the classloader hack. I've been using the following method of defining jars specific to a webapp with a lot of success (in web.xml): classpath id=/path/to/jarfile.jar / Also if you to add a whole directory: classpath

Re: JSTL with Resin 2.1.11 and JDK1.4.2

2004-01-15 Thread Serge Knystautas
Yes it is part of the servlet spec, and it's a violation of the Java language spec. Resin has the classloader hack set to true by default, so you get the same behavior as you would expect in Tomcat or other servlet containers. -- Serge Knystautas President Lokitech software . strategy .

RE: jstl xpath

2004-01-13 Thread Tridev Kodamasingh
dependancies on third party libraries ? and they don't specify these dependecies in their site. Tridev -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 6:32 PM To: Tag Libraries Users List Subject: Re: jstl xpath Pretty the Jakarta Standard

RE: jstl xpath

2004-01-13 Thread Kris Schneider
come Apache has so much dependancies on third party libraries ? and they don't specify these dependecies in their site. Tridev -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 6:32 PM To: Tag Libraries Users List Subject: Re: jstl

RE: jstl xpath

2004-01-13 Thread Tridev Kodamasingh
PM To: Tag Libraries Users List Subject: RE: jstl xpath I'm not sure what you mean by, ...they don't specify these dependecies in their site. All the required JAR files are included in the distribution of the tag library. There's also this document: http://jakarta.apache.org/taglibs/doc/standard

Re: jstl xpath

2004-01-12 Thread Brice Ruth
I believe JSTL uses the JDK standard, which is Xerces/Xalan, which is an Apache Jakarta standard project. Checkout xml.apache.org for more info. Brice Tridev Kodamasingh wrote: Hi All, Can anybody tell me, for xml parsing/navigating, what XPath engine sun/JSTL uses ?? Where I can get the

Re: jstl xpath

2004-01-12 Thread Kris Schneider
Pretty the Jakarta Standard taglib, a JSTL implementation, uses Jaxen for its XPath engine. All the JAR files you need are distributed with the taglib: jaxen-full.jar jstl.jar saxpath.jar standard.jar Not sure where dom4j came from. Of course, there's nothing that really prevents another JSTL

Re: jstl xpath

2004-01-12 Thread Kris Schneider
Quoting Kris Schneider [EMAIL PROTECTED]: Pretty the Jakarta Standard taglib, a JSTL implementation, uses Jaxen for ^sure its XPath engine. All the JAR files you need are distributed with the taglib: jaxen-full.jar jstl.jar saxpath.jar standard.jar Not sure where dom4j came

Re: JSTL 1.1 - 1.0

2003-12-12 Thread Manolo Ramirez T.
Maybe the El evaluation is disabled by Tomcat, this happens with old versions of the web.xml file. Make sure that your web.xml file is according to the servlet 2.4 specification. Regards, _ Manolo Ramirez T. Ernst Plüss wrote: Hi all I'm using Apache Tomcat/5.0.16. As a JSTL

Re: jstl transform question

2003-12-08 Thread Martin van Dijken
Never tried that, but if I'm not mistaken XSL has a mechanism built-in to retrieve parameters passed from anywhere when the stylesheet is loaded. Check out the http://www.w3schools.com xsl tutorial and reference for more info. Martin wrote: when i write the code below: x:transform

Re: jstl transform question

2003-12-08 Thread matsuhashi
when i write the code below: x:transform xml=${xml} xslt=${xslt} x:param name=gg value=0/ /x:transform my question is what the param useage here,how can i get the param in xsl file? A XSLT which accepts a param named gg and displays the param's value would look something like this:

Re: jstl transform question

2003-12-08 Thread
--- [EMAIL PROTECTED] when i write the code below: x:transform xml=${xml} xslt=${xslt} x:param name=gg value=0/ /x:transform my question is what the param useage here,how can i get the param in xsl file? A XSLT which accepts a param named gg and displays the param's value would

Re: JSTL XML Parsing

2003-12-05 Thread Martin van Dijken
Hey Vinela, Please post the relevant part of your JSP and XML. I'm not 100% sure, but it looks like there's no XML parser in your web application. Or that it has some errors. Tomcat 4.1 definitely bundles it along, but it might be that that wasn't the case yet with 4.0. Either try 4.1 or put

Re: JSTL XML Parsing

2003-12-05 Thread Vinela pothineni
Hi, I am using JBuilder9 and I just included the JSTL tag library.This is the JSP I am using %@ taglib prefix=x uri=http://java.sun.com/jstl/xml; % html head titleJSTL: XML Support -- Parse / Out/title /head body bgcolor=#FF h3Parse / Out/h3 x:parse var=a a b c foo /c

Re: JSTL XML Parsing

2003-12-05 Thread Martin van Dijken
Hey Vinela, Little rusty on my XPath, so except for the $a//c I'm certain your JSP is correct. Try downloading and installing Tomcat standalone and deploying your web application to that. This might be a JBuilder issue. Martin Vinela pothineni wrote: Hi, I am using JBuilder9 and I just

Re: JSTL XML Parsing

2003-12-05 Thread Kris Schneider
From the original post, this: cause java.lang.NoClassDefFoundError: org/jaxen/NamespaceContext seems to indicate you haven't got all the classes you need. Make sure you've got the following in WEB-INF/lib (from the Standard taglib dist): jaxen-full.jar jstl.jar saxpath.jar standard.jar Quoting

Re: JSTL and LDAP

2003-12-03 Thread Mark R. Diggory
You can use the Realm of the Tomcat server to authenticate users and match them to roles (basically Groups stored in the ldap server). If you do this then you don't really need to use taglibs to manage the login. You just have to configure your web.xml with a login-config and the server.xml

RE: JSTL and LDAP

2003-12-03 Thread Dylan MacDonald
, December 03, 2003 5:22 PM To: Tag Libraries Users List Subject: Re: JSTL and LDAP You can use the Realm of the Tomcat server to authenticate users and match them to roles (basically Groups stored in the ldap server). If you do this then you don't really need to use taglibs to manage the login. You

Re: JSTL (fmt multiple bundles get locale, c forTokens last token)

2003-11-11 Thread Kris Schneider
Quoting Harod Ruthgar [EMAIL PROTECTED]: Hello, I have several questions regarding JSTL: 1) When using fmt tag, how to use multiple bundles on the same page? I tried: fmt:setBundle basename=bundle1 var=myBundle1/ fmt:setBundle basename=bundle2 var=myBundle2/ fmt:message key=text1

Re: JSTL (fmt multiple bundles get locale, c forTokens last token)

2003-11-11 Thread Kris Schneider
Okay, so after taking a second look at the code snippet for #3, forget about it. Not only won't it compile as given, but it'll probably receive a String instead of a LocalizationContext from Config.find. Sorry 'bout that... Quoting Kris Schneider [EMAIL PROTECTED]: Quoting Harod Ruthgar [EMAIL

Re: JSTL (fmt multiple bundles get locale, c forTokens last token)

2003-11-11 Thread Harod Ruthgar
--- Kris Schneider [EMAIL PROTECTED] wrote: What happens with: fmt:bundle basename=bundle1 fmt:message key=text1/ /fmt:bundle fmt:bundle basename=bundle2 fmt:message key=text2/ /fmt:bundle That's my workaround as well, but it's just annoying having to wrap fmt:bundle for each

Re: JSTL (fmt multiple bundles get locale, c forTokens last token)

2003-11-11 Thread Hans Bergsten
Harod Ruthgar wrote: --- Kris Schneider [EMAIL PROTECTED] wrote: What happens with: fmt:bundle basename=bundle1 fmt:message key=text1/ /fmt:bundle fmt:bundle basename=bundle2 fmt:message key=text2/ /fmt:bundle That's my workaround as well, but it's just annoying having to wrap fmt:bundle for

Re: Jstl i18n not working

2003-11-10 Thread SThongvanh
I've only seen that when struts can't find the resource file or the key... Savan Thongvanh Berkley Technology Services 515.278.7725

Re: Jstl i18n not working

2003-11-10 Thread Kris Schneider
Nothing to do with Struts. From the JSTL spec for fmt:message: If the i18n localization context that this action determines does not have any resource bundle, an error message of the form ???key??? is produced. Try this: context-param

RE: Jstl i18n not working

2003-11-10 Thread Yansheng Lin
: Re: Jstl i18n not working I've only seen that when struts can't find the resource file or the key... Savan Thongvanh Berkley Technology Services 515.278.7725 Yansheng Lin [EMAIL PROTECTED]To: 'Tag Libraries Users List' [EMAIL PROTECTED]gis.com cc

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
: Monday, November 10, 2003 11:18 AM To: 'Tag Libraries Users List' Subject: RE: Jstl i18n not working Ah, I wonder... In my struts.xml file, I define the resource file too: !-- == Message Resources Definitions === -- message-resources

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
Typo: directory = /WEB-INF/classes/org/j2e_translate -Original Message- From: Morrow, Steve D. [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 11:22 AM To: 'Tag Libraries Users List' Subject: RE: Jstl i18n not working Assuming

RE: Jstl i18n not working

2003-11-10 Thread Yansheng Lin
with the result? -Original Message- From: Morrow, Steve D. [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 10:22 AM To: 'Tag Libraries Users List' Subject: RE: Jstl i18n not working Assuming then, that the ApplicationResources.properties file is not in a *.jar, you may try making sure

Re: Jstl i18n not working

2003-11-10 Thread Kris Schneider
So, based on your updated info, this should be: context-param param-namejavax.servlet.jsp.jstl.fmt.localizationContext/param-name param-valueorg.j2e_translate.ApplicationResources/param-value /context-param And you should have your property file located at:

RE: Jstl i18n not working

2003-11-10 Thread Kris Schneider
PROTECTED] Sent: November 10, 2003 10:07 AM To: Tag Libraries Users List Cc: 'Tag Libraries Users List' Subject: Re: Jstl i18n not working I've only seen that when struts can't find the resource file or the key... Savan Thongvanh Berkley Technology Services 515.278.7725

RE: Jstl i18n not working

2003-11-10 Thread SThongvanh
: 11/10/2003 11:29 Subject: RE: Jstl i18n not working AM

RE: Jstl i18n not working

2003-11-10 Thread Yansheng Lin
-- Oh, wait, why do I need basename? Ah, I don't understand this very well -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 10:28 AM To: Tag Libraries Users List Subject: Re: Jstl i18n not working So, based on your updated

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
PROTECTED] Sent: Monday, November 10, 2003 11:35 AM To: 'Tag Libraries Users List' Subject: RE: Jstl i18n not working Oh, I see. I can find the resource bundle now for my other fmt:message. But it still doesn't solve my first problem. That's why I got so confused. I guess it has something

RE: Jstl i18n not working

2003-11-10 Thread Kris Schneider
:28 AM To: Tag Libraries Users List Subject: Re: Jstl i18n not working So, based on your updated info, this should be: context-param param-namejavax.servlet.jsp.jstl.fmt.localizationContext/param-name param-valueorg.j2e_translate.ApplicationResources/param-value /context-param

RE: Jstl i18n not working

2003-11-10 Thread Yansheng Lin
anything in web.xml. Way better than changing anything in struts.xml. Stupid ActionMapping:). Thanks for your help! -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 10:41 AM To: Tag Libraries Users List Subject: RE: Jstl i18n not working Okay

RE: Jstl i18n not working

2003-11-10 Thread SThongvanh
are other keys working? Savan Thongvanh Berkley Technology Services 515.278.7725 CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain private, privileged and confidential information belonging to the sender. The information therein is solely for the use of the addressee.

RE: Jstl i18n not working

2003-11-10 Thread Kris Schneider
:). Thanks for your help! -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 10:41 AM To: Tag Libraries Users List Subject: RE: Jstl i18n not working Okay, you've got a file called ApplicationResources.properties, right? If it's in WEB

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
To: Tag Libraries Users List Subject: RE: Jstl i18n not working You shouldn't have to restart TC just because you've made a Struts config change. You may have to *redeploy* the app, but that's different from restarting TC. Quoting Yansheng Lin [EMAIL PROTECTED]: Ok, got it working. I

Re: JSTL App Runs Under Tomcat 4.1.27, Fails Under Tomcat 4.0.6

2003-10-02 Thread Michael Duffy
Sorry to be a dirty cross-poster. Yoav Shapiro has provided me with hope. When I told him I was running Tomcat 4.0.6 as a Windows service, he suggested that I shut it down and start Tomcat on the command line using startup.bat. When I did that, the app that was failing came right up

RE: JSTL / fmt locale question

2003-10-01 Thread Martin van Dijken
Hey Dima, Could you post a little more source of your JSP page? This looks OK to me, so I'd need a little more information to check what's going wrong. Grtz, Martin -Original Message- From: Dima Gutzeit [mailto:[EMAIL PROTECTED] Sent: dinsdag 30 september 2003 21:40 To: [EMAIL

Re: JSTL / fmt locale question

2003-10-01 Thread Dima Gutzeit
PROTECTED] Sent: Wednesday, October 01, 2003 9:46 AM Subject: RE: JSTL / fmt locale question Hey Dima, Could you post a little more source of your JSP page? This looks OK to me, so I'd need a little more information to check what's going wrong. Grtz, Martin -Original Message- From: Dima

RE: JSTL / fmt locale question

2003-10-01 Thread Martin van Dijken
Hey Dima, set your Locale first then open your bundle. Martin -Original Message- From: Dima Gutzeit [mailto:[EMAIL PROTECTED] Sent: woensdag 1 oktober 2003 11:01 To: Tag Libraries Users List Subject: Re: JSTL / fmt locale question Here is a code snippet of bundle declaration

Re: JSTL / fmt locale question

2003-10-01 Thread Dima Gutzeit
Thanks :-) - Original Message - From: Martin van Dijken [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 10:07 AM Subject: RE: JSTL / fmt locale question Hey Dima, set your Locale first then open your bundle. Martin -Original

RE: JSTL character encoding

2003-09-29 Thread Martin van Dijken
Hey Adam, The behaviour you describe seems to be according to specifications. I've inlined section 8.4 of the spec below. This describes that you cannot use tags that establish a Localization context if you want to prevent setLocale being called. I'm guessing that's not altogether a big help

Re: JSTL, response character encoding

2003-09-29 Thread Adam Hardy
Hallo Martin, thanks for the quote. I did read that before but just didn't realise its significance. I could have stayed with the struts bean taglib, but I spent a couple of days last month changing over, because JSTL has more flexibility. :( The quotation from the JSTL spec in my eyes shows

RE: JSTL character encoding

2003-09-29 Thread Nedwick, Robert
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 5:21 PM To: Adam Hardy Cc: Tag Libraries Users List Subject: JSTL character encoding In fmt:message key=../ the class ...tag.common.fmt.SetLocaleSupport's method

Re: JSTL character encoding

2003-09-29 Thread Adam Hardy
Hi Robb, good solution. I suppose this is why it is called 'bleeding edge'! I see tomcat 5 implements servlet spec 2.4 - that is a relief. I checked out the servlet spec 2.4, as you said, there is the following element-list in web.xml specified as 1 or more: locale-encoding-mapping-list

Re: JSTL character encoding

2003-09-29 Thread Hans Bergsten
Adam Hardy wrote: Hi Robb, good solution. I suppose this is why it is called 'bleeding edge'! I see tomcat 5 implements servlet spec 2.4 - that is a relief. I checked out the servlet spec 2.4, as you said, there is the following element-list in web.xml specified as 1 or more:

Re: JSTL character encoding

2003-09-29 Thread Pierre Delisle
Hans Bergsten wrote: Adam Hardy wrote: Hi Robb, good solution. I suppose this is why it is called 'bleeding edge'! I see tomcat 5 implements servlet spec 2.4 - that is a relief. I checked out the servlet spec 2.4, as you said, there is the following element-list in web.xml specified as 1 or

RE: JSTL startup times - is caching going on?

2003-09-21 Thread Richard Mixon (qwest)
, but I would love to have a framework I did not have to maintain alone. Thanks again. -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 10:45 PM To: Tag Libraries Users List Subject: Re: JSTL startup times - is caching going on? The JSP

Re: JSTL startup times - is caching going on?

2003-09-20 Thread Henri Yandell
The JSP spec for Tomcat 4.1 does say that a container may cache Tag objects between page runs. It sounds like this could be what's happening here. I've no idea whether it would cache across sessions etc. Up to the server and not the taglib. On the speed issue. What are you using to create the

Re: JSTL in Action

2003-09-07 Thread Rick Ross
Any chance of getting that onto Safari? I know I sound like broken record here, but I love it and I think it's a good deal for the writer/publisher as well. R. Shawn Bayern wrote: Hi there (from law school)! :) As I take a break from reading about civil rights in California, I just wanted

Re: JSTL in Action

2003-09-07 Thread Henri Yandell
I've not seen any Manning books on Safari. I presume this is a big-business thing and not related to a specific book. Manning are quite into eBooks, so maybe they're seen as Safari competitors. Hen On Sun, 7 Sep 2003, Rick Ross wrote: Any chance of getting that onto Safari? I know I sound

RE: JSTL or html:options issue

2003-08-14 Thread Karr, David
Do you have more than one getPo function? Do you have a setPo function? And a long shot, you might try changing po to something more than two letters (making sure you change all your accessors in the same way). -Original Message- From: Shah, Shrihas (OFT) [mailto:[EMAIL PROTECTED]

RE: JSTL or html:options issue

2003-08-14 Thread Eric W Hauser
I would try using the Struts html-el tag libraries for doing this: html:options property=po collection=${searchForm.po}/ You would obviously have to create a collection of beans that contained the labelName and labelProperty accessors. More information on this method can be obtained here:

Re: JSTL question: how to use variables in c:if and c:set

2003-07-21 Thread K.C. Baltz
All the JSTL tags use EL (Expression Language) which generally looks like ${ ... }. All of the variables referenced in EL are in some sort of scope, (page, request, session, application). That scope is handled by HashMaps (E.g. request.getAttribute() what's used for requestScope variables).

Re: JSTL question: how to use variables in c:if and c:set

2003-07-21 Thread Charl Gerber
Users List [EMAIL PROTECTED] Date: Mon, 21 Jul 2003 06:44:02 -0700 From: K.C. Baltz [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Subject: Re: JSTL question: how to use variables in c:if and c:set All the JSTL tags use EL (Expression Language) which generally looks like

Re: JSTL question: how to use variables in c:if and c:set

2003-07-21 Thread K.C. Baltz
' and 'applicationScope'? -- Oorspronkelijk bericht -- Reply-To: Tag Libraries Users List [EMAIL PROTECTED] Date: Mon, 21 Jul 2003 06:44:02 -0700 From: K.C. Baltz [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Subject: Re: JSTL question: how to use variables in c:if and c:set All the JSTL

Re: JSTL Tag in a directive.

2003-07-05 Thread N. Chen
you can use c:import instead of %@ include, i think that would solve your problem. nick On Sat, 5 Jul 2003, Rick Ross wrote: I can't seem to get this to work: %@ includes file=c:out value='${includePage}' / % I didn't see anything in the Spec that suggests that it would violate spec, but

Re: JSTL Tag in a directive.

2003-07-05 Thread Hans Bergsten
Rick Ross wrote: I can't seem to get this to work: %@ includes file=c:out value='${includePage}' / % I didn't see anything in the Spec that suggests that it would violate spec, but it wasn't mentioned either (as far as I saw.) Rick, time to read a good book about JSP ;-) There are two ways to

Re: JSTL Tag in a directive.

2003-07-05 Thread Hans Bergsten
I think I missed an important point, see intermixed below. Hans Bergsten wrote: Rick Ross wrote: I can't seem to get this to work: %@ includes file=c:out value='${includePage}' / % I didn't see anything in the Spec that suggests that it would violate spec, but it wasn't mentioned either (as

Re: JSTL and isUserInRole

2003-06-25 Thread Serge Knystautas
Jim Kennedy wrote: Has anyone tried this using pure JSTL or Struts. No rt. I need to do something like this in JSP's c:if test=${pageContext.request.userInRole('foo') == true} EL doesn't support method evaluation, so yeah that won't work. You can just create a simple tag on your own to do

RE: JSTL and isUserInRole

2003-06-25 Thread Karr, David
This is handled with the logic:present tag in Struts. You can't call arbitrary methods in the first version of the JSTL. -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:58 PM To: Tag Libraries Users List Subject: JSTL and isUserInRole

RE: JSTL and isUserInRole

2003-06-25 Thread Kumar, Kiran
change it to c:if test=${pageContext.request.isUserInRole('foo')} Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 3:58 PM To: Tag Libraries Users List Subject: JSTL and isUserInRole Has anyone tried this

RE: JSTL and isUserInRole

2003-06-25 Thread Karr, David
Uh, no, that won't work. You can't call arbitrary methods in JSTL. -Original Message- From: Kumar, Kiran [mailto:[EMAIL PROTECTED] change it to c:if test=${pageContext.request.isUserInRole('foo')} Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Jim

RE: JSTL and isUserInRole

2003-06-25 Thread Kumar, Kiran
OOPS.. sorry. I just tried that it wont work Thanks KiranKumar (Raj) ext 7203 -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 4:15 PM To: Tag Libraries Users List Subject: RE: JSTL and isUserInRole Uh, no, that won't work. You can't

RE: JSTL install, confusing instructions

2003-06-06 Thread Gregory Guthrie
Ah! Thanks. At 11:55 AM 06/05/2003 -0400, you wrote: I'm kind of sick right now so I'm only going to answer the first one real fast. (1.2) = requires a 1.2 container. Gregory Guthrie [EMAIL PROTECTED] (641)472-1125Fax: -1103

Re: JSTL and WebSphere 4.0

2003-06-06 Thread Kan Ogawa
Hi, Augusto. Augusto Rodriguez wrote: Hi all !! quick question, does JSTL work in WebSphere 4.0?? No, WebSphere 4.0 doesn't support Servlet 2.3 and JSP 1.2. -- Kan Ogawa [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Re: JSTL Defined Methods

2003-05-31 Thread Pierre Delisle
Chen, Gin wrote: Sorry this was posted not too long ago but I can't find it in the archives. What are the JSTL 1.0 defined functions? (for trimming etc) -Tim See below. Please note that these EL functions are only available in JSTL 1.1. Original Message Subject: Re: Rif: Re:

RE: JSTL Defined Methods

2003-05-31 Thread Chen, Gin
Thanks Pierre :) Is there usage examples of these? For example does trim work just like trim in java? c:out value=${myString.trim()}/ Thanks, -Tim -Original Message- From: Pierre Delisle [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:29 PM To: Tag Libraries Users List Subject: Re

Re: JSTL c:out Output Problem

2003-03-25 Thread Brian Buckley
It appears you do not have ${list.headers}set up properly. As written, you must have an object named list and that object must have a public getHeaders() method that returns an array, a list or other collection. I have the following JSP: c:forEach items=${list.headers} var=header thc:out

Re: JSTL c:out Output Problem

2003-03-25 Thread Adam Sherman
On 03/25/03 14:04:14 -0500 Brian Buckley wrote: It appears you do not have ${list.headers}set up properly. As written, you must have an object named list and that object must have a public getHeaders() method that returns an array, a list or other collection. I have the following JSP: c:forEach

Re: JSTL c:out Output Problem

2003-03-25 Thread billy . bacon
Adam, You are receiving the print out you have stated b/c you are telling c:out to print the array object itself. You need to give it an index to print out. Try this... c:out value=${header[0]} / this will obviously just print the first element in your array (index at 0) which will be

Re: JSTL c/x:out and XML-fragments

2003-03-19 Thread matsuhashi
Here I cutpasted a code fragment of my JSP. h3raw Model/h3 c:import var=xslturl2 url=/WEB-INF/transform/IdentityTransform.xsl charEncoding=Shift_JIS/ %@ page import=java.io.StringWriter % %@ page

RE: JSTL okay with get method, but no set method?

2003-03-17 Thread Chen, Gin
Missing setters dont cause a problem and missing getters dont either (it just wont get that variable ;) Java Introspection is based on what it finds for getters and setters and not the actual variable. But even though that's how ji works it is still considered standard to define all getters and

Re: JSTL error

2003-03-14 Thread Pierre Delisle
mailinglist wrote: Hi, I installed Sun jwsdp-1_1 and copied jstl-examples.war in Tomcat 4.1.18 webapps (not the one shipped with Sun jwsdp) but I get an error when I try the examples: HTTP 500 javax.servlet.ServletException: Cannot inherit from final class at

Re: JSTL okay with get method, but no set method?

2003-03-14 Thread David M. Karr
Wendy == Wendy Smoak [EMAIL PROTECTED] writes: Wendy I have a DTO that contains a List of objects. Since you can add any Object Wendy to a List, I would rather not have a Wendy setAssistants( List asst ); Wendy method that would allow someone to add a list of inappropriate

Re: JSTL c:out rewrites html tags

2003-03-10 Thread Brian Buckley
Set the escapeXml attribute to false. c:out value=${foo} escapeXml=false / The JSTL taglibs (c:out) re-write html tags into GT so the actual text prints out. Is there any way to disable this? - To unsubscribe, e-mail:

Re: JSTL c:out rewrites html tags

2003-03-10 Thread Shawn Bayern
On Mon, 10 Mar 2003, Hanasaki JiJi wrote: The JSTL taglibs (c:out) re-write html tags into GT so the actual text prints out. Is there any way to disable this? Yes, the escapeXml=false attribute of the c:out tag disables this behavior. -- Shawn Bayern JSTL in Action

Re: JSTL c:out rewrites html tags

2003-03-10 Thread Hanasaki JiJi
Thanks to Brian and Shawn! anyone know of a lib that will perfrom the escXML on a String? goal: take in input string that may / maynot have HTML tags zap the html tags or turn them to pure text ala LT add some HTML tags output via c:out escapeXml=false dont want

Re: JSTL c:out rewrites html tags

2003-03-10 Thread Shawn Bayern
On Mon, 10 Mar 2003, Hanasaki JiJi wrote: Thanks to Brian and Shawn! anyone know of a lib that will perfrom the escXML on a String? goal: take in input string that may / maynot have HTML tags zap the html tags or turn them to pure text ala LT You can use c:out wrapped by

Re: jstl dataSource

2003-03-03 Thread Ivonne Barrantes
I've had that same problem a few days ago. Besides the code you already typed (which seems to be ok) you will need to have: 1) The library (.jar) under your JSP container's specific sub directory (e.g. d:\tomcat\common\lib). Not on your application (so it works from any other

<    1   2   3   4   5   6   >