Re: [ANN] JavaServer Pages, 3rd Edition (O'Reilly)

2003-12-23 Thread K.C. Baltz
Sounds good. I'll keep an eye out for the book. In your book I imagine your constrained to use nicely sized fonts and readable spacing. A quick reference that's trying to minimize the number of pages could perhaps use tiny fonts and little spacing. K.C. Hans Bergsten wrote:

Re: [ANN] JavaServer Pages, 3rd Edition (O'Reilly)

2003-12-23 Thread K.C. Baltz
7;s not intended to teach you, only to remind you of something you already know. K.C. Hans Bergsten wrote: K.C. Baltz wrote: Does you book have a quick-reference/cheatsheet for JSTL? The one from Manning's book (appendix A) isn't really quick enough for me (Too many pages). I

Re: [ANN] JavaServer Pages, 3rd Edition (O'Reilly)

2003-12-22 Thread K.C. Baltz
Does you book have a quick-reference/cheatsheet for JSTL? The one from Manning's book (appendix A) isn't really quick enough for me (Too many pages). I find I'd really like a 1-2 page summary of EL and the JSTL tags. I keep meaning to do one up myself, but of course work projects keep taking

Re: Tiles problem!!!

2003-12-22 Thread K.C. Baltz
I suspect you'll get more help if you re-post your question to the struts-user mailing list as Tiles is really more of a Struts API than jakarta-taglibs. That being said, I don't think you want to use beanName and beanScope. I would have expected you to use it like this: K.C. [E

Re: c:forEach, c:import and variable scope?

2003-12-09 Thread K.C. Baltz
Could it be related to your map being keyed by Integers instead of Strings? I know that JSTL/EL does a lot of magical conversions, but I'm not sure how far they extend. K.C. otisg wrote: Hello, Aaaalmost there :) On Tue, 09 Dec 2003, Hans Bergsten ([EMAIL PROTECTED]) wrote: Ben

Re: Multipart/form-data support in Struts

2003-12-02 Thread K.C. Baltz
One of the example webapps included with Struts 1.1 is struts-upload. I've based my code off that. You'll probably want the source distribution of Struts to see how it's done. K.C. Ravi Krishna wrote: Hey Guys , I want to upload data of wave , jpeg and MPEG formats .Is there any tag in stru

Re: fmt+struts headaches.

2003-11-21 Thread K.C. Baltz
I tried this solution and it didn't work. I took a quick look at the taglibs code and it looks at first glance like the FMT_LOCALE attribute is only respected with a tag is enclosed in a tag. Is that right? K.C. Kris Schneider wrote: You might try using a servlet filter to keep the locale

Re: Accessing properties

2003-11-20 Thread K.C. Baltz
I'm not sure if EL handles properties, but if it's going to work like a HashMap, it'll look like this: ${applicationScope.props["viewer.tool.useZoomIn"]} That should get around the problem of the "."s in the name. K.C. John C Cartwright wrote: Hello All, I'm trying to use the value of a pro

Re: How to use c:url with c:import?

2003-11-04 Thread K.C. Baltz
Tried that. It just looks for my files in the ROOT context, rather than the context specified in the URL. I also tried context="", but that produced an exception. K.C. Hassan Schroeder wrote: Hassan Schroeder jumped the gun with: Uh, "problem"? the above works fine plugged into a page on my

Re: How to use c:url with c:import?

2003-11-04 Thread K.C. Baltz
th a custom tag Kris Schneider wrote: You're right about why it's failing (prepending of app context). This kind of thing should work: You could then also use textURL with : ">... Quoting "K.C. Baltz" <[EMAIL PROTECTED]>: For various reasons, I am

How to use c:url with c:import?

2003-11-04 Thread K.C. Baltz
For various reasons, I am generating a URL for a context relative resource using and storing the result in a variable. Then I'm using that value in a in an attempt to include the content of the resource in the page. Example: I'm pretty sure the problem is that generates a url with a

Re: Is there a tag to create an absolute URL from a relative one?

2003-10-02 Thread K.C. Baltz
stick to the design regulations for jakarta taglibs and post it to the taglibs dev list, they'll probably accept your help with a lot of gratitude:) Grtz, Martin -Original Message- From: K.C. Baltz [mailto:[EMAIL PROTECTED] Sent: woensdag 1 oktober 2003 6:30 To: Tag Libraries Users List S

Is there a tag to create an absolute URL from a relative one?

2003-10-01 Thread K.C. Baltz
Is there anyway to make the tag generate an absolute URL, given a relative URI? Or perhaps another tag? For example, if I had a file main.jsp in the root of my webapp, I'd like the following mock tag: to produce the following result http://myserver:port/servletContext/main.jsp I can do t

Re: Pass scrape taglib to a method (string)

2003-09-05 Thread K.C. Baltz
<% %> - Denotes a "scriptlet", java code that is directly inserted into a generated Servlet The tags you are trying to use are called "custom tags", and they can't be used inside scriptlets any more than you could do: <% %> Whatever appears within a scriptlet must be Java code. If y

Re: [PROPOSAL] upgrade

2003-08-28 Thread K.C. Baltz
If it's useful to you, I'd say go for it. As long as it doesn't destabilize the current code, I suspect the commiters will add it. K.C. Sgarlata Matt wrote: Hi, I'm not sure if I'm submitting this idea correctly and/or to the correct list, but I have an idea on how to improve on the tag.

Re: Standard's source not matching debug lines

2003-08-22 Thread K.C. Baltz
Just a guess, but the debuggers are probably running with some JRE version that you aren't expecting. Try a java -version K.C. Serge Knystautas wrote: I was trying to use 2 different debuggers (Jdebug and jswat) to step through JSTL 1.0.3 implementation, and the line numbers for the javax.*

Re: JSTL question: how to use variables in and

2003-07-21 Thread K.C. Baltz
#x27;sessionScope', 'requestScope' 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 U

Re: JSTL question: how to use variables in and

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)