RE: Does anyone know of a good file manager...

2004-02-09 Thread Martin van Dijken
Hey Jim, There's nothing exactly like this at Apache. I know of two taglib that might be capable of what you want: http://www.xephyrus.com/taglibs/ http://www.windgazer.nl/projects/FileTagLib/ In my opinion the windgazer taglib is more suited to your needs, since Xephyrus' taglib is intended

RE: taglibs i/o or jstl core library

2004-02-09 Thread Chris Daly
when i tested the c:import tag on my machine, it didn't work when pulled in the include page. i also tested it on the jsp page itself (not from the include page) and still got the same problem. this was on a unix sever so i then tested it on my local server (on a test app on win2000 pro), and

RE: escapeXml() optimizations

2004-02-09 Thread Martin van Dijken
The simplest optimization would be to create the 'sb' buffer at least as big as the 'input' string. After all, even if there were no actual substitutions, the 'sb' would be as big, and this would avoid StringBuffer doing a lot of reallocations, especially if 'input' is more than the 16

RE: xml parsing difference 1.1 vs 1.0

2004-02-09 Thread Kris Schneider
I suppose the main thing that needs to be determined is whether the performance issue is with the way Standard is using Xalan or with Xalan itself. One alternative approach you might take is to see if you can use XSLT instead. So, you'd do something like: c:import url=/WEB-INF/xslt/country.xsl

Re: escapeXml() optimizations

2004-02-09 Thread David Wall
Try it simpler: Yes, that's much nicer. See what happens when I tried to fit a solution in to the previous coding paradigm? wink This was better refactored and it certainly does the job much nicer. The only change I'd make is to make the StringBuffer size length+5 to ensure we can at least

using input tag with sql

2004-02-09 Thread Andiputranto Sukojo
Hi I'm Andi, student of UF, new comer in apache tag library, and just try input tag (it's interesting ! ) i want to display list of items from database so user can select one of them. How to combine input:select with JSTL sql ? without need to write scriplet that retrieve items from database,

Re: Problems with JSTL 1.1 and Tomcat 5 : UnresolvableException: $prefix:javax.servlet.include.query_string

2004-02-09 Thread Aadi Deshpande
The problem manifests itself when you have a c:import/c:import with a c:param that in turn has a c:import/ i.e. a c:import with parameters,in which the imported file has an empty tag c:import. an example : file : xml_test1.jsp %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %

RE: xml parsing difference 1.1 vs 1.0

2004-02-09 Thread Wim Goossens
Kris, Thank you for the help. I appreciate it a lot. Using your XSLT approach indeed did solve my problem. I am new to all this and have to study xslt now, but I think I can do everything with it for writing the presentation layer. Thank you very much Regards Wim -Oorspronkelijk