Hi List,
I got my mistake it was the wrong package given for the Class
DynaValidatorForm
Amol
-Original Message-
From: Amol Yadwadkar [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 11:13 AM
To: user@struts.apache.org
Subject: DynaValidatorForm problem
Hello List,
I am usin
Hello List,
I am using the DynaValidatorForm but at the initialization it gives
these errors
Snippet of struts-config.xml :
Hi Gurus,
Sorry for the OT.
I have been working on jsp/servlets for a last four years to create web pages.
Now that I have found out there is more out there, I am in a dilemma. Which
one should I learn and why? I have a big web project coming up and was
wondering which of these I should ch
Adam Hardy wrote:
Craig McClanahan on 03/08/05 23:10, wrote:
I just uploaded the slides from my OSCON talk this afternoon,
comparing several web frameworks on how they implement six major
architectural features. Several people have asked for them, so here's
a link:
http://people.apache.org
Hi Gurus,
Sorry for the OT.
I have been working on jsp/servlets for a last four years to create web pages.
Now that I have found out there is more out there, I am in a dilemma. Which
one should I learn and why? I have a big web project coming up and was
wondering which of these I should ch
Hi,
I ran into a strange problem with the validation of form input that
includes an uploaded file in Struts 1.2.7. I wrote a custom validation
method for validating the file size of an uploaded file:
public static boolean validateFile(Object bean,
Validator
Lionel free.fr> writes:
>
> Deepak wrote:
> > Hi,
> > Is there a way to upload multiple files at once ?
>
> Zip them before.
>
hi u can take multiple FormFile in the form and u can do, i have tried and i
got,
-
u can download MyEclipse (MyEclipse Enterprise Workbench) from Myeclipseside
stie. It provides tools for handling struts.
For application resource:See if u have configured tag. in
struts_config.xml
On Fri, 05 Aug 2005 [EMAIL PROTECTED] wrote :
>hi all,
>i'm new to struts , i just come up wi
hi Geeta ,
thanx for the link , which u have send me , i'll go through , thanx very much
regards
anoop
On 8/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Anoop:
>
> Have you looked at this page:
>
> http://www.systemmobile.com/articles/strutsMessageResources.html
>
> Regards,
> Geet
hi all,
i'm new to struts , i just come up with the concept and i would like
to know where i'll get struts plugin for eclipse for jboss server in
linux .
i'm working on internationalization , i deployed an application but
i'm getting an error message in the index.jsp page
javax.servlet.ServletExce
www.dynamicdrive.com
I don't recall ever actually using anything from that site, I tend to
write all my own client-side stuff, but I've very definitely gotten
inspiration from some of the stuff there. :)
Frank
Laurie Harper wrote:
When it comes to server-side Java components and libraries, I
Hi,
How do I implement token handling in dispatch Action?
Regards,
Girish
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
noti
When it comes to server-side Java components and libraries, I generally
find most of what I need at Jakarta or elsewhere at Apache; it's certainly
one of the first places I always look. Is there a 'Jakarta' of client-side
components?
Lately I've been keeping my eye out for good Javascript reso
Michael Jouravlev wrote:
Yes, this is exactly what I mean. This is evil. I take that you have
not used Object Pascal?
I've actually seen it, although I can't say I've personally used it.
property MaxLength: Integer read FMaxLength write SetMaxLength default 0;
There's nothing to stop you
On 8/4/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote:
> > If getters and setters do nothing more than simply read field or set
> > field, then they are evil, you do not need Rod Johnson to tell you
> > that ;)
>
> I think I may... why exactly is this evil?
>
> We're t
Michael Jouravlev wrote:
If getters and setters do nothing more than simply read field or set
field, then they are evil, you do not need Rod Johnson to tell you
that ;)
I think I may... why exactly is this evil?
We're talking, at the most basic level, about a construct that
encapsulates prop
On 8/4/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> Each software system (which is large enough...) has more then one layer.
> Different layers usually handles same data. Each of the layers has ist own
> view on the data. The business layer, which has to calculate the salary of
> an employee is
Rick Reumann on 04/08/05 19:12, wrote:
In particular, CRUD actions are not behaviour of the business object
('save employee object to the database' is not an operation that makes
sense in the context of the business domain, it's an implementation
artifact [speaking broadly]). That's partly wha
Because your dealing with a database, you may want to try the
DownloadAction... it will deal with at least some of the details. IIRC,
somewhere on the Wiki is an example I wrote of using it specifically
returning an object from a database. II-DON'T-RC, ping me, I know I've
done it at some poi
> -Ursprüngliche Nachricht-
> Von: Michael Jouravlev [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 4. August 2005 23:27
> An: Struts Users Mailing List
> Betreff: Re: DTOs are evil
> So, DTOs are useful where:
> * model was done incorrectly
> * in cases of really severe bandwidth co
From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]>
I am writing a Struts application which needs to read a database, fetch an
image inside a blob field and display it in a JSP page in two different
ways:
- Within a thumbnail size inside a column of a normal html . Which
means the image needs
Hello all,
I am writing a Struts application which needs to read a database, fetch
an image inside a blob field and display it in a JSP page in two
different ways:
- Within a thumbnail size inside a column of a normal html .
Which means the image needs to be resized for displaying purposes.
Al
Hi Anoop:
Have you looked at this page:
http://www.systemmobile.com/articles/strutsMessageResources.html
Regards,
Geeta
"peeths @struts" <[EMAIL PROTECTED]>
08/04/2005 04:08 PM
Please respond to
"Struts Users Mailing List"
To
user@struts.apache.org
cc
Subject
{Spam?} help on plugin and
On 8/4/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> The idea of a DTO is to encapsulate the persistence logic so that it can be
> independent of the model representation and business logic, and easily
> replaceable.
I thought that this is the idea of DAO.
> There's nothing saying you can't put
Hello,
I propose to modify Struts documentation named "Realm Configuration HOW-TO"
located at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html.
Today I spent at work 4 hours (!) fighting with DataSourceRealm. I had a
continuously error: "javax.naming.NameNotFoundException: Name
hi all,
i'm new to struts , i just come up with the concept and i would like
to know where i'll get struts plugin for eclipse for jboss server in
linux .
i'm working on internationalization , i deployed an application but
i'm getting an error message in the index.jsp page
javax.servlet.ServletExce
Hi all:
This is my first message to the list after a *very* long time so I
apologize in advance if this is either considered OT (I couldn't find a
JSF list??) or this topic has been recently discussed. I am trying to
integrate my struts+tiles(+xdoclet) app with jsf and am having trouble
with i
Albi,
I commented out all the below stuff you mentioned in my web.xml and also in
my struts-config.xml I just left the plugin tags and commented rest of them.
I still get the same error and nothing in the logs I find the same stack
trace. I also find one extra error during the server start up as f
On Thu, August 4, 2005 2:12 pm, Dave Newton said:
> Frank W. Zammetti wrote:
>
>>ArrayList getClientList();
>>ClientDTO getClientInfo(String id);
>>boolean saveClient(ClientDTO client);
>>boolean deleteClient(String id);
>
> (Hey, shouldn't getClientList return a List? ;)
Yep, I suppose it should
Wendy Smoak wrote the following on 8/4/2005 1:27 PM:
That prevents the framework from re-displaying the user's input if the
form fails
validation.
At the risk of repeating myself: the place to pre-populate your form beans
is in the Action, before you forward to the JSP.
Yes exactly.
A
Laurie Harper wrote the following on 8/4/2005 12:58 PM:
Looking up lists of things is sort of a meta-concern; you're right,
putting that on the Employee object would clutter things up, especially
when you start needing more complex queries -- e.g.
getEmployeesEligibleForPerformanceBonus() etc.
Frank W. Zammetti wrote:
ArrayList getClientList();
ClientDTO getClientInfo(String id);
boolean saveClient(ClientDTO client);
boolean deleteClient(String id);
In any case, only these FBs know anything about how the data is stored.
I do much the same thing defined as an interface so I can swi
THanks for your reply. Here is my plug-in part from struts-config.xml. I
don't have a Controller part.
here is web.xml
http://java.sun.com/dtd/web-app_2_3.dtd";>
AcaosaRegis
--- Gary VanMatre <[EMAIL PROTECTED]> wrote:
> Try a reservation of name filing. It is a short one that is open to
> the public. You are able to view the statement before paying for it
> (uses the embedeed pdf).
>
Gary,
very nice!! thanks for this great tip, i'm sure it will come in handy
i
Post your
web.xml file... (you can omit mime defs from it)
and the controller and plugin part of your struts config file
rgds
aleiprecht
-Original Message-
From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 6:41 PM
To: 'user@struts.apache.org'
Subject:
From: "Laurie Harper" <[EMAIL PROTECTED]>
This really should be an FAQ :-) The problem is that it's not legal to
nest JSP tags that way. Try:
That prevents the framework from re-displaying the user's input if the form
fails
validation.
At the risk of repeating myself: the place to pre-
This really should be an FAQ :-) The problem is that it's not legal to nest
JSP tags that way. Try:
L.
Swapnil Patil wrote:
HI all,
I want to populate html :text from someBean (request scope)
and also want to associate that html:text with FormBean.
My jsp page is like this
Rick Reumann wrote:
I do agree, though, with what others have said that DTOs/ValueObjects
aren't really that OO. It's funny that the subject comes up because I
was a late bloomer to the programming world (started about 6 years and
was a waiter and science teacher before that:), and when I first
I too have taken something of a hybrid approach in most cases...
I created something called a Function Bean (FB), which for all intents and
purposes is really just a DAO. For instance, in one app I have a ClientFB
class that has methods like:
ArrayList getClientList();
ClientDTO getClientInfo(St
On 8/4/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Rick Reumann wrote:
> > Michael Jouravlev wrote the following on 8/3/2005 9:07 PM:
> >> http://www.theserverside.com/news/thread.tss?thread_id=35233
> > Just curious what are Rod's exact views on the DTO? I searched for DTOs
> > on that link you
Hello,
I am trying to deploy my Struts application on Tomcat 5.0.28 on Win2k. I get
the following error on my browser when I try to start up. My application has
tiles in them and I believe I configured everything properly. I was able to
successfully deploy and run the application in Websphere App
Rick Reumann wrote:
Michael Jouravlev wrote the following on 8/3/2005 9:07 PM:
http://www.theserverside.com/news/thread.tss?thread_id=35233
Just curious what are Rod's exact views on the DTO? I searched for DTOs
on that link you posted but only saw posts by other people.
Mechael's referring t
> hihi,
>
> i've also worked quite a bit with generating PDF documents (iText,
> JasperReports via iReport) so i know Acrobat pains too. (yes Acrobat
> is very moody, it works one day then not the next, and only for ppl it
> likes) :)
>
> i went to that website:
> http://www.sos.state.co.us/biz
Thanks it worked! Actually had List of Objects I was forwarding. And in my
action class I just did the following as I was building the list
Object.setSelected(true);
Where the Object class had a boolean called selected.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTE
Swapnil Patil wrote:
Otherwise, the place to do this is in your Action, before you forward to the
JSP.
I am interested in populating Form before loading jsp page so that I can
assign values to HTML comtrols.
HOw to do that?
In your Action, before you forward to the JSP???
Wow, that was s
Nope what channel is it on?
-Original Message-
From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Sent: 04 August 2005 16:32
To: Struts Users Mailing List
Subject: Re: [OT] My O'Reilly Open Source Conference Talk
On 8/4/05, Mark Benussi <[EMAIL PROTECTED]> wrote:
> Ahem JSF is not a F
That's how my persistence framework goes.
All my data extends a data object which makes public CRUD methods that
accept a persister, you can then have File persisters, Database persisters
etc. An employee shouldn't have any knowledge of how they persist in an
enterprise IMHO. All that logic is pla
If someone have not noticed my another message, I have got the article
published. It discusses the idea of two-phase components, JSP controls
and Struts implementation:
http://today.java.net/pub/a/today/2005/08/04/jspcomponents.html
I hope that the article explains better what I has been offering
Hi,
I recently move my web application from Struts 1.2.4 to 1.2.7.
Since this, the tag doesn't behave as before because it doesn't
encode sessionid in url specified as href property when session cookies are
disable.
I compare TagUtils class source code between Struts 1.2.4 and 1.2.7 and
found t
Action mappings are not URLs. That is apples and oranges. Your
action mapping is completely independent of anything to do with URLs
and is a logical rather than physical based protocol.
On 8/3/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Am I doing something wrong? I have <%@ taglib
> uri=
Robert Taylor wrote the following on 8/3/2005 7:06 PM:
Rick, I'm sure you already have, but just in case you haven't...
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
It provides a pretty detailed explaination of how to configure
cross-context logging using either log4j or java.u
On 8/4/05, Mark Benussi <[EMAIL PROTECTED]> wrote:
> Ahem JSF is not a Framework, it is an implementation specification. Its
> not made by someone like Apache or Sun (But can be implemented by them to
> the specification or by another vendor, IBM etc). Struts is an application
> Framework, JSF
Two years ago you would be on your own. Now you have a bunch of solutions:
* Struts Workflow Extension:
http://www.livinglogic.de/Struts/index.html
* Struts Flow:
http://struts.apache.org/flow/index.html
* Spring Web Flow:
http://struts.apache.org/flow/index.html
* And my very own, Wizard
Michael Jouravlev wrote the following on 8/3/2005 9:07 PM:
http://www.theserverside.com/news/thread.tss?thread_id=35233
Just curious what are Rod's exact views on the DTO? I searched for DTOs
on that link you posted but only saw posts by other people.
I do agree, though, with what others ha
Hi all,
I am converting Wizard workflow into Struts framework.
Wizard page contains next,back,finish buttons.
I am considering 2 approches..
1)
/PrepareStep1.do -- step1Form --> forward to step1.jsp
step2.jsp
on next ---> ProcessStep1.do
/ProcessStep1.do --step1Form -->on success /PrepareStep2
hihi,
i've also worked quite a bit with generating PDF documents (iText,
JasperReports via iReport) so i know Acrobat pains too. (yes Acrobat
is very moody, it works one day then not the next, and only for ppl it
likes) :)
i went to that website:
http://www.sos.state.co.us/biz
but couldn't find
Only the path attribute 'should' be used. I will post the config
tomorrow so you can have a look... Maybe I did something else wrong
maybe there is a bug... I do not know. I will have another look before
the post tomorrow,
Cheers,
Fotis
-Original Message-
From: Woodchuck [mailto:[EMAIL PR
--- "Chatzinikos, Fotis, VF-GR Consultant"
<[EMAIL PROTECTED]> wrote:
> I had the same problem with my action executing twice and I tracked
> the
> problem in the struts-config file.
>
> When an action is of type X and a second completely different action
> is
> of the same type X then the proble
Please disregard ...
The solution was right in front of my eyes ;)
At the end of the logon action
if (getSessionAttribute("AFTERLOGON_DEST") != null) {
String tmpString = "" + getSessionAttribute ("AFTERLOGON_DEST");
removeSessionAttribute("AFTERLOGON_DEST");
return (ActionF
In your login jsp
" />
In your login action...
String redirect = form.get("url"); // providing your using a dyna type action
form
if ( redirect != null ) {
return new RedirectingActionForward( redirect );
}
return mapping.findForward("success");
Something like that should
Hi all,
I have overridden the RequestsProcessor#processRoles() to check whether a
user has sufficient Role to access an Action(an therefore a page). If he/she
hasn't, it is easy. I dump the request URI to the session and redirect to a
global forward (logon). That's all not so difficult..as the log
Ahem JSF is not a Framework, it is an implementation specification. Its
not made by someone like Apache or Sun (But can be implemented by them to
the specification or by another vendor, IBM etc). Struts is an application
Framework, JSF is a user interface implementation.
And I prefer the m
Hi I am working on a project and we are building an ear file that cosists of
2 jars and a war file. When deploying it on the Weblogic Server it reports
no errors, but when requesting the url from the browser it reports the
follwing error:
java.lang.NoClassDefFoundError: org/apache/struts/action
Well you're all primed to understand the explanation given at that link
then! Check it out, or have you no web access?
M4RC0 on 04/08/05 12:37, wrote:
so if i'm right... the entire phrase should mean:
JSF: obviously the dog's testicles
mmm ... i'm still confused :P
I mean, i'd lik
so if i'm right... the entire phrase should mean:
> JSF: obviously the dog's testicles
mmm ... i'm still confused :P
I mean, i'd like to know an opinion about JSF compared to other
frameworks, but also the english class is appreciated too :P
tnx
2005/8/4, Adam Hardy <[EMAIL PROTECTED]>:
M4RC0 on 04/08/05 11:54, wrote:
Sorry but:
what's the meaning of "dog's gonads"? :P
You can look up 'gonad' in any medical dictionary, but as for the phrase
I based it on, try this:
http://www.phrases.org.uk/meanings/114500.html
Sorry but:
what's the meaning of "dog's gonads"? :P
2005/8/4, Adam Hardy <[EMAIL PROTECTED]>:
> Craig McClanahan on 03/08/05 23:10, wrote:
> > I just uploaded the slides from my OSCON talk this afternoon,
> > comparing several web frameworks on how they implement six major
> > architectural featur
On 04/08/05, Kalra, Ashwani <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can some one give me some sample on how to validate the indexed
> properties in Struts 1.1
>
I assume you are using the default Validator plugin.
This is an excerpt from my validation.xml, using indexed properties.
Is the only solution a tiles controller?
Ok, I gotta go to my day job. I'll check in this afternoon.
Thanx.
From: "draegoon Z" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: RE: Pass errors to tile for popup
Date: Thu, 04 Aug 2005 00:15:07 +0
Craig McClanahan on 03/08/05 23:10, wrote:
I just uploaded the slides from my OSCON talk this afternoon,
comparing several web frameworks on how they implement six major
architectural features. Several people have asked for them, so here's
a link:
http://people.apache.org/~craigmcc/oscon_2005
Hi ,
As Wendy has mentioned-
Otherwise, the place to do this is in your Action, before you forward to the
JSP.
I am interested in populating Form before loading jsp page so that I can
assign values to HTML comtrols.
HOw to do that?
On 8/4/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> From: "C
I have dine something similar that works. I configure an action in the
struts config file that defines the formbean to use. Then the onclick
method of the link uses javascript to fill in the form and then calls
document.getElementById("myForm").submit() ;
The form bean arrives filled and ready to
I had the same problem with my action executing twice and I tracked the
problem in the struts-config file.
When an action is of type X and a second completely different action is
of the same type X then the problem occurs...
Check your config file for actions that share the same type...
Cheers,
Le Mardi 2 Août 2005 20:14, Dewitte Rémi a écrit :
> Hi !
> In a wizard, I have some "required" checks with struts-validator assigned
> to pages (with page=).
> There is sometimes a "jump" in the wizard so that a property is null. When
> validating the page after the jump, the server-side validatio
Aha!
StrutsWS 1.3 that I have uploaded in sourceforge cvs (strutsws project)
was
In fact using Struts 1.3 with customization of RequestProcessor
Am I the winner :)) ?
Regards
marco
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 04 August 2005 04:12
Hi,
Can some one give me some sample on how to validate the indexed
properties in Struts 1.1
Thanks
Ashwani
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If y
76 matches
Mail list logo