You jogged my memory and I have a solution from the Appendix of "Struts In
Action." Version 1.1 and onward (possibly even in 1.0), struts
ActionMappings have had two attributes: "prefix" and "suffix." The are from
the ActionConfig class but carry over to the ActionMapping class used by the
Struts-
Andrey Falaleev wrote:
Hello everybody,
I'd have the following question: Let's suppose I call a Struts action, which is bound to a particular form through struts-config.xml. As far as I know, the request is being analysed internally by Struts at the beginning, such that for each form property th
It's not really practicable, considering that a validwhen rule can
address other properties on the form bean that may or may not have any
client-side representation, or may have a different representation on
the client (e.g. strings vs. integers).
L.
Jean-Marie Pitre wrote:
Do you know what
Hi,
what is the scope the form is in? i think it must be session. what you can
do is with out adding a reset button, add a normal button and call a
javascript with would reset the values in the from elements explicitly. i
had the same problem. this what i did.
Thanks,
Nuwan
On 9/1/06, Sonu S <
The has an onsubmit but how would it know which button was
pressed?
On 9/1/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote:
I have an tag with onClick set. So when users press button,
it does something. The problem is what if user type input into a field say
keywordSearch, then they press
Hi All
I would like remind you of the twentieth first birds-of-a-feather (BOF
21) of the Java Web Users Group, taking part at the Skillmatters
building, London, England
on Tuesday 5th September 2006
FYI:
http://www.jroller.com/page/javawug?entry=announcement_javabof_xxi_max_a
ntoni
The feature
I have an tag with onClick set. So when users press button, it
does something. The problem is what if user type input into a field say
keywordSearch, then they press . In that case the logic in the
onClick attribute is not executed. I tried to put that into an onSubmit
tag, but there's no such
Hi,
I am using struts in my application. i am using reset and validation. i am
not writing any validation method. i am using struts' validation framework.
validation is working. reset also works fine in application if i enter some
values in form (text box) and press reset, it clears form values.
I can't get the exception handler in struts-config.xml to use the
'bundle' attribute:
It always tries to look in the default (MessageResources.properties).
Is this a known issue or am I doing something bad?
- Scott
--
Anthony,
See my comments below. Hope this clears things up a little and I see
Laurie has made a worthwhile comment about looking at the examples
available.
HTH,
Al
Anthony N. Frasso wrote:
My head hurts. :) Thanks for everyone's help. I've
gotten a number of responses, it's just that I
I will implement the DispatcherListener...
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 1. September 2006 13:29
An: user@struts.apache.org
Betreff: How to access Struts2 FilterDispatcher
Hi,
is there any way to get access to the initial
Hi,
I am not getting any exception in log.
Antonio Petrelli wrote:
>
> jaikarthi ha scritto:
>>
>>
>> > value="/WEB-INF/pages/tiles/header.jsp"/>
>>
>>
>>
>>
>> ...
>>
>> > path="/jspException"
>> type
Hello everybody,
I'd have the following question: Let's suppose I call a Struts action, which is
bound to a particular form through struts-config.xml. As far as I know, the
request is being analysed internally by Struts at the beginning, such that for
each form property the corresponding reques
jaikarthi ha scritto:
...
path="/jspException"
type="com.sen.exception.JspExceptionHandlerAction"
scope="request" >
redirect="false/>
my action class gets executed and success is forwarded,b
Hi,
is there any way to get access to the initialized
instance of a Filter Class running in the same
context of the webserver.
(I try to get access to the Struts2 FilterDispatcher)
Best wishes,
Ingo
Hi,
please find the problem
Hi,
I am trying to handle JSP Exception in my Project. We are using Tiles
plug in in our project.
My Layout definition is
My header and footer remains same in all pages.
in my
It seems that your message has been corrupted. Try to resend it.
jaikarthi ha scritto:
Hi,
I am trying to handle JSP Exception in my Project. We are using Tiles
plug in in our project.
My Layout definition is
My header and footer re
Hi,
I am trying to handle JSP Exception in my Project. We are using Tiles
plug in in our project.
My Layout definition is
My header and footer remains same in all pages.
in my layout.jsp
I defined
<%@ page errorPage="/jsp
Peter Neu ha scritto:
I see this struts logging INFO for example:
01.09.2006 11:31:46 org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true
Try to use Leon's suggestion:
log4j.logger.org.apache.struts=ERROR
*Argh* sometimes I'm just stupid. Yes, package name was wrong.
I see this struts logging INFO for example:
01.09.2006 11:31:46 org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true
> -Ursprüngliche Nachr
Peter Neu ha scritto:
Hm, file looks now like this:
log4j.rootLogger=ERROR, cons
log4j.appender.cons=org.apache.log4j.ConsoleAppender
log4j.logger.de.ktbl=DEBUG, cons, myAppender
log4j.additivity.de.ktbl=false
log4j.appender.myAppender=org.apache.log4j.RollingFileAppender
log4j.appender.myAppend
Hm, file looks now like this:
log4j.rootLogger=ERROR, cons
log4j.appender.cons=org.apache.log4j.ConsoleAppender
log4j.logger.de.ktbl=DEBUG, cons, myAppender
log4j.additivity.de.ktbl=false
log4j.appender.myAppender=org.apache.log4j.RollingFileAppender
log4j.appender.myAppender.File=c:/nbw06-2.log
l
Peter Neu ha scritto:
That's it:
log4j.rootLogger=INFO, cons
Change it to:
log4j.rootLogger=ERROR, cons
("ERROR" level will be enough high for your debugging purposes)
log4j.logger.de.ktbl=, myAppender
Change it to :
log4j.logger.de.ktbl=DEBUG, cons, myAppender
log4j.additivity
log4j.rootLogger=ERROR, cons
or
log4j.logger.org.apache.struts=ERROR, myAppender
On 9/1/06, Peter Neu <[EMAIL PROTECTED]> wrote:
That's it:
log4j.rootLogger=INFO, cons
log4j.logger.de.ktbl=, myAppender
log4j.appender.cons=org.apache.log4j.ConsoleAppender
log4j.appender.myAppender=org.apache.l
return mapping,findforward("failure");
should it be : return mapping.findforward("failure"); (you use ',' here, it
should be '.')
On 9/1/06, Rokariya, Raman <[EMAIL PROTECTED]> wrote:
Make sure that you have a mapping in Struts-Config.xml also, for the
respective
action-mapping with the forw
That's it:
log4j.rootLogger=INFO, cons
log4j.logger.de.ktbl=, myAppender
log4j.appender.cons=org.apache.log4j.ConsoleAppender
log4j.appender.myAppender=org.apache.log4j.RollingFileAppender
log4j.appender.myAppender.File=/usr/local/log/nbw06.log
#create max. 5 BackUp Files
log4j.appender.myAppend
Make sure that you have a mapping in Struts-Config.xml also, for the
respective
action-mapping with the forward="failure"
/Raman Rokariya
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 1:11 PM
To: Struts Users Mailing List
Subject: R
Karthikn ha scritto:
Hi,
I am new user. I am implementing exception handling in my
application.
In my action class I have try, catch block.
in the catch block
catch(Exception e)
{
return mapping,findforward("failure");
Peter Neu ha scritto:
Hello,
how can I turn off the logging info struts gives me when it starts up? I
mean this stuff:
I use log4J as Logging Framework.
Can you post your log4j.properties?
-
To unsubscribe, e-mail: [EMAI
Hello,
how can I turn off the logging info struts gives me when it starts up? I
mean this stuff:
01.09.2006 09:02:44 org.apache.struts.tiles.TilesRequestProcessor
initDefinitionsMapping
INFO: Tiles definition factory found for request processor ''.
01.09.2006 09:02:47 org.apache.struts.ut
30 matches
Mail list logo