Hi Rajasekhar
You can study the struts2-showcase-2.0.11.war which comes with the
Struts2 distribution.
You will see WEB-INF\lib\log4j-1.2.9.jar,
WEB-INF\classes\log4j.properties
and the Java files in
WEB-INF\src\java\org\apache\struts2\showcase\action directory.
On 12/14/07, Rajasekhar [EMAIL
Thank you for your response i will work out with an example
-Original Message-
From: hezjing [mailto:[EMAIL PROTECTED]
Sent: Friday, December 14, 2007 2:10 PM
To: Struts Users Mailing List
Subject: Re: LOG4J in Struts2
Hi Rajasekhar
You can study the struts2-showcase-2.0.11.war
Hi Don,
I think we are using WS-Security, but I have not been too involved in
it. I just wanted to confirm that a reasonable equivalent was
available.
Is it possible with the S2 plugin to do one of the classical examples of
getting resources by date e.g. /orders/2007/12/13. It would be great
i already solved it..
i hope this help other new struts user
just replaced it with this one..
s:checkbox name=userId fieldValue=%{getUserId()}/
carmi_cd wrote:
hello
i have a checkbox which supposed to have the value of UserId property of
the action class
I try to do it this way but
Hi, i'm using xwork 2.1 with struts 2.1 and Guice to Inject my dependencies.
My struts.xml contains the follow line
constant name=struts.objectFactory value=guice /
and when i start my servlet container the NPE is throwed and aplication is
broken...
When remove or comment the
hi to all
i am getting issue in tabbebpannel like
maintaining the state of tab in multipletabs means
when i refresh the page previous tab should be selected that was last
accessed tab.
in this context selectTab is property is given but it's showing Depricated
Message On Jsp
please
Thank you Laurie ,
Using 'Long' is the correct way to get 'required' validator worked.
But now I want show error message when user will put string or character
instead of any long value.
What validator to use?
On Dec 11, 2007 7:13 PM, Laurie Harper [EMAIL PROTECTED] wrote:
The 'requiredstring'
go to :
http://people.apache.org/builds/struts/2.1.0/
Herrera
Rajasekhar-3 wrote:
Hi to all
how can i download struts2.1 jars is this released? if so
can you send me url
Best Regards,
Rajasekhar Yenduva B.tech(IT),
Jr J2EE Developer,
Miracle Software Systems, Inc
Hi to all
how can i download struts2.1 jars is this released? if so
can you send me url
Best Regards,
Rajasekhar Yenduva B.tech(IT),
Jr J2EE Developer,
Miracle Software Systems, Inc
Website: www.miraclesoft.com
Email: [EMAIL PROTECTED]
Work: 248-233-1814
Mobile: 9290842877
volnei Granado Munhoz wrote:
Hi, i'm using xwork 2.1 with struts 2.1 and Guice to Inject my dependencies.
My struts.xml contains the follow line
constant name=struts.objectFactory value=guice /
and when i start my servlet container the NPE is throwed and aplication is
broken...
When
Hi Jeromy,
I think this is not a configuration problem (probably a Xwork|Struts bug),
my object factory works fine when I don't use xwork-conversion.properties,
it's inject all of my objects except the converter objects.
You can show me your configs??
Thanks...
-Mensagem original-
Even I'm facing the same issue.
The only difference in my problem is that I'm not using the struts jar but
the actual source code.
So the struts classes are getting compiled in the WEB-INF/classes folder.
When I start my server it gives me the same error.
The ActionServlet.java contains the
You may want to read on
http://struts.apache.org/2.x/docs/type-conversion.html
The last topic Type Conversion Error Handling.
I had the same problem. It turns out that there's no validation
concept of a type (similar to Struts1), however Struts 2 will give
you control over type conversion
Yes. The first time i saw the errore message I thought the same. It was like
the content of the variable was the page itself, rather then the url. But I
checked it and I can assure you that the content of the variable is actually
the url, not the page itself.
Nils-Helge Garli wrote:
The
Do you mean changing the name of the method? Or calling the resource
bundle to generate a string (using the proper locale)?
Chris Pat wrote:
Hello
Is it possible to have the reset() of a formBean be internationalized? I can do it on the jsp. However how do I refer to the correct language
Hello. I've a problem whit redirect and i'm really going mad.
All i want to do is very simple.
I've an action that sends a post to a server. The server answer with a page
to
which i've to redirect the client.
When the server answer, i read the page in a buffer and i extract the url to
which i've
Hello
Is it possible to have the reset() of a formBean be internationalized? I can
do it on the jsp. However how do I refer to the correct language message
resource bundle in the formBean itself? tia
How are you deploying your application? Are you both getting the same
Stacktrace? Even if you use the Struts source code, there are many
dependencies that come as part of the Struts distribution
(commons-logging, digester, etc).
I will start debugging as follows:
- Unpack your war manually.
Hi all,
for the application I'm working on I need a tree component which is more
configurable/capable than the current Struts2 s:tree component.
Basically I want to use it like this:
t:tree rootNode=%{rootNode} typeProperty=type
childCollectionPropert=children
t:treeNode type=group
There is a convince validator for types that uses the backing type errors to
generate validation errors. I use it to ensure that letters aren't entered in
my number fields.
The annotation is ConversionErrorFieldValidator
For example:
@ConversionErrorFieldValidator(message=Please enter only
I solved the problem.. It was just a stupid error in a xml file :(
Thank you anyway for the advice.
Paranoid_Fabio wrote:
Yes. The first time i saw the errore message I thought the same. It was
like the content of the variable was the page itself, rather then the url.
But I checked it
Hi,
Anyone using Struts 2 with multiple Sitemesh decorators?
I am trying to map a decorator to a specific subset of my webapp's URI
space.
The structure of my src/main/webapp dir is:
[EMAIL PROTECTED]:~/apache/struts/cdbweb2/src/main/webapp$ tree
.
|-- WEB-INF
| |-- decorators
| | `--
Sorry I can't be of much help, as I have never tried a scenario like
this. I assume this happens because the WSRP-container request and the
servlet request acts as two different clients. I did find an
interesting thread [1] that's not really the same as your problem, but
might contain some
Any development on the strange behaviour that forms hangs for about 5-6
minutes when loading data from the database?
I have a similar problem on an application. On the tsting environment
ie7 and firefox works perfectly on ie6 xpsp2 forms hangs for several
minutes before completry displaying all
Hi Alberto
The second. To result with a localized text string for the value of the field
when reset() is called.
Alberto A. Flores [EMAIL PROTECTED] wrote: Do you mean changing the name of
the method? Or calling the resource
bundle to generate a string (using the proper locale)?
Chris Pat
took a look at enabling 'cache' and 'compression' capabilities in IE
http://msdn2.microsoft.com/en-us/library/bb250442.aspx
HTH
M--
- Original Message -
From: Andrea Rizzini [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, December 14, 2007 11:59 AM
Take a look at:
http://struts.apache.org/1.x/apidocs/org/apache/struts/validator/Resources.html#getMessage(javax.servlet.http.HttpServletRequest,%20java.lang.String)
Hope this helps... It should be straight forward.
Chris Pat wrote:
Hi Alberto
The second. To result with a localized text
--- Arpan Debroy [EMAIL PROTECTED] wrote:
Using 'Long' is the correct way to get 'required' validator worked.
But now I want show error message when user will put string or character
instead of any long value. What validator to use?
If you're using the defaultStack this is done for you; type
Hi to everyone
I use the action of jasper type to rendering report in format XLS in my
application, it work very fine, but, now I need set the few parameters like
JRXlsExporterParameter.IS_DETECT_CELL_TYPE.
Please, i need to know, how I can put this options in my struts.xml.
Regards,
Does anyone knows why the API for the StrutsTypeConverter abstract class
takes an array of Strings instead of a single one (the convertFromString
method)? The sample app seems to be always checking for the first
element. Is OGNL supposed to add more? Any feedback will be appreciated...
Filipe David Manana wrote:
Anyone using Struts 2 with multiple Sitemesh decorators?
Yep.
You mention using more than one decorator, but the decorators.xml file
you show only has one. It's scanned in order, and the first matching
one is used. Do you have your other decorator (with /*)
Thank you for the response. After more investigation, and looking over the
WSRP specification, it appears that the remote portlet producer is
responsible for maintaining a users session with a portlet. The particular
producer i am using is from ibm, and it seems that its interpretation (or
maybe
Sorry, that's what I meant - the guice plugin may not be setup for 2.1
correctly (as in a bug in the plugin).
I'll take a look at it myself when I get a chance too.
volnei Granado Munhoz wrote:
Hi Jeromy,
I think this is not a configuration problem (probably a Xwork|Struts bug),
my object
Setting the checkbox theme to simple will give you a plain HTML checkbox:
s:checkbox theme=simple name=userId fieldValue=%{getUserId()}/
Otherwise you need to create your own theme for the checkbox:
http://struts.apache.org/2.0.11/docs/themes-and-templates.html
carmi_cd wrote:
I'm deploying the ear file on Websphere 5.1.
This error occurs only when I try to use the source code. If I use the
struts jar file and place it in the lib folder, it works as desired. I've
checked in my war file also, the web.xml is present.
I'm using th fully qualified name
35 matches
Mail list logo