Re: TDL problem

2004-03-04 Thread Jack Lauman
I tried all theses, just forget to put that in my origianl message. The problem seems to be that what the error says: "According to TLD or attribute directive in tag file, attribute amount does not accept any expressions" If if use a hard coded value for 'amount' i.e. 75.00 it works. If I use th

Re: TDL problem

2004-03-04 Thread Kris Schneider
Assuming you've actually got the JSTL 1.1 JAR files in WEB-INF/lib, the next thing to verify is your taglib URIs. They've changed from 1.0 to 1.1: 1.0 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> 1.1 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> Just to add s

TDL problem

2004-03-04 Thread Jack Lauman
I have a simple shopping cart the worked just fine under Tomcat 4.1.29 with JSTL 1.0.5. I want to move it to Tomact 5.0.19 with JSTL 1.1. I have changed the tld to the jsp 2.0 xml-schema, tried adding el-ignore with true and false attribs. but have yet to get rid of the following error. The attri

RE: using JSTL 1.0.5 ExpressionEvaluatorManager for custom tags

2004-03-04 Thread Karr, David
You said that the bean "labels" is a java.util.List. However, you also said "table being the String ...". The error message, stating 'Attempt to convert String "labels" ...' appears to concur with the last statement (that "labels" is a String, not a List). It sure seems like "labels" is a String

using JSTL 1.0.5 ExpressionEvaluatorManager for custom tags

2004-03-04 Thread Lionel PASQUIER
Hello, I am willing to create custom tags that have the expression evaluation of the JSTL 1.0.5. I am using tomcat 4, JDK1.4, thus cannot switch to JSTL1.1 . I found the org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager class that seems to be pretty cool. So I made my tags use

RE: Issues with RegExp Tag Library and Tomcat 5

2004-03-04 Thread Karl Coleman
Actually we're escaping with another apostrophe, so JavaScript can handle any embedded apostrophes. I am not familiar with regular expression syntax at all, sort of inherited the project. I just know what was there, as far the regular expression goes, worked until we upgraded the server to Tomca

RE: Issues with RegExp Tag Library and Tomcat 5

2004-03-04 Thread Kris Schneider
So, you're essentially trying to "escape" every \, ', and " character? This worked for me on TC 5.0.19: <%@ page contentType="text/plain" %> <%@ taglib prefix="rx" uri="http://jakarta.apache.org/taglibs/regexp-1.0"; %> \regular\ 'expression' "test" s/(\\|'|")/\\\$1/g Which produced: \\regular\\

Can't span custom tag through included pages

2004-03-04 Thread Boris Folgmann
Hi! <[EMAIL PROTECTED] ... %> is supposed to do something like literal including before the JSP is compiled. To my understanding it's comparable to the C preprocessor. Now look at my example: test_head.jsp contains: <[EMAIL PROTECTED] contentType="tex

Re: Re: Getting request URI with JSTL

2004-03-04 Thread otisg
Yes, the filter approach I just added. I was hoping I could do it just with JSTL. I guess not. :( Thanks for your help! Otis On Thu, 04 Mar 2004, Hassan Schroeder ([EMAIL PROTECTED]) wrote: > otisg wrote: > > > However, > > gives me this: > > > > /WEB-INF/shell/GenericShell.jsp > /

Re: Getting request URI with JSTL

2004-03-04 Thread Hassan Schroeder
otisg wrote: However, gives me this: /WEB-INF/shell/GenericShell.jsp / Why does a call to request.getServletPath(), which is that JSTL call above, give me a path to a _JSP_? Because a JSP page /is a servlet/*, it's just one that's compiled by the container. And you're asking for the path of the *

Re: File/Directory Manipulation Tag Libraries

2004-03-04 Thread Mark R. Diggory
One strategy we've discussed in the past is to use the JNDI taglibrary plus the default java:env/Resources jndi context in the webapplication as a mechanism to list the contents of the directories (this allows listing of both webapplications that are expanded into the filesystem and webapplicat

File/Directory Manipulation Tag Libraries

2004-03-04 Thread Derek
Ananth, You can check out all of the standard Jakarta/Tomcat libraries here: http://jakarta.apache.org/taglibs/index.html Upon an initial scan and having worked with several of those libraries, it does not appear as though any of them handle directory or file manipulation. There are several ser

Re: Re: Getting request URI with JSTL

2004-03-04 Thread otisg
Hello, That is what I tried using, too. However, gives me this: /WEB-INF/shell/GenericShell.jsp This is a problem, as this is not really the request URI, but rather the JSP used in the composition/rendereing of the current page. What's worse, all my JSPs use this same 'shell' JSP, so I cannot

RE: Issues with RegExp Tag Library and Tomcat 5

2004-03-04 Thread Ananth R
Hello Any body knows how to display the directory structure using a JSP page using taglibraries. ie are there any taglibraries for visualizing a directory structures. Any frame work available in Jakarta project to do this??? please inform me. -- A N A N T H. R ---

Re: Tomcat Concurrency and Hit Rate Issue

2004-03-04 Thread Peter Lin
I would try sql server forums first to see what kind of load your server can handle. You can load test some sample queries using JMeter. this will tell you the upper limit for your particular server. [EMAIL PROTECTED] - if you have questions. If you're using a single CPU server, you should

RE: Issues with RegExp Tag Library and Tomcat 5

2004-03-04 Thread Karl Coleman
It isn't a problem with the expression. It worked under Tomcat 4. But when we upgraded to 5 it stopped working. Anyway, the expression is s/(\\|'|")/\\$1/g. Since TOmcat 5 got installed, it is replacing apostrphes with the string literal "$1", instead of another apostrophe. We are using 1.0.1.

Re: xslt expression

2004-03-04 Thread Thomas McDonald
Thanks Hans (and Kris) Actually I already had the JSTL 1.1, JSP 2.0 and Web.xml (servlet 2.4) installed. I am just a newbie and was stupidly using the JSTL 1.0 page directives. I changed the page directives to use the JSTL 1.1 URI and everything is peaches and cream (again). :-) --- Hans Ber

RE: Issues with RegExp Tag Library and Tomcat 5

2004-03-04 Thread Kris Schneider
Can you give some detail about what "aren't working" means? Are exceptions being thrown or are you just getting unexpected results? Are you using the latest version of the tagilb (looks like 1.0.1)? Provide a simple example of a tag that's not working. Quoting Karl Coleman <[EMAIL PROTECTED]>: >

Re: Tomcat Concurrency and Hit Rate Issue

2004-03-04 Thread Thomas McDonald
Thanks. Actually all the people will take it. It is an internal survey and they are being told by their managers that they must take it. That said, I would expect about 12-25 people hiting the site at any one time (If I send out all 400 invitations at one time). Also, it isn't a one shot surv

FAQ

2004-03-04 Thread Derek
Is there a general FAQ being maintained for this listserv? Sun maintains a very high level overview FAQ. However, I was wondering if something a bit more detailed was available. Thanks! Derek __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster

RE: Issues with RegExp Tag Library and Tomcat 5

2004-03-04 Thread Karl Coleman
No one has any suggestions? I was told that the author of the regex taglib was on this list to at least say yes, no, maybe. Karl > -Original Message- > From: Karl Coleman > Sent: Tuesday, March 02, 2004 1:21 PM > To: '[EMAIL PROTECTED]' > Subject: Issues with RegExp Tag

Re: AW: Tomcat not working

2004-03-04 Thread Derek
Since we aren't given much information, typical trouble shooting for such an issue might include the following: 1) Check your logs: Log files are your friend. Catalina.out is an excellent place to start. I typically open up another terminal window while debugging and run "tail -f catalina.out"

RE: Tomcat Concurrency and Hit Rate Issue

2004-03-04 Thread Karl Coleman
If you send out 400 requests, I doubt 50 would even respond, so you probably don't need to worry about it. Karl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 8:56 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat Concurrency and Hit Rate I

Re: Tomcat Concurrency and Hit Rate Issue

2004-03-04 Thread Peter Lin
from a pracitcal perspective, chances are at any given time there will only be 1 person submitting the completed form. 400 seems like a very low number to me. Now if you're talking about a survey that is sent out to 10K people with a window of 5 hours to submit it, it probably won't be a prob

RE: Tomcat Concurrency and Hit Rate Issue

2004-03-04 Thread J . Petersen
Hi Thomas there is: [EMAIL PROTECTED] I think you'll get a reply there rgds Jim -Original Message- From: Thomas McDonald [mailto:[EMAIL PROTECTED] Sent: 04 March 2004 13:52 To: Tag Libraries Users List Subject: Tomcat Concurrency and Hit Rate Issue I'm not sure if this is the right

Tomcat Concurrency and Hit Rate Issue

2004-03-04 Thread Thomas McDonald
I'm not sure if this is the right list to post this quesiton too, but here goes: I am doing a web survey on Tomcat 5.0.19 hooked to a SQL Server 2000 backend I am trying to figure out what sort of hit rate it can take. I'll send an email to 400 people inviting them to take the survey. They all w

Strange behavior of Tomcat

2004-03-04 Thread Ananth R
Hello Whenever I add new jar files to WEB-INF/lib my tomcat doesnot work.It says :The requested resource (/webapplication1/) is not available. I tried to restart the Tomcat, that also does not work.So, a kind of fear surrounds me whenever I add new Jar files or tld files. Please tell me what

jstl and binary field in mysql

2004-03-04 Thread Lorenzo Sicilia
Hi to the list, I have a mysql db and I use SQL tag. I have a strange problem when a field that has the attribute BINARY With this snippets: SELECT nick_name FROM user_comunity = , the output is: -- > nick_name = [EMAIL PROTECTED], (BINARY attribute) o

Re: native2ascii or better editor?

2004-03-04 Thread Evgeny Gesin
Thanks Dima, so simple! By the way do you allow links in your resource bundle? Bla-bla1 bla-bla2 bla-bla3. I mean do you mix links and text or split text, which have links, in separate phrases (such, in 3 elements in example)? Evgeny Gesin Javadesk CEO / Founder --- Dima Gutzeit <[EMAIL PROTEC

RE: native2ascii or better editor?

2004-03-04 Thread Evgeny Gesin
Yes, I create localized images for each language and use JSTL fmt library to locate suitable image data in resource bundle. Evgeny Gesin Javadesk --- Yansheng Lin <[EMAIL PROTECTED]> wrote: > I saw a screen capture for Yudit, looks promising. > Not sure how hard it is to > install. > > Btw,

AW: Tomcat not working

2004-03-04 Thread Manuel Tromm
Carefully check the TLD-Definition-File, sometimes a bug in the TLD-File prevents the tomcat from starting the context -Ursprungliche Nachricht- Von: Ananth R [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 4. Marz 2004 10:39 An: Tag Libraries Users List Betreff: Tomcat not working Hell

Tomcat not working

2004-03-04 Thread Ananth R
Hello I was deploying some tag libraries .It worked nicely for some time.Suddenly, Iam not able to enter into the examples( webapps/examples) directory.Whats this problem?? I checked server.xml file.It looks OK( tag is OK). Please diagnoise the problem. Thanking you regards A N A N T H. R

Re: native2ascii or better editor?

2004-03-04 Thread Dima Gutzeit
What I do in this case is the following : I edit the file using UTF-8 chars and when the project is being compiled , I use ANT native2ascii task to transform it in the build time. Hope it helps. - Original Message - From: "Evgeny Gesin" <[EMAIL PROTECTED]> To: "Tag Libraries Users List"