>> but now I need to know to which iterator the
>> currently processed entry belongs to, since they
>> have to be treated differently.
>
> Are the items of the same type?
>
> If so, I'm not sure what you can do.
>
In this case numbers is of type double[] and operators is of type
String[]. Woul
DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the origi
The listener class is extending Action as well as implementing
HttpSessionListener interface.
Cant I have servlet in my sessionDestroy() method?
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 10:42 AM
To: Struts Users Mailing List
Subject: Re
> I am getting NullPointerException in this line Hashtable userList =
(Hashtable) servlet.getServletContext().getAttribute("userList");
As suggested by others the last time you asked this question, first try
to determine whether it's the the servlet, servletContext or HashTable
that's null.
H
My code is as following...
struts-config.xml
-Original Message-
From: David Durham, Jr. [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 09, 2007 2:46 AM
To: Struts Users Mailing List
Subject: Re: Extending DynaValidatorForm
On 6/8/07, David Du
Thanks David,
But I need sample code. Can u provide it? I got your logic but finding it
difficult to implement. The main problem is how to get the property name at
runtime. I have many forms that extend the DynaValidatorForm.
Thank you,
AM
-Original Message-
From: David Durham, Jr. [mailto
Hi team,
In my login action I am adding the user who logged in into
hash table and I am putting that hash table in
servlet.getServletContext().setAttribute("") as fallows
Hashtable userList = new Hashtable();
userList.put("username",username);
servlet.getServletContext().setA
Hi,
I have a servlet which implements some logic based on some URL parameters
passed to it. I can invoke this servlet directly from my browser, by simply
supplying the parameters thru the URL.
http://localhost:8080/myproject/myapplication?param1=value1¶m2=value2
However, I would like to set t
DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the origi
I have a datetimepicker in my JSP to let user select time:
When user select 10:15 and submit to webserver, after the web page refreshes
the value becomes 00:00.
Is this another datetimepicker bug?
I have a type converter for converting time the format string is "HH:mm":
public class TimeConve
--- Nicolás Pace <[EMAIL PROTECTED]> wrote:
> The point here is that Sets are not indexable, so i
> can't name elements by their unique id...
Let me rephrase: I don't know how you'd be able to use
a Set directly on a web page simply because it's *not*
indexable.
My guess is that you'd have to mas
--- Nicolás Pace <[EMAIL PROTECTED]> wrote:
> The point here is that Sets are not indexable, so i
> can't name elements by their unique id...
Well, if there's nothing to uniquely identify them at
all then you'd be doomed no matter what, wouldn't you?
d.
--- Anton Pussep <[EMAIL PROTECTED]> wrote:
> but now I need to know to which iterator the
> currently processed entry belongs to, since they
> have to be treated differently.
Are the items of the same type?
If so, I'm not sure what you can do.
d.
___
The point here is that Sets are not indexable, so i can't name
elements by their unique id...
On 6/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Nicolás Pace <[EMAIL PROTECTED]> wrote:
> The main problem is that the only way to access
> collection elements with ognl is like accessing an
> a
Hello,
I want to successively call several iterators. This works perfectly fine
with a merged iterator, but now I need to know to which iterator the
currently processed entry belongs to, since they have to be treated
differently.
See the small example below that illustrates my intention. Currentl
--- Nicolás Pace <[EMAIL PROTECTED]> wrote:
> The main problem is that the only way to access
> collection elements with ognl is like accessing an
> array, and when i generate those dinamic components
> with javascript, i don't know how to name those
> elements to have them mapped to the Set.
Na
Hi!,
I'm having a problem trying to map elements from a Set Collection in
my Action to form components, and to generate form components
dinamically and have them inserted in this set.
Any suggestions?
The main problem is that the only way to access collection elements
with ognl is like accessing a
Hello,
I would like to sort the menu created by the selected tag. So far I just
pass a TreeMap where the entries are sorted already. However, I think
that the View should decide whether to sort or not to sort, but I could
not find a way to force the selected tag to sort. Is there anything you
can
Hi,
Use plain told HTML and use your script tag.
Thanks,
Nuwan
- Original Message -
From: "john lee" <[EMAIL PROTECTED]>
To:
Sent: Sunday, June 10, 2007 3:49 PM
Subject: html:hidden
How to assaign value to html:hidden field?
request.getAttribute("loginid")%>>
but give me the
it's because setValue() for the taglib need a String.
try
" >
Mike
john lee a écrit :
How to assaign value to html:hidden field?
>
but give me the error message, saying need double quote, after i put double quote before "<%..", cause jsp compile error,
any clue?
tks in
On 6/10/07, john lee <[EMAIL PROTECTED]> wrote:
How to assaign value to html:hidden field?
>
but give me the error message, saying need double quote, after i put double quote before
"<%..", cause jsp compile error,
Which error did it cause?
any clue?
tks in advance
john
--
How to assaign value to html:hidden field?
>
but give me the error message, saying need double quote, after i put double
quote before "<%..", cause jsp compile error,
any clue?
tks in advance
john
-
Sucker-punch spam with award-winni
Hi
visit http://www.roseindia.net/struts/struts2/struts-2-format.shtml this is
good example.
thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Josh
Vickery
Sent: Saturday, June 09, 2007 6:36 PM
To: Struts Users Mailing List
Subject: Re: How to format
23 matches
Mail list logo