Micael wrote:
To everyone:
I am not of the Christian faith, so I do not join in the "Christ" in
"Christmas," but do have my own faith which also celebrates this time of
year, and I wish you all the best of Holidays. Jerusalem turned out to
be the hub of many major world religions, and so did
having read the tip about ImageButtonBean, i decided to give it a go
with one of my forms. i added the relevant properties and accessor
methods to my form [actually to a superclass of my form] (shown below)
and changed the properties of each button in the associated jsp (i'm
using several element
Just in time for Xmas
BALTIMORE - Microsoft must include rival Sun Microsystems' Java
programming language in its Windows operating system, a federal judge
ruled Monday.
http://story.news.yahoo.com/news?tmpl=story&u=/ap/20021224/ap_on_hi_te/m
icrosoft_sun_7
I'm sure they will fin
This is Peter Pilgrim, "live en la casa en London"
Merry Christmas, Happy Kwanza, Happy Holidays, or Winter Festival,
"Schoene Weihnachten", "Buena Navidad"
and Bottom Solstice Interlude to everybody.
Keep on moving
--
Peter Pilgrim
ServerSide Java Specialist
My on-line resume and for interview
you can create a collection for the rights and store it in application
context when your application starts(may be in an initialization servlet).
then use the tag and tag to render the admin
picklist(s).
you can use ten tags for login fields or look into the
possibility of using an array for l
you can remove the form from request or session based on the scope in which
u stored the form after database is updated succesfully.
// Remove the obsolete form bean
if (mapping.getAttribute() != null) {
if ("request".equals(mapping.getScope()))
req
you can configure your action mapping with validation="false" and do the
validation in ur action class by calling the validation
method of your form(DynaValidatorForm).
struts does not call the validation method, as validation="false"
you can check in ur action class which button was pressed and c
Hi, I just wanted to ask for a recommendation on doing say a member update
form.
Do I need two Actions, one for retrieving the data and populating the form,
then forwarding to a jsp page, and one for validating and updating the db?
This is the first thing that came to my mind, so I wondered if som
Are you importing
import javax.servlet.ServletContext;
???
Ilya
-Original Message-
From: Fatih Algan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 2:19 PM
To: [EMAIL PROTECTED]
Subject: Reaching the ServletContext from Action class
Hello, I'm a struts newbie, so my q
Hello, I'm a struts newbie, so my question may seem
somewhat simple or silly. I'm trying to learn how to
use the struts JDBC Connection Pooling facility.
Here's what I've done
1.Defined a datasource in struts-config.xml
2.Created my Action class:
3.Try to reach to SefvletConte
To everyone:
I am not of the Christian faith, so I do not join in the "Christ" in
"Christmas," but do have my own faith which also celebrates this time of
year, and I wish you all the best of Holidays. Jerusalem turned out to be
the hub of many major world religions, and so did this time of
y
For those who see this error in the future:
This turned out to be a problem with
slightly invalid XML in struts-config.xml,
not web.xml, as the error may lead you to
believe.
The tool that helped me figure this out was
James Holmes' Struts Console application.
Nice work, thanks.
Otis
On T
On Tue, 24 Dec 2002, Oliver Adolph wrote:
> Date: Tue, 24 Dec 2002 11:45:09 +0100
> From: Oliver Adolph <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: AW: AW: Problems with Eclipse and Struts
>
> Hi e
+1 on :)
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 7:41 PM
To: Struts Users Mailing List
Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE
On Mon, 23 Dec 2002, James Mitchell wrote:
> +1
>
>
> ...and a very Merry Christmas to yo
In this page :
http://jakarta.apache.org/struts/userGuide/dev_validator.html
the doc says :
The most fundamental change is the ability to conditionally require
validator fields based on the value of other fields. It allows you to define
logic like "only validate this field if field X is non- null
Have two submit buttons with different names and values.
Have a property for each in your form.
In your validate method check the value of each. Only the button that was
clicked will have a nonnull value.
Example:
html:
form class:
...
private String submit;
private String back;
...
validate
Look at the "requiredif" validation in the current nightly builds.
James
> -Original Message-
> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 24, 2002 11:07 AM
> To: 'Struts Users Mailing List'
> Subject: RE: 2 submit buttons with different action
>
>
> Sor
Sorry but I don't use yet the DynaValidationForm, so I don't know how to
configure it :-(
I don't know how is defined a validation.xml file but it is not possible to
define dependencies between several fields ??
If this field equals "bidule" then this other field should be equal to truc
???
If i
Hi,
I m using DynaVaidationForm so struts automatically
checks for the validation depending upon the
defination in validation.xml
is there a way out by using DynaValidationForm
Ashish
--- Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> you can define a property in your form bean with a
> different va
Merry Xmas and Happy new year everybody.
Good luck for all of those who try to finalize a b3.
Thanks a lot for all the dev team.
cheer !
Arnaud.
> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 24 décembre 2002 16:43
> À : [EMAIL PROTECTED]
> O
you can define a property in your form bean with a different value if you
use one button or the other.
In your validation method you test this property to verify if you check the
others fields or not.
Arnaud
> -Message d'origine-
> De : Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
> Envoye
+1 on that!!
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 23, 2002 9:41 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE
>
>
>
>
> On Mon, 23 Dec 2002, James Mitchell wrote:
>
> > +1
> >
> >
> > ..
Hi,
I have 2 buttons on one jsp, one is submit button and
the other is back. I want to use only one action form
to handle both the events, I am using
DynaValidatorForm.
So the problem i amfacing is, the fields get validated
even if i press the back button,
Is there a way to make sure that the val
Hi,
I have one jsp page with 2 text fields, I am using
DynaValidatorForm,
I have an action form where in i call an program to
update the database with these vaues.
and reloads the same jsp
Now the problem is
1> I have defined the 2 text fields as following
When there is some error, i get the er
One approach is to use the nested tag library (if you are using Struts 1.0.2 it's a
separate download from www.keyboardmonkey.com/next/index.jsp). Using it you can
display questionText for example as :
if _formBean is the form-bean associated with the action 'foo'.
Sri
> -Original M
Hello,
I see. I thought
org.apache.velocity.tools.view.servlet.VelocityViewServlet
replaces Struts' ActionServlet. However, it
seems that it is not an alternative Action
Servlet for use with Velocity, as I thought,
but rather an additional servlet capable of
dealing with Velocity templates, and
Well, I just reviewed "Struts Kick Start" and posted that yesterday to the list, so I
think that I can recommend that to you. Sue Spielman's "The Struts Framework:
Practical Guide for Java Programmers" is also good if you are past the newbie stage.
I haven't read Ted's book yet (Oh the shame! :-
Amen Craig.
Christ is the reason for the season! :-) \o/
Praise the Lord.
Simon "Acts 2:38" Chappell
-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist www.landsend.com
Lands'
"Struts in Action" is very good. It deals with 1.0.2 and 1.1 as well, and the
differences are clearly stated. I highly recommend it.
-= J
> -Original Message-
> From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 24, 2002 7:04 AM
> To: Struts Users Mailing List
> Su
We have a client server application that we are taking to the web using
Struts 1.1.
I have the following code using select boxes. This allows users to set
privilege levels on differing sections of the application when creating new
users. The only problem is that select boxes require two clicks (
Best Buy doesn't carry any books on Struts, you may want to try Borders
or Bookpool.com
-Original Message-
From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 7:04 AM
To: Struts Users Mailing List
Subject: Re: struts books - review
David,
There are number of
>Have a Merry Christmas everyone!
+1
here the beer-ed "santa claus" :
http://www.a-very-merry-christmas-from.com/miniworldgames/sobersanta.html
My score is 952 ;)
--- kiuma <[EMAIL PROTECTED]> a écrit : > Happy holidays also from me!
> kiuma
> Justin Ashworth ha scritto:
>
> >Amen, Craig
David,
There are number of books available on struts right now.
The O'reilly book does not seem to be up-to-date with latest version of
struts.
Do you think this book is the best buy.
Regards
Puneet
- Original Message -
From: "David Rothschadl" <[EMAIL PROTECTED]>
To: "Struts Users Mailing
I forgot to mention that I'm familiar with struts 1.1b2.
I'm looking for a book for advanced users.
-Original Message-
From: David Rothschadl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 2:41 PM
To: Struts Users Mailing List
Subject: Re: struts books - review
Arik,
If you
Arik,
If you are a newcomer to Struts, 'Struts in Action' from Manning publishing is a great
place to start. It is more of a tutorial, explaining everything in detail, as opposed
to assuming that the reader is a Java expert. It has certainly helped me.
David R
"Arik Levin ( Tikal )" <[EMAIL PRO
I am still fighting .. help help!!
I have a form with 10 login id displayed as text field and ther admin rights chosen
from a drop down lists .. all drop down lists are same.
looks like this ..
Login Id1 AdminRight1
Login Id2AdminRight2
Login Id3AdminRight2
.
.
Happy holidays also from me!
kiuma
Justin Ashworth ha scritto:
Amen, Craig.
Have a Merry Christmas everyone!
Justin
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 10:41 PM
To: Struts Users Mailing List
Subject: RE: [OT] HAPPY
Hi all.
I'm considering of getting one of Struts books, which one should
I get?
Thanx.
Amen, Craig.
Have a Merry Christmas everyone!
Justin
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 23, 2002 10:41 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE
>
>
>
>
> On Mon, 23 Dec 2002, Jam
Hi everybody. I finally figured a way out to debug my web application.
I start Tomcat standalone, but changed the start command to
C:\j2sdk1.4.1_01\bin\java.exe -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,address=8000 -jar
-Duser.dir="C:\Tomcat4.1" "c:\Tomcat4.1\bin\bootstrap.jar" start
Tha
Van nuys, James. Cheers.
At 11:27 PM 12/23/02 -0500, you wrote:
With apologies to Clement Clarke Moore
'twas the night before Christmas, and all 'cross the net.
Not a user was typing, the code was all set.
The patches were entered and each file was checked in,
In hopes that 1.2 New Years would
HI,
>From the stack trace it seems that it is not finding the core classes for
catalina...I had similar problems with my laptop and I solved it somehow..I
dont remember exactly but vaguely this is what i did.(But i am using tomcat
4.1.12 and Eclipse 2.0 )
Go to wnodow->preferences->plugin develo
Well.
Maybe I'm just getting old, but I tend to add additional debug code into my
applications and use a lot of log statements.
I am in the position that I sometimes (well often) have to debug client's applications
over a Telnet connection, so I can't rely on the abilities of an IDE. I have g
Hi Howard,
But how do you debug your application ?
Oliver Adolph
-Ursprüngliche Nachricht-
Von: Howard Miller [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 24. Dezember 2002 10:30
An: Struts Users Mailing List
Betreff: Re: Problems with Eclipse and Struts
Hi,
I use much the same se
Hi,
I use much the same set up as you and had lots of problems with those plugins.
Personally I don't use them, I find it *much* easier just to keep a terminal/dos
window
open and use Ant to build and test the application. The Ant build script that is
described in the Tomcat documentation (alt
Hi,
I hope anybody can help me with this issue.
I have a web application, which runs under Tomcat 4.1.18. It uses Struts
1.1B2. I also use Eclipse 2.0.2 with the Lomboz and the Sysdeo plugins.
Now I run into the following problem:
When I try to start Tomcat through one of the plugins to debug th
hi!
I am not sure if this is the correct way to call an action from HTML ..
if we want to call it as form action .. then we should give full path like
"/foo/login.do" .
try and enlighten me too :-)
cheers!
Jitendra
- Original Message -
From: "otisg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
The easiest way in 1.0.2 would be to use the template library. You can also
integrate Tiles but that's a bit more work. Tiles is integrated in 1.1 and
the template library is deprecated. See the user's guide for details.
David
From: usha <[EMAIL PROTECTED]>
Reply-To: "Struts Users Maili
The authentication filter will check for a valid flag in the session
indicating the user has logged in. I use a Person object identifying the
user for this. If it's not there, send them to the login screen.
Just put the login page outside the protection of the filter to prevent the
filter from
Hi,
I wanted to clear a doubt about this. Do I remove the conventional login
check from my LoginAction to the filter ? That seems to be the right way to
use a filter.
1. Check for the user container( username,password object ) in the
session.
2. Call the isNew() method of the
Hi,
To insert a definition from the factory, you simply call or .
Check the tiles tags syntax for other options:
http://jakarta.apache.org/struts/userGuide/struts-tiles.html#insert
Cedric
Jay Burrill wrote:
I'm a Tiles newbie and am having difficulty implementing a tiles
definition fact
51 matches
Mail list logo