RE: Struts/filters

2004-03-22 Thread Pady Srinivasan
, 2004 10:51 AM To: [EMAIL PROTECTED] Subject: RE: Struts/filters Pady, thats great...May I have a look at the samples if possible...That would help me a lot with the initial learning curve. Thanks! Pady Srinivasan [EMAIL PROTECTED] wrote: We do this in our web app. We have a config xml

RE: Struts/filters

2004-03-22 Thread as as
: as as [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:51 AM To: [EMAIL PROTECTED] Subject: RE: Struts/filters Pady, thats great...May I have a look at the samples if possible...That would help me a lot with the initial learning curve. Thanks! Pady Srinivasan wrote: We do this in our

RE: Odd behaviour with utf-8 on weblogic 8.1

2004-03-22 Thread Kumar, Ram S
Have you tried? %@ page language=java% % Response.setContentType(text/html;charset=UTF-8); in your jsp page? % Thanks and Regards, S.Ramkumar -Original Message- From: Colm Garvey [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:06 PM To: Struts Users Mailing List Subject: Odd

RE: Refresh parent window on popup submit with old params to parent

2004-03-22 Thread Freddy Villalba Arias
I'd say: Popup submits info. Info ges processed. Popup gets reloaded. On popup reload, invoke refresh on parent, then close (in that exact order). Parent gets fresh info. There is only one race-condition with this approach: The background operations launched by the popup's submit action (I

RE: Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
It is Rad View's Web Load tool that our testing team used. -Original Message- From: as as [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:02 AM To: Struts Users Mailing List Subject: Re: Struts web app performance improvement Hi Pingili, I am interested

Re: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
. März 2004 00:46 An: Struts Users Mailing List Betreff: Re: multiple lines in an ActionMessage object displayed via javascript alert What characters have you in your strings ? There must be something a quote or something give js a bad day. I assume you've something like this. msg1 = bean:message key

RE: Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
It is IBM AIX 5.1, 1 CPU, 450 MHz, 1GB RAM. -Original Message- From: Smith, Darrin [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:03 AM To: 'Struts Users Mailing List' Subject: RE: Struts web app performance improvement What sort of box was it run

RE: Struts web app performance improvement

2004-03-22 Thread Smith, Darrin
List' Subject: RE: Struts web app performance improvement It is IBM AIX 5.1, 1 CPU, 450 MHz, 1GB RAM. -Original Message- From: Smith, Darrin [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:03 AM To: 'Struts Users Mailing List' Subject: RE: Struts web app

RE: Struts web app performance improvement

2004-03-22 Thread henrik . bentel
Are you running under http or https? Pingili, Madhupal [EMAIL PROTECTED] 03/22/04 11:28 AM Please respond to Struts Users Mailing List To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: Struts web app performance improvement It is IBM

Re: struts-reports

2004-03-22 Thread Mark Lowe
On 22 Mar 2004, at 19:06, as as wrote: Hi, I have a struts page that needs to generate reports based on filtering criterion like (date from, date to, type of report, type of data to show). Make some util classes that return what you need with what you need from you model. List fooList =

RE: complex forwarding logic?

2004-03-22 Thread Pady Srinivasan
You can try something like the Interceptor pattern. For a specific request, register a series of command classes with a Manager. The Manager calls each interceptor in the order specified. This way you can add commands ( steps ) without changing existing code. Almost like Struts Action

RE: Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
http only. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:07 PM To: Struts Users Mailing List Subject: RE: Struts web app performance improvement Are you running under http or https? Pingili, Madhupal [EMAIL

RE: complex forwarding logic?

2004-03-22 Thread Hookom, Jacob
Leave action forwards alone and instead, create a supporting method that can be called from your actions that looks at your session and returns the appropriate actionforward. So there's your complex logic, I wouldn't re-write the struts forwarding framework. String stepName

Re: Changing the FileUpload-Processing

2004-03-22 Thread Martin Cooper
You shouldn't have to worry about the request processor. The multipart handler is pluggable, so you can simply replace the one Struts uses with your own by specifying the class name in the 'multipartClass' attribute of the controller element in your Struts config file. The multipart handler is

RE: complex forwarding logic?

2004-03-22 Thread Joe Germuska
Depending on your appetite for the cutting edge, you may want to investigate struts-chain, which is currently in contrib, but which is targeted for replacing the current RequestProcessor on a Struts 1.3.x timeframe (which will probably begin in earnest shortly after the move to Apache TLP

RE: user login authentication and session timeout

2004-03-22 Thread Kumar, Ram S
Hi, You can consider the following ways: 1) You can associate an action class for the page that requires a username and password. In that action class you can prompt for username and password. Have a separate action class for the urls that doesn't require login. 2). Have a query string

RE: user login authentication and session timeout

2004-03-22 Thread Robert Taylor
Charles, you can use container managed security or the SecurityFilter to authenticate users when accessing protected resources. You can set the session time out by adding something like the following to your web.xml file: session-config session-timeout60/session-timeout /session-config

RE: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Saul Q Yuan
I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from

Re: complex forwarding logic?

2004-03-22 Thread Nick Wesselman
to subclass all my actions as well? Nick Hookom, Jacob wrote: Leave action forwards alone and instead, create a supporting method that can be called from your actions that looks at your session and returns the appropriate actionforward. So there's your complex logic, I wouldn't re-write the struts

Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
[mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. März 2004 18:25 An: Struts Users Mailing List Betreff: Re: AW: multiple lines in an ActionMessage object displayed via javascript alert Whats actually in your properties file..? Paste the rendered source into the reply, i think its a javascript

Re: AW: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
goes on here. I cannot see any difference... -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. März 2004 21:09 An: Struts Users Mailing List Betreff: Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert Weird .. I

RE: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Saul Q Yuan
cannot see any difference... -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. März 2004 21:09 An: Struts Users Mailing List Betreff: Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert Weird .. I thought

RE: Struts web app performance improvement

2004-03-22 Thread henrik . bentel
Mailing List' [EMAIL PROTECTED] cc: Subject:RE: Struts web app performance improvement http only. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:07 PM To:Struts Users Mailing List

Re: [OT] multiple submit buttons on a single page

2004-03-22 Thread Colin Kilburn
Hi Jay, In my experience (although I haven't paid attention to it lately), neither button (e.g. submit=button caption) is submitted. This may also depend on the browser. HTH, Colin Glanville, Jay wrote: Hello all. A slightly of-topic question for the group ... The situation: a form with

RE: Disabling BACK buton

2004-03-22 Thread Hookom, Jacob
orders etc. How can we disable the BACK button so users cannot use it to go back to previous 'submitted' screens to re-submit what's been submitted. Likewise, we don't want the user to go back to an outdated list of search results. Thanks for any suggestion

RE: [OT] multiple submit buttons on a single page

2004-03-22 Thread Wendy Smoak
From: Glanville, Jay [mailto:[EMAIL PROTECTED] The situation: a form with two submit buttons, and the user doesn't use either of them, but instead submits the form by pressing enter/return in one of the text fields. Question: how does the form get submitted? Anecdotally, I'd say the

Re: Validation Question with Indexed Properties

2004-03-22 Thread Craig Tataryn
friendly *bump* On Sun, 21 Mar 2004 18:12:54 -0600 (CST), Craig Tataryn wrote: Hi, I have the following definition in my validation.xml file: formset form name=MarketAddressForm field property=provStateId

RE: DynaActionForm caching issues?

2004-03-22 Thread Norris, David A. ERDC-CERL-IL Contractor
Note: JBoss 3.2.3 includes an integrated Tomcat 4.1.29, which is of course more likely to be relevant to this problem than JBoss itself... -Original Message- From: Norris, David A. ERDC-CERL-IL Contractor [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 4:45 PM To: [EMAIL

RE: Urgent

2004-03-22 Thread Gopalakrishnan, Jayesh
Review your set method and make sure you are storing the value in appropriate member variable ... and are accessing the same variable in the get method. thats all I can say with the info I have. You need to provide more information for us to understand the issue. Please provide the bean code

RE: Urgent

2004-03-22 Thread Dhaliwal, Pritpal (HQP)
Hello Vishal, You should provide more information. How did you declare your bean. Copy that line from the struts-config.xml. Where do you set the values and where do you try to access them? How about if you try to access them right after you set them. I am sure that will work. I think it seems

Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Domingo A. Rodriguez S.
, noteText.trim())); saveMessages(request, messages); } thx, Dirk -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. März 2004 18:25 An: Struts Users Mailing List Betreff: Re: AW: multiple lines

RE: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Jignesh Kapadia
Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for

Re: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Saul Q Yuan
Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking

Re: Struts web app performance improvement

2004-03-22 Thread Martin Gainty
: Pingili, Madhupal [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:16 PM Subject: RE: Struts web app performance improvement http only. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22

RE: [OT] multiple submit buttons on a single page

2004-03-22 Thread Benz Lim
-form action=Action.do || || | [] text field | || | [submit1][submit2] | -/form--- By default the first submit button should be activated for the submission. If you

Re: Using struts-config to configure properties in action form

2004-03-22 Thread Saul Q Yuan
set-property is not a sub-tag of form-bean, form-property is though. If you're not using dynamic form bean, you don't need to define the properties in the form-bean tag. HTH, Saul - Original Message - From: Chan, Jim To: '[EMAIL PROTECTED]' Sent: Monday, March 22, 2004 8:27

RE: Using struts-config to configure properties in action form

2004-03-22 Thread Chan, Jim
[mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 6:28 PM To: Struts Users Mailing List Subject: Re: Using struts-config to configure properties in action form set-property is not a sub-tag of form-bean, form-property is though. If you're not using dynamic form bean, you don't need to define

Re: Using struts-config to configure properties in action form

2004-03-22 Thread Kumar M
haven't been able to hook it up to my form yet. -Original Message- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 6:28 PM To: Struts Users Mailing List Subject: Re: Using struts-config to configure properties in action form set-property is not a sub-tag of form-bean

Re: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Jignesh Kapadia
:52 PMSubject: RE: Error while upgrading from struts version 1.0 to 1.1Well,All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3

RE: i18n with Japanese characters and tags....

2004-03-22 Thread Kumar, Ram S
Hi, Try % response.setContentType(text/html;charset=JISAutoDetect); or response.setContentType(text/html;charset=UTF-8); % in your jsp pages. Ram Kumar -Original Message- From: carlo latasa [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 11:33

RE: How can I refresh my jsp

2004-03-22 Thread Mu Mike
still trying to figure out how any one can be of help? Thanks From: Mu Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How can I refresh my jsp Date: Tue, 23 Mar 2004 02:38:26 + sample1.jsp: form action=/action1.do .. /form this

RE: i18n with Japanese characters and tags....

2004-03-22 Thread carlo latasa
thanks for the message Ram, I did try that and it had no noticable effect. From: Kumar, Ram S [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: i18n with Japanese characters and tags Date: Tue, 23 Mar 2004 00

Re: i18n with Japanese characters and tags....

2004-03-22 Thread atchy
Carlo, Have you checked the example application included in Struts1.1(or current CVS)? It can show Japanese characters correctly without any special implementations. I think it will be a help for your problem. The most frequent mistake in such case is lack of unicode escape to their message

Re: WAS: problems with html:base/ - Help Please - ActionServlet fails on startup

2004-03-21 Thread Craig R. McClanahan
Quoting Lukas Latz [EMAIL PROTECTED]: Is there a problem with using Tomcat 3.23 and Struts 1.1 ? Yes, there is. Tomcat 3.2.x has many bugs with the way that class loading is handled that make it totally unsuitable for Struts 1.1 applications. You should upgrade to a more current Tomcat

Re: Does instanceof work?

2004-03-21 Thread Larry Meadors
Neither are valid: http://jakarta.apache.org/struts/api/org/apache/struts/taglib/logic/package-summary.html According to the jstl doc I have, instanceof is reserved, but not implemented. If you are not concerned about subclasses of foo.MyType, you could probably use this: c:if

Re: Does instanceof work?

2004-03-21 Thread Joe Germuska
At 1:31 PM + 3/21/04, Frank Burns wrote: I've tried the Struts logic and the JSTL tag version of instanceof, like these (below), but get errors returned implying that instanceof doesn't exist as a valid option. Does it exist? Am I doing something wrong? Can someone give me an example, please?

Re: [OT] 2 JSF questions

2004-03-21 Thread Craig R. McClanahan
(Better late than never ...) Quoting Anderson, James H [IT] [EMAIL PROTECTED]: 1) Since JSF is written in Java, why does Sun have 3 different download available, Windows, Solaris, Linux? There are OS-specific downloads of the JDK itself, because the native code inside is different for each

RE: Bean:write

2004-03-21 Thread Robert Taylor
Try using the following with JSTL: c:set var=myValue value=${teacher.SSN}/ or you can try the following using bean:*.../ bean:define id=myValue name=teacher property=SSN/ If you are still getting a error make sure you are using proper JavaBean naming conventions. You can find this in the

RE: Bean:write

2004-03-21 Thread as as
Thanks Robert,w ill try this now.. Has anyone also used graphing software (jfree) with struts... looking for a open source implemntation on the same... Thanks! Robert Taylor [EMAIL PROTECTED] wrote: Try using the following with JSTL: or you can try the following using If you are still

RE: security framework!!!

2004-03-21 Thread Craig R. McClanahan
(Jumping in late, and trying to catch up on several hundred email messages in my STRUTS-USER folder, but better late than never ...) Quoting David Friedman [EMAIL PROTECTED]: Adam, With my structure, I might have to become a particular reseller, then flip into a customer of his/hers, then

Re: Webb access to mailing list

2004-03-21 Thread Craig R. McClanahan
Quoting tiredcasper [EMAIL PROTECTED]: yes,if there is a newsgroup ,things will be better. Among other places, you can get a newsgroup mirror of STRUTS-USER (and lots of other interesting lists) at http://gmane.org. Craig -

RE: Does instanceof work?

2004-03-21 Thread Steve Raeburn
To: Struts Users Mailing List Subject: Re: Does instanceof work? At 1:31 PM + 3/21/04, Frank Burns wrote: I've tried the Struts logic and the JSTL tag version of instanceof, like these (below), but get errors returned implying that instanceof doesn't exist as a valid option. Does it exist

Re: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-21 Thread Mark Lowe
What characters have you in your strings ? There must be something a quote or something give js a bad day. I assume you've something like this. msg1 = bean:message key=message1 /; msg2 = bean:message key=message2 /; msg3 = bean:message key=message3 /; msg = msg1 +\n+ msg2 +\n+ msg3; alert(msg);

Re: [OT] Object Design Question

2004-03-21 Thread Pedro Salgado
On 12/03/2004 21:26, Avinash Gangadharan [EMAIL PROTECTED] wrote: People, I have a design question. It is regarding the retrieval of parent and child objects in the best possible manner. For eg. Let's say there is a Person object with properties such as ssn, lastName and firstname. It also

Re: off-theme question: about getServletConfig and getServeletContext

2004-03-21 Thread Craig R. McClanahan
Quoting Mu Mike [EMAIL PROTECTED]: does the servlet container has only one servletcontext instance for all the servlets it manages? and the same to servletconfig instance? There is one ServletContext instance for each web application (which can encompass many servlets and JSP pages). There

Re: Pls help on shopping cart App

2004-03-20 Thread Mark Lowe
-Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 1:36 PM To: Struts Users Mailing List Subject: Re: Pls help on shopping cart App Do your html:text have the indexed=true attribute? On 18 Mar 2004, at 07:07, sougata wrote: Hi All, I have a shopping cart

Re: Mapping Forward to new form

2004-03-20 Thread Mark Lowe
If you form is scoped to request you can also set redirect=true in the action forward. On 19 Mar 2004, at 20:03, Saul Q Yuan wrote: You can call ((UserForm) form).reset() before forwarding. Saul -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent: Friday, March 19,

Re: Recommend file upload progress bar

2004-03-20 Thread Max Cooper
See the thread File-Upload: Progress-Bar that has been going on over the last few days. -Max - Original Message - From: Frank Burns [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, March 20, 2004 1:57 AM Subject: Recommend file upload progress bar I

Re: version 1.2

2004-03-20 Thread Joe Germuska
At 1:14 PM +0200 3/20/04, Erez Efrati wrote: Hi, I am currently working with the 1.1, is there a good reason to move to 1.2? Is it going to be released sometime soon? Struts 1.2.0 was released a few weeks ago using the new Tomcat-style version numbering. That means that a numbered release may or

RE: bean:message prints the KEY, not the MESSAGE

2004-03-20 Thread Fowler, David
I'm encouraged to see that you are still looking at Struts. As I understand it, there is a property that I set in my distribution that displays the KEY when it cannot find the corresponding value. IPlanet 6.05 does not look for the resource files in the traditional (Struts) location. What

RE: bean:message prints the KEY, not the MESSAGE

2004-03-20 Thread Newcomer, Kenneth
, 2004 10:59 AM To: Struts Users Mailing List Subject: RE: bean:message prints the KEY, not the MESSAGE I'm encouraged to see that you are still looking at Struts. As I understand it, there is a property that I set in my distribution that displays the KEY when it cannot find the corresponding

RE: bean:message prints the KEY, not the MESSAGE

2004-03-20 Thread Fowler, David
Users Mailing List Subject: RE: bean:message prints the KEY, not the MESSAGE hi david, yes still looking at struts. i wonder if it's better to place a copy(*ouch!*) of the resource files in iPlanet's preferred location (which would be ...?), or try to get iPlanet to look in the actual location

Re: security framework!!!

2004-03-20 Thread as as
from someone that knows of a good JAAS-based solution. David's problem of entity-based (rather than system-wide) responsibilities is a very common one. -Max - Original Message - From: David Friedman To: Struts Users Mailing List Sent: Wednesday, March 17, 2004 5:48 PM Subject: RE

Re: ValidatorForm.getServlet() == null !!

2004-03-20 Thread Curtis Taylor
Hi Albrecht, The ActionServlet in an ActionForm is a private member with no accessor methods. So, try this in your form: this.servlet.getServletContext(); HTH, Curtis Albrecht Berger wrote: Hello, I need the ServletContext in one of my forms, which I'm trying to get with :

RE: version 1.2

2004-03-20 Thread Zsolt Koppany
Hi, do you mean struts-1.2 final? I cannot find that at: http://jakarta.apache.org/site/binindex.cgi Zsolt -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Saturday, March 20, 2004 3:20 PM To: Struts Users Mailing List Subject: Re: version 1.2 At 1:14 PM

RE: version 1.2

2004-03-20 Thread Erez Efrati
Yes, I here so much of this version so I wondered if it was released or the CVS head version is stable enough for production. Erez -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Saturday, March 20, 2004 10:58 PM To: Struts Users Mailing List Subject: RE: version

RE: version 1.2

2004-03-20 Thread Ted Husted
here so much of this version so I wondered if it was released or the CVS head version is stable enough for production. Erez -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Saturday, March 20, 2004 10:58 PM To: Struts Users Mailing List Subject: RE: version 1.2

RE: version 1.2

2004-03-20 Thread Erez Efrati
Ted, Thanks a lot for clearing this issue. Erez -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Sunday, March 21, 2004 1:22 AM To: Struts Users Mailing List Subject: RE: version 1.2 As Joe mentioned, we no longer use the beta-beta-beta-final versioning scheme. We

Re: Security FIlter Framework

2004-03-20 Thread Bill Siggelkow
Sam, If possible, I think that there are a lot of advantages to using container-managed security. However, it depends on how well you authorization needs fit. If you are using LDAP for your back end security data store, then Weblogic CMA works well with this. I have not used Weblogic CMA

Re: DynaValidatorForm for java.lang.Integer

2004-03-19 Thread Mark Lowe
Use String. Anything else is asking of trouble. According to the party line (ref: struts dev list) action form properties should always be of type string. You can still validate whether a string is 1 for example or whether it looks like a date whatever, it doesn't have to be typed as such.

Re: SessionTimeout handling

2004-03-19 Thread Mark Lowe
If your container supports it use a Filter. And I think (perhaps don't know) that session timeout is something you usually configure the container to do, but again i'm not sure of your requirement. On 19 Mar 2004, at 10:48, Sanoj, Antony (IE10) wrote: Hi, I am trying to handle session

RE: RE: Re: Performance Improvement :: Struts based applications

2004-03-19 Thread McCormack, Chris
: 18 March 2004 22:23 To: [EMAIL PROTECTED] Subject: Re: RE: Re: Performance Improvement :: Struts based applications What's your logging level set to? We recently did a late roll-in of log4j to our app and discovered that when we set logging level to debug, the initial struts/tiles

RE: Database backed forms

2004-03-19 Thread Brendan Richards
I guess your first place to look would be DynaActionForm - this base class dynamically creates FormAction objects setting the properties from the struts-config file. http://jakarta.apache.org/struts/api/org/apache/struts/action/DynaAction Form.html DynaValidatorActionForm adds validator support

RE: SessionTimeout handling

2004-03-19 Thread Sanoj, Antony (IE10)
. Regards, Sanoj Antony -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 3:28 PM To: Struts Users Mailing List Subject: Re: SessionTimeout handling If your container supports it use a Filter. And I think (perhaps don't know) that session timeout

RE: Database backed forms

2004-03-19 Thread Brendan Richards
properties are populated from the backend model. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 10:41 To: Struts Users Mailing List Subject: Re: Database backed forms If there's talk of having action forms populated by themselves then I wouldn't

Re: File-Upload: Progress-Bar

2004-03-19 Thread Max Cooper
A simpler solution that may still meet your needs might be to use an animated GIF on a pop-up just to give the user some feedback that the upload is still in progress and that they should be patient. You could setup something like this: The HTML form with upload file input element has a hidden

Re: portal concepts [was: what would it take to build site navigation into struts?]

2004-03-19 Thread Adam Hardy
Are you aiming to put Broadvision out of business? ;) It sounds like quite a task. The admin tool that you use to build page heirarchies - how does it store the info? XML presumably? And the XML is read by the application at run-time. And so your plug-in would do the same - read its config

Re: Database backed forms

2004-03-19 Thread Mark Lowe
If there's talk of having action forms populated by themselves then I wouldn't. For example you want to create a new record, to instantiate a new form bean you'd perhaps have to save a record to the db, and all this before the user decides what s/he wants to do with it. niall wrote some

Re: Database backed forms

2004-03-19 Thread Mark Lowe
DynaValidatorActionForm to provide a reset() implementation. If required, the actionForm's properties are populated from the backend model. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 10:41 To: Struts Users Mailing List Subject: Re: Database backed forms If there's

RE: Database backed forms

2004-03-19 Thread Brendan Richards
the Action form and displays. Then to save, have a 'submitEdit' action. Sounds like a much better way of going about it... Thanks. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How

Re: Database backed forms

2004-03-19 Thread Mark Lowe
. Sounds like a much better way of going about it... Thanks. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How would you suggest implementing view/edit functionality without pre

Re: Struts cookbook

2004-03-19 Thread Geeta Ramani
Danilo: Is there a chapter or two which you could make available on-line for a preview..? :) Geeta Danilo Gurovich wrote: Actually, a struts cookbook is just in the finishing stages. George Franciscus and I have been hard at work at it for the last year, and it's in final review.

Re: Struts cookbook

2004-03-19 Thread Jignesh Patel
Good Suggestion, -Jignesh On Friday 19 March 2004 18:17, Geeta Ramani wrote: Danilo: Is there a chapter or two which you could make available on-line for a preview..? :) Geeta Danilo Gurovich wrote: Actually, a struts cookbook is just in the finishing stages. George Franciscus and I

RE: access variable value in html tag

2004-03-19 Thread Colm Garvey
Hmm..Your syntax looks right to me, though you are missing a closing just before /html:option Could the problem lie elsewhere? Can you write out the accounts.number/account.no_account label/value as a simple list? Colm -Original Message- From: Steltner, Joern [mailto:[EMAIL PROTECTED]

RE: Two beans in same form

2004-03-19 Thread Colm Garvey
Need to see the code, compadre :) -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 13:07 To: [EMAIL PROTECTED] Subject: Two beans in same form Hi I have two beans - teacher and student in same form and with same variable(property) SSN. Teacher is a subclass

RE: Two beans in same form

2004-03-19 Thread as as
Colm, Thanks for quick reply. his page has one particular teacher and all students under him. so the code to display info about teacher is: html:form action=teacherEdit name=teacherDisplayForm type=com.myProject.TeacherDisplayForm table border=0 width=100% tr th align=right SSN: /th

RE: access variable value in html tag

2004-03-19 Thread Robert Taylor
You will need to use Struts-EL taglib then you should be able to do what you want. http://jakarta.apache.org/struts/faqs/struts-el.html html:select property=no_account c:forEach var=accounts items=${Accounts} varStatus=status html_el:option value=${account.no_account} c:out

Re: File-Upload: Progress-Bar

2004-03-19 Thread Joe Germuska
At 10:31 AM +0100 3/19/04, [EMAIL PROTECTED] wrote: I'm up to the task to implement a progress bar for File-Uploads ... My question: Has anybody done something like this with Struts before and can give me some little advise? I think someone is working on this, or at least has posted a bugzilla

Re: FormFile Upload restrictions

2004-03-19 Thread Joe Germuska
At 3:53 PM +0530 3/19/04, Badri wrote: Hi, Is there any size restriction in uploading any file using the FormFile? If there are any restrictions in file upload, what should be the maximum file size that can be uploaded? Are there any other ways of using FormFile and uploading files as large as

Re: validator form and OR-relations between fields

2004-03-19 Thread Stefan Burkard
ok, i found myself some infos at http://jakarta.apache.org/struts/userGuide/dev_validator.html ist there any possibility to use the struts 1.2.0-validators without using a nightly build? something like a milestone-build perhaps? or by using the commons validator itself? thanks and greetings

RE: Database backed forms

2004-03-19 Thread Wendy Smoak
From: Brendan Richards [mailto:[EMAIL PROTECTED] However, in most applications I write I don't want to only input data but to view and edit existing data as well. For me ActionForms seem to be the best way to code an input/output layer between the browser and the backend. In order to view

Re: Database backed forms

2004-03-19 Thread as as
:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How would you suggest implementing view/edit functionality without pre-populating action forms? prepopulating is exactly what i would do, just in an action not in the action form

Re: UTF-8 characters in the name of the uploaded document

2004-03-19 Thread Joe Germuska
At 3:22 PM +0100 3/19/04, Zsolt Koppany wrote: Hi, I use struts-1.1 with tomcat-4.1.30 and cannot get the name of the uploaded document correctly if that contains UTF-8 (Asian) characters. The application itself does work fine with UTF-8 characters in forms etc. the only exception is upload. Is

RE: File-Upload: Progress-Bar

2004-03-19 Thread JoAnn Lemm
I could tell you how I'm going it (I also have very large files to upload.) 1) Once the upload request comes in, I launch a thread from my action class/servlet to handle the actual upload 2) I then forward to a page which displays a message indicating status. 3) I use java script to submit the

RE: Database backed forms

2004-03-19 Thread Brendan Richards
that. Don't worry - I've realised the error of my ways and am moving my code into actions where it belongs =) -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 14:58 To: Struts Users Mailing List Subject: RE: Database backed forms From: Brendan Richards

RE: UTF-8 characters in the name of the uploaded document

2004-03-19 Thread Colm Garvey
In this article: http://www.anassina.com/struts/i18n/i18n.html The author mentions that a filter is required for UTF-8 encoded forms. Worth a go? Colm -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 14:22 To: Struts Users Mailing List Subject: UTF-8

RE: html:form focus problem

2004-03-19 Thread Brendan Richards
PROTECTED] Sent: 19 March 2004 15:18 To: Struts Users Mailing List Subject: html:form focus problem Anyone else noticed an issue whereby the focus javascript is popping up an error because it can't find the element to which the focus is attached? I've tested the code by re-invoking it after the page has

RE: html:form focus problem

2004-03-19 Thread Colm Garvey
extending the struts classes and I'm trying not to digress too much from the norm. Any other suggestions? Colm -Original Message- From: Brendan Richards [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 15:24 To: Struts Users Mailing List Subject: RE: html:form focus problem What about if you move

RE: html:form focus problem

2004-03-19 Thread Brendan Richards
- From: Colm Garvey [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 15:29 To: Struts Users Mailing List Subject: RE: html:form focus problem I'm using the built in struts html:form ... focus=[elementname] functionality so I don't have any control over where in the page the code goes, but looking

Re: ValidatorForm

2004-03-19 Thread Theodosios Paschalidis
Hi Sam, reset seems to work fine when using ValidatorForm. Nevertheless if your action throughs a GLOBAL.ERROR and you do a return (new ActionForward(mapping.getInput())); reset won't work (at least that has been my experience) Theo - Original Message - From: as as [EMAIL PROTECTED] To:

<    1   2   3   4   5   6   7   8   9   10   >