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: xml filter parser

2003-10-01 Thread Lorenzo Sicilia
Kris Schneider wrote: Isn't something like this the JSTL equivalent of your code example: it is perfect! 1k tks. Best Regards Lorenzo Sicilia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: xml filter parser

2003-10-01 Thread Kris Schneider
Isn't something like this the JSTL equivalent of your code example: If you're really planning on iterating over each of the nodes: ... Otherwise, if you really need to use a filter, you have to create an instance and store it as a scoped attribute. It's probably better practice to do this

RE: html:img swapping image problem

2003-10-01 Thread Martin van Dijken
Hey Koen, >From the 2 questions you've asked I deduce you're working with struts. No offense >meant here, but this is a mailing list for the Jakarta Taglibs and their >implementation of JSTL. The taglibs Struts features are a whole different world. You >might wanna try asking your questions in

html:img swapping image problem

2003-10-01 Thread koen boutsen
Hi I use and get the image out of a resource file. If the cursor moves over the image, I want to switch the image via the onMouseOver event. Does anyone know how I can do this. The new image has to come out of the resource file. I searched the archive, but could not find an answer. Thank

xml filter parser

2003-10-01 Thread Lorenzo Sicilia
Hi to all, I need filter a xmlDocument. the problem is create a org.xml.sax.XMLFilter object in ${filter}. I nees filter my xmlDocument with a Xpath string like "//packet/param". With Jdom I can try with this: XPath filterPath = XPath.newInstance("//packet/param"); List rows = filterPath.selec

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

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 declar

RE: XML ResourceBundles

2003-10-01 Thread Martin van Dijken
Hey Keyur, I'm not certain since I don't have a test setup, but try the following: Have your XMLResourceBundle class print out super.getLocale() in the handleGetObject() method. What you need to know is whether super.getLocale() returns the desired Locale (fr) or the default Locale since it cou

Re: JSTL / fmt locale question

2003-10-01 Thread Dima Gutzeit
Here is a code snippet of bundle declaration in the main JSP file of the application : <%-- Creating audio files bundle --%> And here is an example of the usage , another JSP file of the same application: (Declaration of some VXML variable ...) '"/> Thanks. - Original Message --

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