How to use XSL Result

2010-04-15 Thread kindlerm
Hi, I am trying to create a simple XML output using Struts 2 (2.6.1). Following tips from this list I chose to use an action with xsl result (although writing/debugging an extra XSLT in my case is just a nice exercise). I am looking for some documentation about the XML (resp. DOM) the XSLT is

[s2] strange (for me) OGNL behavior

2009-05-29 Thread kindlerm
Hi, OGNL is a great mystery for me. It does magic and - well - strange things. :-) Perhaps you can help me out. The situation: I have a S2 (2.16) site where I use on some pages a form like this: s:form action=SatImgWetterSWR acceptcharset=UTF-8 s:textfield id=plzs_searchterm

Aw: Re: [s2] strange (for me) OGNL behavior

2009-05-29 Thread kindlerm
Thanks Jim, that is the explanation I needed. I can't get rid of the name attribute, but I can live with the stack traces in my log file. Martin - Original Nachricht Von: Jim Kiley jhki...@summa-tech.com An: Struts Users Mailing List user@struts.apache.org Datum:

Aw: [s2] Using UTF-8 in .properties files

2009-04-09 Thread kindlerm
If you look in the Java docs, you will see this is not possible. .properties files are always ASCII. The only possibility to include non-ASCII characters is using the Unicode codes \u. I do hate this. There might be a way to extend the resource bundle framework to support files using other

Aw: Re: Aw: [s2] Using UTF-8 in .properties files

2009-04-09 Thread kindlerm
It is definitely possible to develop non-English applications using resource bundles. I typically put the Unicode codes (\u) in the .properties files when developing apps which must support e. g. cyrillic text. This is not as comfortable as it could be, but there are web based converters

minimal app server for embedded Struts1 or 2 solution

2008-06-23 Thread kindlerm
Hi, I am currently working on a little application which needs a user interface for administration. I think an embedded app server with a Struts based application might be a good choice. But one big obstacle is in the way, I fear: the size of such a solution. What do you think is the minimal

Aw: Re: minimal app server for embedded Struts1 or 2 solution

2008-06-23 Thread kindlerm
Scott, this is a little internal application which imports data from several systems into our CMS. We support a lot of these importers. These run typically on dedicated machines and should be rapidly installable. If I would choose to make it a web application deployable on an application

RE: [struts2]how to configure the web app - solved!

2008-05-19 Thread kindlerm
First of all, thanks to all who answered to my previous posting! I did not want one of this big use another framework [Spring/AppFuse/Hibernate/...] in addition to Struts2 things. While this is surely the right way to go for a lot of heavy weight systems there are also smaller lightweight apps

[struts2]how to configure the web app

2008-05-16 Thread kindlerm
Hi, I am new to Struts2 and stumbling immediately. I want to have an initialization routine in my web app which will connect to a data base etc. at startup time. This routine needs some parameters (e. g. the path of a config file to be read). How can I access such external information? With

Aw: Re: [struts2]how to configure the web app

2008-05-16 Thread kindlerm
Hi Jim, could you detail on this? I am not really familiar with Spring and at first sight it looks much too mighty for just some little initialization, but maybe its providing the hook I am looking for. Martin - Original Nachricht Von: Jim Kiley [EMAIL PROTECTED] An: Struts