how to get the version of struts during runtime

2006-04-04 Thread Günther Wieser
of the version happened, my action servlet will refuse to start until somebody checked the code of the servlet and made sure that it's running with the new version. any ideas? kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com 2 Dinge

RE: problem with forwardPattern and modules

2006-01-30 Thread Günther Wieser
(while a forward action in struts-config.xml sends the servlet container the URI that is prefixed with the module path, and the container loads the page/URI from filesystem). kr, guenther -Original Message- From: Günther Wieser [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 2

RE: html:cancel question

2005-04-11 Thread Günther Wieser
seems that the browser stops the form from being able to do ANYTHING with it... one solution, but it seems dirty to me, is to add another form with only a cancel button... kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com

RE: How to make HttpSession thread-safe????

2005-04-10 Thread Günther Wieser
maybe you could tell us more about what you want to achieve, because it might be the case that you don't have to care that your session is thread safe... kr, guenther -Original Message- From: leonnewsgroup [mailto:[EMAIL PROTECTED] Sent: Sunday, April 10, 2005 8:08 AM To: Struts Users

generic validation on map backed property

2005-04-07 Thread Günther Wieser
hi, i've a form bean with a map backed propery namend orderedNumber. This property returns the number of ordered items for a given product id, eg. getOrderedNumber(423) returns the number of ordered items for the product with id=423. i want to validate the input (which is stored int the property

RE: Concatinating 2 strings for a bean:message???

2005-04-05 Thread Günther Wieser
try to use bean:message key='label.owner.section.info.${ownerNumber}' / instead (assuming ownerNumber is a defined bean in any context of this JSP) kr, guenther -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 10:21 PM To:

RESEND: RE: Load message resources from DB???

2005-03-31 Thread Günther Wieser
to implement a feature that reloads the db entries ater a given period of time. kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 2

RE: download finished

2005-03-28 Thread Günther Wieser
happen as most proxies do not cache files, expecially if you set the cache http headers correctly. kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: Kelly C. Goedert [mailto:[EMAIL PROTECTED] Sent: Monday

RE: user management

2005-03-11 Thread Günther Wieser
i for one put the user object into the session, as i have a lot of method calls against this use object on each page. if you don't use the user object often, put some identifier in the session to mark that the user has logged in, eg. key=user, value=username. if you need to access the user data

RE: session and request scope

2005-03-10 Thread Günther Wieser
as long as you don't have a clustered environment or session persistence enabled in your servlet container, there shouldn't be much difference in adding an object to a session or request. but it doesn't make sense to put it in session scope if you don't use it is session scope, but only in

RE: Struts DB Access :: Best Practices

2005-03-09 Thread Günther Wieser
or id within your java code which makes it easy to read and has nothing database related in it. but if you have the need to tune performance etc. OJB gives you access to everything, inluding using stored procedures. kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien

RE: session.invaludate(); not working in LogoffAction

2005-03-07 Thread Günther Wieser
i prefer to write my own RequestProcessor which does all the checking and handling in case of user not logged in. and even more preferable is to implement J2EE security which was suprisingly simple (at least for Resin). i wrote an example for the request processor stuff a few days ago here in the

RE: Tags in the body of other tags

2005-03-04 Thread Günther Wieser
yes, it's not possible to open a tag within the body of another tag and close it somewhere else. look at the tag lifecycle in the j2ee api doc and then you'll understand why. shortly spoken: tags can only be nested in a hierarchy. kr, guenther -Original Message- From: Slattery, Tim -

RE: How can I forward from an Action to a URL outside application

2005-03-03 Thread Günther Wieser
tell us more! how did you do it? -Original Message- From: Jim Theodoridis [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 6:41 PM To: Struts Users Mailing List Subject: Re: How can I forward from an Action to a URL outside application Sorry. It is so simply i found it. Jim

RE: how to use tag value for another tag's value

2005-03-03 Thread Günther Wieser
do this instead: td width=50% align=center html:submit property=productName value=${downloadInfo.name} / _ From: Burns, Scott [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 8:11 PM To: Struts Users Mailing List Subject: how to use tag value for another tag's value I would

RE: html:form complains of bean missing

2005-03-02 Thread Günther Wieser
with session.setAttribute(Constants.SESSION_LOGIN_REFER_KEY, url) hope that helps, feel free to ask more if something is unclear. kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED

AW: Tooltips in Struts

2005-03-01 Thread Günther Wieser
you can use the title attribute of the span tag like this way: span class=reportTooltip title=yout tooltip textyour text or your elements/span and with using CSS you can set up the tooltip behaviour: .reportTooltip { COLOR: gray; CURSOR: help; TEXT-DECORATION: none; } if you use cursor:

RE: html:form complains of bean missing

2005-03-01 Thread Günther Wieser
hi if you want a single point where you can check if a user is logged in or not, you can do something like the following: create a class MyRequestProcessor extends TilesRequestProcessor (in this case it is because i use tiles) and implement the process() method. within this method check for the

RE: Struts and EJB integration question?

2005-03-01 Thread Günther Wieser
i for one suggest to put it in a delegate class (maybe something with static methods), something you would call a service, that gives you access to your ejb stuff. putting it directly into the action class is not recommended, the action class should be seen as the connection between your business

caching of message resources when using bean:message tag

2005-02-28 Thread Günther Wieser
hi, we are using struts version 1.2.4 and we implemented our own MessageResources and MessageResourceFactory. we needed to have a database based system for managing message resources for different locales so that we can change valued on the fly without the need to restart the app. these

AW: AW: Multi-select file chooser

2005-02-28 Thread Günther Wieser
-select file chooser Ah, I looked at it that he was selecting files from a directory tree, not entering into a text field Günther Wieser wrote: this is standard browser behaviour, haven't seen any browser who would allow you to select more than one file. reason for that is that your form only

AW: AW: Multi-select file chooser

2005-02-28 Thread Günther Wieser
would deal with it just fine, probably give you a collection or something, I forget what the interface looks like.) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Günther Wieser wrote: this is standard browser behaviour, haven't seen any

AW: AW: AW: Multi-select file chooser

2005-02-28 Thread Günther Wieser
Nachricht- Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 01. März 2005 00:42 An: Günther Wieser Cc: 'Struts Users Mailing List' Betreff: Re: AW: AW: Multi-select file chooser Just in case there was any doubt, here's the form from my web hosts' file manager I was referring

AW: caching of message resources when using bean:message tag

2005-02-28 Thread Günther Wieser
: jmitchtx - Original Message - From: Günther Wieser [EMAIL PROTECTED] To: user@struts.apache.org Sent: Monday, February 28, 2005 5:57 PM Subject: caching of message resources when using bean:message tag hi, we are using struts version 1.2.4 and we implemented our own MessageResources