Hello,
Use tabindex int eh button tag:ex:
Please verify the syntax again..long time sinmce I used it
Warm Regards,
Mili Aggarwal
-DISCLAIMER-
Yes.
I always validate in Actions and not in the form itself (though I often
delegate to a seperate helper class from the action (and configure the
helper in a subclass of ActionMapping and have an abstract action
superclass manage its lifecycle)).
Validating in the form I find to be troublesom
David, no worry about insulting anyone -- you raise good points.
Jack wrote:
Ted will tell you that only code matters. But, I think some things
other than just code matter to some of the people involved.
While Ted can speak for himself, I don't think that he'd tell you
that. He himself is an avi
I've got an application I'm trying to deploy that works perfectly on my
Windows development system.
I deploy it on a Suze box, and the following behavior occurs.
User Logs in fine. My Request Processor has an overridden
processActionPerform() which checks and sees if he has signed the Terms of
Se
I've got an application I'm trying to deploy that works perfectly on my
Windows development system.
I deploy it on a Suze box, and the following behavior occurs.
User Logs in fine. My Request Processor has an overridden
processActionPerform() which checks and sees if he has signed the Terms of
Se
Hi,
I have coded and programmed myself into a corner. Gotta hate that.
I don't seem to be able to get to the archives at the moment, either.
In a nutshell the problem is this:
A certain form has a wad of known elements. Based on J. Random Criteria
I need to be able to dynamically add elements to t
Mike Deegan wrote:
[snip]
import org.apache.struts.config.ForwardConfig;
{
ForwardConfig fc =
mapping.getModuleConfig().findForwardConfig("unauthorized");
^^^
request.getRequestDispatcher(fc.getPath()).forward(request,response);
}
Thanks, my problem with this is that processPreprocess() d
Googled and found this snippet that my help!
http://technology.amis.nl/blog/index.php?p=400
Comment by Leon van Tegelen - 14/2/2005 @ 11:17 pm
The actual way to do it would be to forward to a global forward named
"unauthorized" in the struts-config, like so
import org.apache.struts.config.Forward
Easy one for a Sunday morning:
I'm got a simple CustomRequestProcessor which checks for the presence of
a user login bean, and if not found, it should bounce the request to my
logon page.
Problem: how can I say "Go to the Struts Forward /logon" from within the
CustomRequestProcessor?
Bonus poin
Hi Srikanth,
Thank you very much !
Cheers !
Janarthan S
--- Srikanth Shenoy <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Back in 2003, I wrote the book "Struts Survival
> Guide - Basics to Best
> Practices" and subsequently published it.
> The book was wildly successful and I sold off all
> the cop
Hi,
Does anyone know if there is a way to have the login page for
container security submit to an action?
At the moment it's embedded within a tile so when I sumbit the form it
goes looking for some page hidden behind the web-inf folder.
Any help appreciated.
Thank you.
---
11 matches
Mail list logo