Re: Beginner Question: Which is the Best place to start

2005-04-11 Thread Erik Weber
http://struts.apache.org/learning.html http://wiki.apache.org/struts/ and http://wiki.apache.org/struts/StrutsResources On that page is a link to a site that helped me a lot when I first started with Struts (plenty of examples): http://www.reumann.net/struts/main.do But, with all that said, I alw

Re: [OT]question about open source data base selection

2005-04-11 Thread brenmcguire
First of all, forget about MySQL, since they don't have a long history in stored procedure (its support is still release-candidate state). Why don't you try Firebird? It's easy, it has a long history (since it was born from Borland's Interbase), it supports views, stored procedures and so on. Oh, a

Re: Combined fields validation with Validator

2005-04-11 Thread Rodolfo García Esteban/CYII
Thanks Erik Rodolfo ___ Erik Weber <[EMAIL PROTECTED]> 12/04/2005 08:28 Por favor, responda a "Struts Users Mailing List" Para: Struts Users Mailing List cc: (cco: Rodolfo García Esteban/CYII) Asunto: Re: Combined fi

Re: Combined fields validation with Validator

2005-04-11 Thread Erik Weber
http://struts.apache.org/userGuide/dev_validator.html See the sections on the "requiredif" and "validwhen" validators. Erik Rodolfo García Esteban/CYII wrote: Hi, I need to do a validation of required fields who depends of the values of previos fields. More clearly, I have a radio button to choos

Combined fields validation with Validator

2005-04-11 Thread Rodolfo García Esteban/CYII
Hi, I need to do a validation of required fields who depends of the values of previos fields. More clearly, I have a radio button to choose between select by date or by docnumber. If the radiobutton selected is date, the date is required and the numdoc isn't and viceversa. With Validator I can

Beginner Question: Which is the Best place to start

2005-04-11 Thread Balaji H. Kasal
Hi, I am quite new to Struts. Please let me know which is the best place to start with. I am interested to start learning from examples. Thanks in advance. --Balaji - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

BC4J

2005-04-11 Thread G V
Hi Anyone there to help me in Business components 4 java(BC4J)? I am getting a error Common.jpx not found.how to solve this? vim __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn

Re: html:cancel question

2005-04-11 Thread Rick Reumann
Eddie Bush wrote the following on 4/12/2005 12:42 AM: I personally handle this by having a javascript variable called "isCancelled" which I initialize to false. The onclick handler for my cancel button sets it to true. In my validation JavaScript, I check for this value first thing off the bat. W

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-11 Thread Rick Reumann
Pham Anh Tuan wrote the following on 4/11/2005 4:02 AM: Hi all, I don't know how to do Validation in Struts + iBatis + Dao. Because when I use above Structure, I must extends from BaseBean to create my own Bean. As you know, if we want to use Validator of Struts, our ActionForm must extends from Va

Re: html:cancel question

2005-04-11 Thread Eddie Bush
While that might be a good suggestion, it doesn't breech the topic of how to get the form to submit even when the user selects cancel. I personally handle this by having a javascript variable called "isCancelled" which I initialize to false. The onclick handler for my cancel button sets it to tru

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-11 Thread Pham Anh Tuan
but ... Larry, iBatis has BaseBean, BeanAction BaseBean here is extended from org.apache.struts.action.ActionForm BeanAction is extended from org.apache.struts.action.Action I must build my bean bases on BaseBean, which means that my bean must extend from BaseBean. But, to use validator of Struts

Re: [REFERENDUM] Struts is a Community

2005-04-11 Thread Andrew Hill
+1 Jesse Alexander (KBSA 21) wrote: First of all: Happy Birthday Ted (maybe a bit late, but I read the Struts mailinglist only in the office because of its hig volume) Is Struts a product? - If products means that it is marketed: I do not have the feeling - If

RE: Multiple struts-config.xml

2005-04-11 Thread Folashade Adeyosoye
I don’t see how you would have problems with names, if you have unique form names, you would also have unique attribute names. Even thou you have the same attributes: >From the example below, one can have a form attribute called id in each struts-config. This method had been used on a system tha

Re: [OT] get real path to jar file in jsp folder

2005-04-11 Thread Patrick L Archibald
How about: String realPath = getServletContext().getRealPath(""); Then modify to get to the correct directory. Thanx, PLA Ashish Kulkarni wrote: Hi Here is a data structure in my web project, c:\myproject - | - pages - | m

Repost: Bidimensional array for form property

2005-04-11 Thread simo-dev
Hello All, I'm back working on Struts since a few years. I'm still using struts 1.1 with JDK 1.4.2 I'm trying to post a form that contains fields with name like this one: file[5][10] and so on... in the ActionForm I've these code: private FormFile[][] uFile=new FormFile[10][100]; ... public

[OT] get real path to jar file in jsp folder

2005-04-11 Thread Ashish Kulkarni
Hi Here is a data structure in my web project, c:\myproject - | - pages - | my.jar WEB-INF- | classes lib all my servlets are in classes folder, how do i get the absoulte path for my

RE: html:cancel question

2005-04-11 Thread Stunger, Kevin J
For long running actions, I always prefer to use transaction tokens (built into Struts) and a processing/wait page. This keeps users busy watching instead of wondering why the page hasn't changed. --Kevin -Original Message- From: Derrick Koes [mailto:[EMAIL PROTECTED] Sent: Monday, Ap

Re: [OT]question about open source data base selection

2005-04-11 Thread Erik Weber
I read that document and I still don't get it. There is even a forum post about the article asking about the situation that is typical for many of us: having a proprietary JDBC- or PHP-based application that connects to a single MySQL server (not embedded) using Connector-J. The author of the a

Intermittent Null pointer in ComponentDefinitionsFactory

2005-04-11 Thread Ford, Chris
Hello - We've been seeing the following exception intermittently in our test environments. The user sees a blank screen. We have not been able to establish a pattern. We're using Struts 1.1 with JDK1.4.204 <> <> <[ServletContext(id=13205013,name=atm,context-path=/atm)] action: init

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 -Origin

html:cancel question

2005-04-11 Thread Derrick Koes
I have a function to disable buttons onsubmit because I don't want the user to keep clicking, especially for long running actions. However, this seems to interfere when the button is an html:cancel, which is a type of submit. It seems to ignore the correct behavior of cancelling and attempts t

RE: [OT]question about open source data base selection

2005-04-11 Thread Fogleson, Allen
In my experience at least two of the databases you list excel at something my one caveat is, that although postgresql does do everything you want I have found it to be rather slow under load. That may be because there is little documentation on tuning it and such. MYSQL simply screams at reads. I

Re: [OT]question about open source data base selection

2005-04-11 Thread Dave Newton
Fogleson, Allen wrote: "These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections w

Re: [OT]question about open source data base selection

2005-04-11 Thread Nick Heudecker
Refer to the "End users" section in the following document: http://dev.mysql.com/tech-resources/articles/mysql-network-and-you.html On Apr 11, 2005 1:55 PM, Fogleson, Allen <[EMAIL PROTECTED]> wrote: > Dave, > > I'm confused here. What do you mean by "link to it?" > > If I simply use the conne

Re: [OT]question about open source data base selection

2005-04-11 Thread Craig McClanahan
On Apr 11, 2005 11:55 AM, Fogleson, Allen <[EMAIL PROTECTED]> wrote: > > So if you distribute a program that uses Connector-J you may be required > to provide the source code, etc to Connector-J but you do not have to > GPL your own code, as that can be distributed totally separate from > connecto

RE: [OT]question about open source data base selection

2005-04-11 Thread Fogleson, Allen
Dave, I'm confused here. What do you mean by "link to it?" If I simply use the connector-J drivers in my appserver, or directly using the DriverManager in a program it is not a violation of the GPL. Mostly the GPL protects Connector-J itself, and any derived works. In fact the GPL provides for n

Re: Html:cancel question

2005-04-11 Thread Rick Reumann
Rather than try to handle all of this on the client side with javascript, it might be better and easier to just use the Token approach to handle duplicate submits. I believe there was an email just today about this. You can disable the button but the user can still just hit enter again and you'

Html:cancel question

2005-04-11 Thread Derrick Koes
I have a function to disable buttons onsubmit because I don't want the user to keep clicking, especially for long running actions. However, this seems to interfere when the button is an html:cancel, which is a type of submit. It seems to ignore the correct behavior of cancelling and attempts

Re: session expiration issue and tiles

2005-04-11 Thread Dave Newton
sudip shrestha wrote: I can understand presenting different menu options based on user privileges and having the same layout pages. But my concern is there may be some pages which a user with less privileges may not be allowed to see at all, and what if he finds the url of that page and types the

Re: [OT]question about open source data base selection

2005-04-11 Thread Dave Newton
Ashish Kulkarni wrote: mysql, postgre sql, Ingres by CA, Derby from apache , Note that the JDBC Connector/J for MySQL is GPL--if you link to it in your code your code must also be GPL'ed. Dave - To unsubscribe, e-mail: [EMAI

Jasper problem

2005-04-11 Thread Wiebe de Jong
I've been struggling with a problem for two days and I am hoping somebody here might have an idea. I am using Struts 1.1 with tiles and have a long JSP with about 30 form fields, some with option lists which are stored at the application level. Everything is working fine, then I make one change.

RE: Need Database Connectivity Advice

2005-04-11 Thread Daniel H. F. e Silva
Hi I think now i'll have to go into this thread :) I recommend looking at list's archive. We already had this discussion at least 2 or 3 times before. But, if you are a lazy bastard like me, i'll point a summary of our past discussions adding my opinion: Hibernate: - Good: active proj

Re: Need Database Connectivity Advice

2005-04-11 Thread Duncan Mills
Depending on your feelings towards paying for an O/R mapping solution, there are two long established O/R mapping mechanisms from Oracle. * TopLink (http://www.oracle.com/technology/products/ias/toplink/index.html) * ADF Business Components (http://www.oracle.com/technology/produc

RE: session expiration issue and tiles

2005-04-11 Thread Michael Oliver
We have all our jsp pages preceded by an Action, we have no jsp pages accessed directly. All our actions have security. We have even looked at tiles and the way they can be hidden as well. I offer this as our way of ensuring each page has adequate security. I also offer it as a way to simplify

Welcomefiles and Mapping with Wildcards

2005-04-11 Thread Ole Hildebrandt
Hi. I have a webapp which spans up "virtual" directories with the following mapping So you get different index-Pages for http://myhost/webapp/index.do http://myhost/webapp/mycompany/index.do http://myhost/webapp/mycompany/mydepartment/index.do Now the problem is: I need like to

Re: jsf] RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread Duncan Mills
[EMAIL PROTECTED] is also active, but not to the extent of the MyFaces user list. Duncan http://www.groundside.com/blog [EMAIL PROTECTED] wrote: Hi Is there any other "real" list than MyFaces :) Hermod -Original Message- From: Jesse Alexander (KBSA 21) [mailto:[EMAIL PROTECTED] Sent: Mond

Re: [REFERENDUM] Struts is a Community

2005-04-11 Thread Rick Reumann
Marsh-Bourdon, Christopher wrote the following on 4/11/2005 9:26 AM: How's about calling us a "prommunity" where the product is the community (in part)? Yea, I like this - it's similar to Kramer and Frank's "bro" or "manzier":) (Happy belated birthday Ted) -- Rick --

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-11 Thread Larry Meadors
I am not sure why this is a problem, unless you are passing your action form into iBATIS. If that is the case, that is a really, really, really bad idea. What I would recommend (beyond not using validator) is nesting your model bean on the action form. Larry On Apr 11, 2005 2:02 AM, Pham Anh

Re: [OT]question about open source data base selection

2005-04-11 Thread Tom Ziemer
Hi, from my experience, I can recommend PostgreSQL. It's quite easy to setup, it's reliable and has all the functionality you require (views, stored procedures, foreign key constraints). As to the license: "And because of the liberal license, PostgreSQL can be used, modified, and distributed by

Populate method of ActionForm

2005-04-11 Thread David Evans
Hello All, When i first heard about struts, i was developing all in jsps. I read about struts and at the same time MVC, and thought, "Well obviously thats the way to go". So before i allowed my self to use struts i first created my own "strutsLite" based on my very small understanding of struts. I

[OT]question about open source data base selection

2005-04-11 Thread Ashish Kulkarni
Hi I am working on a intranet project, we plan to use a open source database, there wont be a lot of load on it, may be a 500-700 records written or deleted per day. I would like to have a database which has features like views, stored procedures, foreign key constraint etc Which would you guys pre

Re: [REFERENDUM] Struts is a Community

2005-04-11 Thread Dakota Jack
Happy Birthday, Ted. Many more! Both and they are not antithetical or a choice. Jack On Apr 10, 2005 4:55 AM, Ted Husted <[EMAIL PROTECTED]> wrote: > As of about 2a EST this morning, 134,788 messages were posted to this > list. Even for five years, that's a lot of traffic! > > Most of those me

Re: [REFERENDUM] Struts is a Community

2005-04-11 Thread gdeschen
It is simply a community. I my case I had started my own version of Struts without realizing that there was already one created but with a community behind it ! I soon stopped using my own and switched to Struts. [Okay, I still have on application in production yet to be converted] In the end S

RE: jsf] RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread Jesse Alexander (KBSA 21)
so far the [beer] and [OT] threads that make up the "other" part of the struts-mailing list are missing though ;-) Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 3:12 PM To: user@struts.apache.org Subject: RE: jsf] RE: [REFER

Re: session expiration issue and tiles

2005-04-11 Thread sudip shrestha
Dave: I can understand presenting different menu options based on user privileges and having the same layout pages. But my concern is there may be some pages which a user with less privileges may not be allowed to see at all, and what if he finds the url of that page and types the url in the brows

Re: [REFERENDUM] Struts is a Community

2005-04-11 Thread Frank W. Zammetti
The safe answer is of course that it is both, and it's the answer I give... If it was only a product, I would say it would be worth considerably less if there wasn't such a great community built around it... And if it was just a community I would say that is kind of pointless without a product at

RE: Need Database Connectivity Advice

2005-04-11 Thread hermod . opstvedt
Hi Wake up!! Use Hibernate. It will give you some initial gra hairs, but thereafter you will never look back. Hermod -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:56 PM To: user@struts.apache.org Subject: Need Database Connectivity Advice

RE: jsf] RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread hermod . opstvedt
Hi Is there any other "real" list than MyFaces :) Hermod -Original Message- From: Jesse Alexander (KBSA 21) [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:48 PM To: Struts Users Mailing List Subject: [OT: jsf] RE: [REFERENDUM] Struts is a Community which JSF list? the myface

Re: Need Database Connectivity Advice

2005-04-11 Thread David Evans
Here's how i use the tomcat database pool. (these are just the relevent snippets, if you need the entire source, email me off list and i'll email you the entire DAO) In my DAO: import javax.sql.DataSource; import javax.naming.Context; import javax.naming.InitialContext; import java.sql.Connection;

RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread Marsh-Bourdon, Christopher
How's about calling us a "prommunity" where the product is the community (in part)? Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Simon Chappell [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 14:18 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [

Re: [REFERENDUM] Struts is a Community

2005-04-11 Thread Simon Chappell
Ted, I say it's both. The software that we download is a product, but the mailing list and the friends that we have made through it is a community. Simon On Apr 10, 2005 6:55 AM, Ted Husted <[EMAIL PROTECTED]> wrote: *snip* > What do you say? Are we a product or a community? > > Here's my +1 f

Re: Need Database Connectivity Advice

2005-04-11 Thread Rodolfo García Esteban/CYII
I would use hibernate. It´s the best framework for object-persistence (I think), works very well with struts + Tomcat 5.0 (I haven't thes 5.5). I think it would be a good approach Rodolfo "Scott Purcell" <[EMAIL PROTECTED]> 11/04/2005 14:56 Por favor, responda a "Str

Re: Need Database Connectivity Advice

2005-04-11 Thread Tom Ziemer
Hi, you might want to take a look at Hibernate (www.hibernate.org). It's a powerful yet (fairly) easy to use persistence layer, that can even be used with an existing database schema (Middlegen). There is also a lot of documentation (on- and offline) available for this project. Regards, Tom Sco

Need Database Connectivity Advice

2005-04-11 Thread Scott Purcell
I am at a crossroads of information today, and could use some advice. Prior to using the Struts framework, I had a roll-your-own database pooling solution that of course required threads and Vectors of connections, etc. Upon the start of another new project, I found myself Friday trying to figur

[OT: jsf] RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread Jesse Alexander (KBSA 21)
which JSF list? the myfaces-list or another one? (I follow myfaces, because sun offers only a rather unfriendly forum...) Alexander (promoting Struts until I got JSF ready for our people ;-) ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 11,

RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread hermod . opstvedt
Hi Nag Nag - Have you followed the JSF list lately ? Hermod (A great fan of Struts - and lately also JSF/Shale) -Original Message- From: Jesse Alexander (KBSA 21) [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 11:02 AM To: Struts Users Mailing List Subject: RE: [REFERENDUM] Strut

RE: Multiple struts-config.xml

2005-04-11 Thread Mark Benussi
Exactly what I was going to say James, I started to use modules, but switched to multiple configs as it was becoming a nightmare. All my actions in each config share a pattern like James suggested. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 11:42

Re: Multiple struts-config.xml

2005-04-11 Thread James Mitchell
I would caution anyone about using Modules. It is not for the beginner. Working with Struts Modules can be extremely confusing to the novice Struts developer. I think a better solution is to suggest that they use multi config, but make sure they use a common pattern between multiple config xml

RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread Jesse Alexander (KBSA 21)
First of all: Happy Birthday Ted (maybe a bit late, but I read the Struts mailinglist only in the office because of its hig volume) Is Struts a product? - If products means that it is marketed: I do not have the feeling - If product means something like MS Off

[HELP] How to do validation in Struts + iBatis + DAO???

2005-04-11 Thread Pham Anh Tuan
Hi all, I don't know how to do Validation in Struts + iBatis + Dao. Because when I use above Structure, I must extends from BaseBean to create my own Bean. As you know, if we want to use Validator of Struts, our ActionForm must extends from ValidatorForm. So ... help me. bowl

Struts FormBean

2005-04-11 Thread Neil Meyer
Hi All, I have a problem trying to write back to my form bean. Please tell me if the following is possible. I have the following formbean : private UserObject UserObject; private ArrayList userDetails; private String mustDisplayButton1; private String mustDisplayButt