You can try looking at : http://commons.apache.org/pool/
Reginald Javier
Software Engineer II, Strategic Customer Solutions Implementation
T: +632-859-5442
-Original Message-
From: Zoran Avtarovski [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 12:44 PM
To: Struts Users
struts2 tags: s:select name=list listKey=k listValue=v onclick=
javascript:alert('mead'); /
get the HTML code:
select name=list id=ilistAction_list onclick=
javascript:alert('mead');
option value=Name0id0/option
option value=Name1id1/option
option value=Name2id2/option
/select
but how to
Hi,
How to add an object at the Struts2 based application startup?
And what is the best way to process some logic while S2 application
startup, like parsing XML and storing it in the application context for
further processing in the later actions?
Thanks in advance.
Regards,
ManiKanta G
Hi,
I want to have two panes in a tabbed pane, each one with its textfields and
selects, but only one form including both info panes. Is that possible? I've
tried it, but it doesn't work...
s:form id=crearContrato action=CrearContrato
s:tabbedPanel id=test2
Hi,
i am working with tree control, recently i have upgraded to version
2.1. tree control is working fine for me after up-gradation.but i want to
retain the state of the tree between different requests. can any one give me
some example code using version 2.1 to implement dojo
--- On Thu, 9/4/08, ManiKanta G wrote:
How to add an object at the Struts2 based application startup?
And what is the best way to process some logic while S2
application startup, like parsing XML and storing it in
the application context for further processing in the
later actions?
More like...
Ah... hrm. Tell 'em look at the TLD, then tell 'em to check the freemarker
template, then tell 'em they might have to escape the attribute. I love
Java.
On Wed, Sep 3, 2008 at 8:05 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- On Wed, 9/3/08, Wes Wannemacher wrote:
If the TLD
My Synaptics touch pad will scroll down BUT NOT up!
On Wed, Sep 3, 2008 at 9:40 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
dynamicd wrote:
Well i Just caught something. For some reason my listentopics or action
from the form is not working It shows loading.. in the Chrome browser. but
never
Hi Dave,
It is very generous of you. I've implemented this just before. I forgot
to reply again.
Thanks any way.
Regards,
ManiKanta G
Dave Newton wrote:
--- On Thu, 9/4/08, ManiKanta G wrote:
How to add an object at the Struts2 based application startup?
And what is the best way to
I believe is not possible to add an event to an option tag using the
s:select tag.
2008/9/4, Mead Lai [EMAIL PROTECTED]:
struts2 tags: s:select name=list listKey=k listValue=v onclick=
javascript:alert('mead'); /
get the HTML code:
select name=list id=ilistAction_list onclick=
Thanks very much, I think I shall write a struts tag by myself!
On Thu, Sep 4, 2008 at 9:21 PM, Gabriel Belingueres
[EMAIL PROTECTED]wrote:
I believe is not possible to add an event to an option tag using the
s:select tag.
2008/9/4, Mead Lai [EMAIL PROTECTED]:
struts2 tags: s:select
Hi
In Struts 2, I need to perform some validation based on other fields
e.g.
if cardType = 'Switch', issueNumber is mandatory
I was looking for something like the validWhen tag from Struts 1. I'd
like to do it with the client side javascript if possible (to prevent
having to reload the
--- On Thu, 9/4/08, Gundersen, Richard wrote:
I'd like to do it with the client side javascript if possible
(to prevent having to reload the page just for validation) but
I can't find anything in the Xwork docs.
Not a problem if I do - I can move all the validation to
the Java, but I'd
you can make use a static property of a class to hold a reference to a
singleton of the thread pool.
You should take a look to the stuff at java.util.concurrent, there are some
nice queues and other thread safe and concurrent safe stuff, like queues
with multiple producers and consumers, in
Hi All,
I'm starting a Struts 2 project and there are some tasks (check for the DB
version, correctness of the schema, etc.) I'd like to perform when the
webapp inits. I'd like to execute these tasks right when the Struts engine
starts, because I'd like to get advantage from the Spring IoC
Use a ServletContextListener [1].
[1]
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html
2008/9/4, Carlos Luis Zúñiga Sibaja [EMAIL PROTECTED]:
Hi All,
I'm starting a Struts 2 project and there are some tasks (check for the DB
version, correctness of the schema,
This sounds a bit like what I need, my only issue would that here I can't
access the Spring context that is associated to the Struts Engine. I would
have to instantiate it by myself, right?
Carlos Luis Zúñiga Sibaja
__
[EMAIL PROTECTED]
divide et impera...
On Thu, Sep
Cheers Dave, I'll check it out in the morning
Appreciate you help
-Richard
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thu 04/09/2008 17:14
To: Struts Users Mailing List
Subject: Re: Validation based on other fields
--- On Thu, 9/4/08, Gundersen, Richard
Zoran Avtarovski wrote:
I¹m trying to implement a simple thread pool model (Java 1.4) for a
telemetry application.
I¹m getting up to speed with threads but I haven¹t been able to find any
examples of setting a thread pool in a server/servlet environment.
I have a number of remote units which
Why? Spring provides facilities for using managed beans as context
listeners. Instead of trying to make your listener aware of Spring by
hand, just use Springs facilities to register/manage your listener.
L.
Carlos Luis Zúñiga Sibaja wrote:
This sounds a bit like what I need, my only issue
Ohh, I see what you are saying. Then using the Event handling native to
spring is a better solution (
http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#context-functionality-events).
I'll give it a try.
Thanks all,
Carlos Luis Zúñiga Sibaja
__
Hi,
Does anyone know of any problems with using s:head theme=ajax and
s:url
I have a jsp which uses s:head theme=ajax and as soon as I go this jsp,
all other s:urls's in the page stops working. It just shows me the last
link created.
Any pointers/help regarding this will much appreciated.
--- On Thu, 9/4/08, tutul wrote:
Does anyone know of any problems with using s:head
theme=ajax and s:url
I have a jsp which uses s:head
theme=ajax and as soon as I go this jsp,
all other s:urls's in the page stops working.
It just shows me the last link created.
What do you mean by the
I am a Struts 2 newbie and I am trying to develop a simple web application.
The application consists of a simple login page containing a text field and
password field and submit button.
When I try to load the web page, this is the error tht I get. I am deploying
the application using Tomcat v6.
Thanks form responding.
I am using struts2 with tiles and I have a commonlayout.jsp with all the
relevant links in the application, for ex, Add, View Search etc. One of the
jsp's has all the link in it and which appears on the left pane of the
page.. (Just like a regular html page). The links
--- On Thu, 9/4/08, krishnan.1000 wrote:
When I try to load the web page, this is the error tht I
get. I am deploying the application using Tomcat v6.
The requested resource (/turorial/login) is not available.
Is that a typo?
init-param
param-nameactionPackages/param-name
--- On Thu, 9/4/08, tutul wrote:
s:url id =search action=SearchClient includeParams=none
s:a href=%{search}/
/s:url
Did you try it like this?
s:url id=search action=SearchClient includeParams=none/
s:a href=%{#search}/
Dave
I changed it to the option you had suggested. It doesn't work. The thing is
the links are working if I remove the theme=ajax from the s:head tag. So
I am guessing it has to do with how ajax works. I am very new to this ajax
thing...May be missing out on some settings
newton.dave wrote:
---
--- On Thu, 9/4/08, tutul wrote:
I changed it to the option you had suggested. It doesn't
work. The thing is the links are working if I remove the
theme=ajax from the s:head tag. So I am guessing it
has to do with how ajax works. I am very new to this ajax
thing...May be missing out on some
Hi Dave,
Thanks for your reply: I have inlined my replies.
newton.dave wrote:
--- On Thu, 9/4/08, krishnan.1000 wrote:
When I try to load the web page, this is the error tht I
get. I am deploying the application using Tomcat v6.
The requested resource (/turorial/login) is not available.
--- On Thu, 9/4/08, krishnan.1000 wrote:
newton.dave wrote:
--- On Thu, 9/4/08, krishnan.1000 wrote:
When I try to load the web page, this is the error that I get.
The requested resource (/turorial/login) is not available.
Is that a typo?
No this is not a typo.
You're telling me you type
That worked. I was not actually trying to make Ajax request. I was just using
the ajax theme to populate a certain part of the jsp.
Thanks for the response.
newton.dave wrote:
--- On Thu, 9/4/08, tutul wrote:
I changed it to the option you had suggested. It doesn't
work. The thing is the
Hi All,
I've got a javascript front-end that makes asynchronous requests to perform
various CRUD operations. Ideally, I'd like to write an Action and expose it
directly to my client using JSONUtils to serialize and deserialize my
objects. The JSON plugin gets me close, but I don't like having
Kamlesh123 wrote:
Hi,
I want to know that whether Struts 1.3.x or any lower version of Struts
support HTTP PUT, DELETE and HEAD methods.
I need to use them to develop a REST based application.
I haven't checked the source code, but as far as I recall, Struts 1's
action servlet only handles
Guojun Zhu wrote:
Hi,
I am using struts 1.2.9 with tomcat 5.5. I had a few pages with big
html:form. There are some common part (with some html:text tags) in the
form. So I tried to put them aside as an import. I tried jsp:include
jstl c:import and tiles:insert, all of them import
laredotornado wrote:
Hi,
I'm using Struts 1. We want to load our message resources properties,
currently defined in our struts-config.xml file:
message-resources parameter=MessageResources /
from a database. Now of course, they are in a file called
MessageResources.properties. What is the
Mitxel Mitxelisimo wrote:
Hi, I´m trying to make a form to fill in a questionform that is composed by
some questions and one radiobutton for each, and this is the problem,
what can i do to this in my action? how i can fill in each radiobutton?
the questionformbean has an questionbean`s array
Nayyer Kamran wrote:
Hello,
Thanks for your answer. You are right that's what happening. On submission input text sterling sign £ escaped to the ISO-8859-1 #163; and when try to display it again in the same html:text box it escape it again. So how can I avoid it what should I do. UTF8 work fine
The final page import the tags literally. So I see something like
html:text xxx in the page server sends back to browser. Of course,
browser has no idea about it.
Sincerely
Zhu, Guojun
On Thu, Sep 4, 2008 at 2:09 PM, Laurie Harper [EMAIL PROTECTED] wrote:
Guojun Zhu wrote:
Hi,
I am using
Sorry, I misunderstood your last email. I will try that later to see whether
it is the problem of including in my struts. But my problem is that I need
to move part of the form into one fragment file. Thanks.
Zhu, Guojun
On Thu, Sep 4, 2008 at 2:09 PM, Laurie Harper [EMAIL PROTECTED] wrote:
That would be closer to RPC, but would be less strutish, I think you could
easily extend the JSON plugin to accomplish this.
musachy
On Thu, Sep 4, 2008 at 3:57 PM, Tom McLaughlin [EMAIL PROTECTED]wrote:
Hi All,
I've got a javascript front-end that makes asynchronous requests to perform
newton.dave wrote:
--- On Thu, 9/4/08, krishnan.1000 wrote:
newton.dave wrote:
--- On Thu, 9/4/08, krishnan.1000 wrote:
When I try to load the web page, this is the error that I get.
The requested resource (/turorial/login) is not available.
Is that a typo?
No this is not a typo.
Could you not put characters in front of your response? It makes it very
difficult to read and reply to.
--- On Thu, 9/4/08, krishnan.1000 wrote:
[It still doesn't work, and there are no errors on startup.]
You'll have to provide further information then. After adding the appropriate
DOCTYPE
Hi,
Can any one please reply to this email ?
On Thu, Sep 4, 2008 at 3:29 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
i am working with tree control, recently i have upgraded to version
2.1. tree control is working fine for me after up-gradation.but i want to
retain the state
44 matches
Mail list logo