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
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
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
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
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
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
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
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
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
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
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
+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
I dont 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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'
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
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
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
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.
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
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
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
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
[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
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
--
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
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
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
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
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
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
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
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
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
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
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
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;
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: [
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
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
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
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
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,
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
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
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
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
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
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
61 matches
Mail list logo