logic:messagesPresent do not show messages

2004-01-01 Thread stefan . berger
Hi, happy new year to all struts user. I use struts 1.1 and use the ActionMessages for displaying messages (like 'successfull updatet, and so on) In my ActionClass i have this: [CODE] ActionMessages messages = new ActionMessages(); messages.add("msg01", new ActionMessage("message.successfull.l

Re: Oracle DataSource configuration

2004-01-01 Thread Dirk Verbeeck
The exception you see is an indication that the factory doesn't see the ResourceParams you have specified. Try to print out the url and driverClassName properties of BasicDataSource, you will see they are null. You have an extra tag there in your definition of the server.xml file. Is that just

applyLocalizedPattern

2004-01-01 Thread Ted Husted
When is provided a pattern through the message resources, rather than as a tag attribute, the applyLocalizedPattern method is used. This method assumes the pattern is using a localized notation. Doe

RE: Problem with action chaining

2004-01-01 Thread Tim Lucia
Ted, Thanks for the reply. Putting methods in the base action(s) works (since the actions are related by what attributes they add to the request or session.) The down side is that the page designer who is ignorant of Java (or may not have access to the code) can't make changes this way. If I hav

RE: Problem with action chaining

2004-01-01 Thread Ted Husted
In your case, something to consider might be to use BSF scripts instead of Java Actions. Another idea would be to reduce the business classes to Commands (using the Command Chain of Command package)

Re: applyLocalizedPattern

2004-01-01 Thread Jason Lea
I don't know the official location but this stuff seems to be located in your jre/lib/ext/localedata.jar as class files I found this link to some java source for these (java v1.1.7) here http://www.dei.unipd.it/corsi/fi2ae-docs/source/jdk1.1.7/src/java/text/resources/ This one: http://www

Re: applyLocalizedPattern

2004-01-01 Thread Ted Husted
That's definitely what we were looking for :) Next question for the group: What's the best way to determine the unicode value for fr group separator character? >From this, I can't actually tell what character it's suppose to be. The browser >substitutes another character. I tried saving the jav

Re: applyLocalizedPattern

2004-01-01 Thread Jason Lea
I saved it and looked at it in a hex editor. It shows it is A0, in the Windows Character Map program that is No-Break Space and is U+00A0 I assume that means \u00a0 should work. Ted Husted wrote: That's definitely what we were looking for :) Next question for the group: What's the best way to

[Q] Assign value to checkbox html tag?

2004-01-01 Thread Riaan Oberholzer
I'm using Struts 1.1. I have an html tag such as: How can I assign a CHECKED/not-Checked based on some OTHER object in my page? As it is here, it uses the "reminders" attribute of my form. So I guess my question is, how can I set that attribute just before I call the tag? __

Need advice on data transfer between ActionFrom and Business Bean

2004-01-01 Thread Patrick Scheuerer
Hi, I have the following ActionForm of type DynaValidatorForm: The data of this form should be transferred to a value object with the following structure: private String _name; private String _description; private String _version

RE: Need advice on data transfer between ActionFrom and Business Bean

2004-01-01 Thread Ivan De La Pena
Patrick, I have written my own converters for converting from String to Date , Long to Date etc. So i think something like that can be done with your bean toomy only concern is , i havent tried things like : in my DynaActionForm. If your DynaActionForm has the "org.apache.struts.upload.

RE: logic:messagesPresent do not show messages

2004-01-01 Thread Ivan De La Pena
Stefan, here is how i do it : JSP PAGE looks like this : __ ACTION CLASS looks like this : ActionErrors errors = new ActionErrors(); ActionError error = new ActionError("error.employee.databaseException");

*.do mapping using JRun

2004-01-01 Thread Mike Steigerwald
Hi, all, I'm a struts newbie trying to learn with struts-example. I've got it working great locally with Tomcat, but I'm struggling to deploy it on my ISP's JRun server. I can't seem to figure out some configuration property to get JRun to understand the *.do mapping. All of my .jsp links work gr

AW: *.do mapping using JRun

2004-01-01 Thread Oliver Thiel
Hi Mike, Have you updated the web.xml file? action *.do According to the 'Fast Track Struts' book by Vic Cekvenich the “/*.do” pattern for the action servlet could cause difficulties with firewalls! So he suggests to use the “/do/*” pattern action /do/* Hope that helps Oliver -Ur

[OT] Stress Test Tool

2004-01-01 Thread Oliver Thiel
Did anyone know a good tool for stress testing a struts app? I already tried dieseltest_1_0_21, jakarta-jmeter-1.9.1, jspider-0.5.0-dev, Microsoft Web Application Stress Tool but none of these tools fits my needs. Why is search for a stress test tool? 1. I wrote a simple registration form, w

Re: [OT] Stress Test Tool

2004-01-01 Thread Nadeem Bitar
Try the grinder. http://grinder.sf.net. On 木, 2004-01-01 at 19:31, Oliver Thiel wrote: > Did anyone know a good tool for stress testing a struts app? I already > tried dieseltest_1_0_21, jakarta-jmeter-1.9.1, jspider-0.5.0-dev, > Microsoft Web Application Stress Tool but none of these tools fits m

Problem with BeanUtils.copyProperties()

2004-01-01 Thread Patrick Scheuerer
Hi, Is it not possible to copy a String[] using BeanUtils.copyProperties()? My DynaValidatorForm has a field property like: My Business Bean has the following method: public void setSomeProperty(String[] data){ } Every time the copyProperty() method is c

RE: Problem with BeanUtils.copyProperties()

2004-01-01 Thread Ivan De La Pena
Hope this helps : public class Bean { private String[] array; public String[] getArray() { return array; } public void setArray(String[] array) { this.array = array; } } impor

Tomcat Shutdown Control

2004-01-01 Thread Gurpreet Dhanoa
Hi Guys, In my application I am generating left and right navigation pages of the site dynamicaly. Now if my page is under the processing . that means If tomcat is processing the page and i shutdown the servcie of Tomcat then half of the page display null coz full processing was not done. Now