Design Question - this is not strictly a struts question but relates to the
data structure underpinning the application and the mechanisms for accessing
that data so I hope I will be forgiven.
First, an explanation of (some of) the issues:
The project has both GUI (Swing) and Browser (Struts) int
Design Question - this is not strictly a struts question but relates to the
data structure underpinning the application and the mechanisms for accessing
that data so I hope I will be forgiven.
First, an explanation of (some of) the issues:
The project has both GUI (Swing) and Browser (Struts) int
I need to extend an existing application with a conditional forward to a
specified page following form submittal.
For example forward name="top" path="/toppage.jsp" ... needs to forward to
named target page "top"
forward name="side" path="/sidepage.jsp" ... needs to forward to named target
pag
PROTECTED]
Subject: Re: [Spam] Conditional forward to target page on form submittal
David-
Cant make an intelligent decision without looking at your code which fills
in 'sometarget'
Martin-
----- Original Message -
From: "David Bolsover" <[EMAIL PROTECTED]>
To: &l
ec 2004 21:16:11 -0000, David Bolsover <[EMAIL PROTECTED]> wrote:
>
> I need to extend an existing application with a conditional forward to a
> specified page following form submittal.
>
> For example forward name="top" path="/toppage.jsp" ... needs to f
Hi Joe
I am beginning to think you are right - care to offer some sample javascript??
db
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 21:19
To: David Bolsover; [EMAIL PROTECTED]
Subject: Re: Conditional forward to target page on form submittal
Ryan
It is interesting that you should be working on this.. I have a similar
requirement - I need to forward to a NAMED page once my action has completed -
I do not know which page prior to form submittal. from what I have read so far,
there is no 'struts' solution - you have to use Javascript.
I have not used with validator - but have used earlier versions of this
script..
http://www.mattkruse.com/javascript/calendarpopup/
db
-Original Message-
From: Vamsee Kanakala [mailto:[EMAIL PROTECTED]
Sent: 15 January 2005 13:35
To: Struts Users Mailing List
Subject: [Slightly OT] Simpl
What is wrong with the Microsoft driver?
-Original Message-
From: Neil Meyer [mailto:[EMAIL PROTECTED]
Sent: 18 January 2005 07:14
To: user@struts.apache.org
Subject: JDBC Driver
Hi All,
I need a SQL 2000 JDBC driver. Which would you recommend or where can I
download a decent one? (N
: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: JDBC Driver
It's causing a lot of problems as my sites get busier. Database deadlocks
and
timeouts.
Neil Meyer
-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: Tuesday,18 January 2005 10:43
To: Struts
Processing ResultSets into custom beans can be a frustrating process..
You should have look at javax.servlet.jsp.jstl.sql.ResultImpl and associated
classes.
You will find in the jstl source distribution.
Essentially, with a little effort, these classes will process a ResultSet
and return a java
xactly the same amount of databeans in your arraylist as
you want to show? And where do you do it? Exact, in your action.
Alternatively you could use one of many paging taglibs out there (check
sourceforge).
> -Ursprüngliche Nachricht-
> Von: David Bolsover [mailto:[EMAIL PROTECTED]
It is worth taking a look at the excellent book 'Effective Java' by Joshua
Bloch - he outlines a number of reasons for avoiding the constant interface
pattern and instead advocates the use of a constant utility class as in..
public class MyInterface {
public static final String YES = "yes";
}
Wow.. I'm off line for a day .. and WWIII breaks out..
My reference to Joshua Bloch seems to have gotten the list a bit steamed
up.. any chance that peace might break out some time soon?
db
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: 23 January 2005 15:08
To:
String yes = MyInterface.YES;
//...
}
}
public class WayTwo implements MyInterface {
public void myMethod(){
String yes = YES;
//...
}
}
David Bolsover <[EMAIL PROTECTED]> wrote:Wow.. I'm off line for a day ..
and WWIII breaks out..
My reference
Since this is rather OT, I have marked the subject as such.
Rather than use mod_jk, I have been in the habit of using mod_proxy and have
httpd.conf as follows:
It works fine for me - but I'm unsure - are there performance disadvantages
with mod_proxy?
Ah - yes and to answer the original questio
Hi all
I've done a deal of searching through the archives, looked at the examples -
even read the docs - I'm still stuggling with this...
I need to validate a number of fields in a from; certain fields are required
if a checkbox is checked and should be empty if the checkbox is not checked.
What
al Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
> Sent: 14 November 2005 23:54
> To: user@struts.apache.org
> Subject: Re: Validator - how to check a checkbox
>
> David Bolsover wrote:
> > Hi all
> >
> > I've done a deal of searchin
ameter
"complete=false" which will ensure the property is set.
My thanks to Chris Felaco for his original post re the above to jGuru.
db
> -Original Message-
> From: David Bolsover [mailto:[EMAIL PROTECTED]
> Sent: 15 November 2005 08:25
> To: 'Struts User
19 matches
Mail list logo