Just think If the struts dosen't set these indexed properties from the lower
bound to the upper bound in a ascending order, an outofbound exception
will occur.
--
Wong Tseng
王曾
I think it's the getResultsPage method that causes your problem. If the
results is none, and the parameter index equels any value that is large than
0, an OutOfBound Exception will occur.
2006/11/18, Adam K <[EMAIL PROTECTED]>:
public Product getResultsPage(int index)
{
if(this
I tried all the sample struts 2.0.1 wars individually in tomcat by
placing each war in the webapps folder in tomcat.
i.e
The requested resource (/struts2-mailreader-2.0.1/) is not available.
I placed libs from struts j4 zipin lib folder after wars get expanded
after starting tomcat still no h
On 11/24/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
Niall,
This sounds like an enhancement request. If the validator methods do not
match, perhaps that advice should be in the error message that Struts
generates? Maybe a message like "method(x,y,z) requested but signature
is method(x,y,z,a): c
Niall,
This sounds like an enhancement request. If the validator methods do not
match, perhaps that advice should be in the error message that Struts
generates? Maybe a message like "method(x,y,z) requested but signature
is method(x,y,z,a): correct validator-rules.xml" ?
Niall Pemberton wrot
Thank u very much.
I have an action class with an execute method as follows
public ActionForward execute( ActionMapping mapping,
ActionForm form,
HttpServletRequest req,
HttpServletResponse re
On 11/24/06, Thomas Thomas <[EMAIL PROTECTED]> wrote:
I use Struts 1.3.5
When u talk about signatures, u talk about the doctypes of the validators
xml files ?
Because I copied pasted them from the struts 1.3.5 examples of validators.
Paul meant replace the "validator-rules.xml" thats shipped wi
I use Struts 1.3.5
When u talk about signatures, u talk about the doctypes of the validators
xml files ?
Because I copied pasted them from the struts 1.3.5 examples of validators.
Ic. Thanks anyway!
Wendy Smoak wrote:
On 11/24/06, Alex Andrushchak <[EMAIL PROTECTED]> wrote:
What is right place where can i ask about portlet development with
struts2?
This is the right mailing list for Struts 2 questions. However, it's
a long holiday weekend in the US, and I don't think
On 11/24/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]> wrote:
Thanks, that sounds just like what I'm looking for, except for one thing: I
need meaningful multi-word labels on the buttons, but it looks to me like
the parameter for EventDispatchAction can't cope - is this true, or is
Struts validation is generally used only for validations of fields
from HTTP submissions, check out
http://struts.apache.org/1.x/faqs/validator.html
If you need to validate an XML file, you may be able to use the Apache
Digester classes (http://jakarta.apache.org/commons/digester/) or some
of the
Thanks, that sounds just like what I'm looking for, except for one thing: I
need meaningful multi-word labels on the buttons, but it looks to me like
the parameter for EventDispatchAction can't cope - is this true, or is it a
question of using the properties file?
On 11/24/06, Alex Andrushchak <[EMAIL PROTECTED]> wrote:
What is right place where can i ask about portlet development with struts2?
This is the right mailing list for Struts 2 questions. However, it's
a long holiday weekend in the US, and I don't think very many people
are using portlets, so
Hi!
What is right place where can i ask about portlet development with struts2?
Thanks,
Alex Andrushchak
Alex Andrushchak wrote:
Hello!
I've tried to launch struts2 portlet application under jetspeed2 but
unfortunatelly no luck.
There are one tutorial on struts2 wiki but it is not fresh eno
On 11/24/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]> wrote:
I've persuaded my project team to upgrade from Struts 1.1 to Struts
1.2.9, simply to allow use of the LookupDispatchAction. However, it's not
working correctly for me. Have I misunderstood the requirements, or is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vishal,
Vishal Seth wrote:
> Hi,
> Does struts validation support XML entity.
What do you mean? Can explain this question in more detail?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
All you have to do is set the name of your button to Globals.CANCEL_NAME
(not that exact text, but use that constant to set the "name" attribute
of that submit button element).
- -chris
robin bajaj wrote:
> Hello folks,
> I found a little iss
Hi,
I've persuaded my project team to upgrade from Struts 1.1 to Struts
1.2.9, simply to allow use of the LookupDispatchAction. However, it's not
working correctly for me. Have I misunderstood the requirements, or is there
something else obvious I'm doing wrong? I followed the instructions
Propertiesid is probably a java.lang.Long, and at some point datain is
this URL above, and the URL cannot be converted to a Long to be
assigned to propertesid. To figure out which one it is, you could
iterate thru the collection and log each element inside your action
before the JSP is called.
As
On 11/24/06, Prashant Saraf <[EMAIL PROTECTED]> wrote:
An exception occured trying to convert String
"http://localhost:7003/cctc/pic1"; to type "java.lang.Long" (null)
I can't see any relation between the converting a url to a Long and
The code you have supplied. I expect the is exception is th
Hi all..
I had following problem
Edit
On 11/23/06, robin bajaj <[EMAIL PROTECTED]> wrote:
Hi Folks,
I have an Email text field that I want to validate against Struts
validation framework's provided "email" Rule in validator-rules.xml.
Can I do this programmatically in Struts Action or ActionForm's java
code instead of
having to decl
Hi,
Does struts validation support XML entity.
Thanks
Vishal
MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK
XDoclet is very handy for generating .xml config files (amongst other
things) for struts and ejb.
It picks up special tags in javadoc comments in your classes and
generates .xml artifacts.
For example:
If you stick something like this in you Action class comments:
* @struts.action path="/token_i
xDoclet is used to generate configs, ig: xml.
You can write it manually.
陈仕兵
LifeSystem CS, IT Application Developer
Great Eastern Life Assurance (China) Co. Ltd.
Tel: 86-021-6140 Ext 2405
86-021-28065394
Fax: 86-23-63885566
-Original Message-
From: samhr [mailto:[EMAIL PROTECTED
i read that chapter, what is xDoclet used for? is it a must to use them?
any alternative?
anyway thanks for replying
Stas Ostapenko wrote:
>
> Hi !
>
> Take a look at the book "Struts Kick Start" by James Turner and Kevin
> Bedell.
> "Chapter 18. Using Struts with Enterprise JavaBeans" - is n
James Holmes, Struts project committer, creator of Struts Console and
author of Struts: The Complete Reference Guide. Will present a free
Skills Matter In-the-Brain session on Wednesday, 29th December 2006.
During the presentation, entitled: Speed up Struts Development with
Struts Scripting, J
Hi !
Take a look at the book "Struts Kick Start" by James Turner and Kevin Bedell.
"Chapter 18. Using Struts with Enterprise JavaBeans" - is nice
introduction with example.
On 11/24/06, samhr <[EMAIL PROTECTED]> wrote:
Hi,
Am new to Struts, currently am creating an application using Struts
Hi,
Am new to Struts, currently am creating an application using Struts and
EJB.
I dont know how to connect the Struts with EJB component.
Can someone pls help me? I searched for samples online, but am not able to
understand them.
Does anyone has a sample code to integrate both of
30 matches
Mail list logo