RE: Second Message Ressource

2002-02-18 Thread Luke Studley
I just created my own Servlet class to load other Resource bundles and place them in the context where appropriate. -Original Message- From: Benoit Segaert [mailto:[EMAIL PROTECTED]] Sent: 18 February 2002 09:03 To: [EMAIL PROTECTED] Subject: Second Message Ressource How can I use a sec

html:form help!!

2002-02-11 Thread Luke Studley
Hi there. I just found some 'interesting' behaviour with the html:form tag that I hope somebody can explain. I have the action servlet mapped in my web.xml to "*.do", this worked fine for me until I wanted some files to be downloaded with the extension .csv, so I added another servlet-mapping of

RE: options tag & internationalization

2002-01-07 Thread Luke Studley
Laurent I came across this very issue yesterday, this is how I solved it (probably straying too much from design into implementation): I couldn't find a way to easily (or quickly) access the internals of the messages class so I created my own. Each varying option set (e.g. coutries, states, per

RE: Strategy for International/XML Project

2002-01-04 Thread Luke Studley
Robert, For issues concerning schema languages etc have a look at http://www.xml.com/pub/a/2001/12/12/schemacompare.html I definitely recommend Log4J over servletcontext log. You may want to consider using DOM4J instead of JDOM - similar capabilities but dom4j has programmatic XPath support. Al

RE: Using Struts with XSLT

2002-01-03 Thread Luke Studley
Hi Jan I'm relatively new to struts - but have come from a background of using XSLT with Servlet2.3 filters. Have to say this worked great, although as people have pointed out there is a performance hit. But I found with optimization I could reduce this to a nearly negligible amount (I also used

Values in to attribute values for XML JSP Docs?

2002-01-03 Thread Luke Studley
Hi all. I am using the XML form of JSP (1.2) and wish to write the equivalent of the following. int myvar = 1; However this doesn't work as the "%= myvar %" is only evaluated as an expression when being passed to custom tags. So for example the following is ok: .. but I've tried everythin

RE: Session Timeout question

2002-01-03 Thread Luke Studley
Also if you are using a Servlet2.3/JSP 1.2 container (e.g. tomcat 4) (not sure about earlier versions) you can register listener(s) that will listen for all the session timeouts in the system or write an object into the session that implements HttpSessionAttributeListener which will be notified wh

RE: Setting content attributes

2001-12-14 Thread Luke Studley
Subject: RE: Setting content attributes request.getContext()/stylesheet.css"/> -Original Message- From: Luke Studley [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 3:13 PM To: struts-user Subject: Setting content attributes How do you set the values from scripting var

Setting content attributes

2001-12-14 Thread Luke Studley
How do you set the values from scripting variables or the results of tag library elements of attributes for output html tags when you are using XML version of JSP? E.g. Simply puts the above string directly in the output (unsurprisingly - I was getting desperate trying that). If I try to use

html:options

2001-12-12 Thread Luke Studley
Hi all This is my first post - so excuse me if it is really basic but I am trying to get the html:options tag to work as documented. My code looks like: nameTitles.put("Mr",null); nameTitles.put("Mrs",null); nameTitles.put("Miss",null); . Wher