Ok.
I'm going to load Struts 2.1 and work on it.
Thanks a lot.
PPDL.
On 5/6/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Following up on this:
https://issues.apache.org/struts/browse/WW-1910
implemented for 2.1
musachy
On 5/5/07, Musachy Barroso [EMAIL PROTECTED] wrote:
I'm planning to
2007/5/7, Jon Wynacht [EMAIL PROTECTED]:
Hi,
I've got an app that, when it gets heavy usage, often dies with this
message:
May 5, 2007 5:38:36 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: accept:
java.net.SocketException: Too many open files
Maybe it's a
you can also try checking if you have any restrictions in place for your
userspace processes -- ulimit
as
-Ursprüngliche Nachricht-
Von: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 07. Mai 2007 09:15
An: Struts Users Mailing List
Betreff: Re: Too many open files
Dear Struts2 Community,
Project: Struts 2
Affects Versions: 2.0.6
Environment: Glassfish AS Version 40
Reporter: Ruben Hartenstein
we got the following problem in our web app:
In order to internationalize our web app we put some
--- Ruben Hartenstein wrote:
I know that the getText() method is only available
if
the jsp is loaded after an action. But before the
login.jsp for example there is no action.
Do I have to call a dummy action only to make the
getText() method available or are there better
solutions?
As
Hi,
This is Vijay and currently using Struts2.0.6 production viersion in my
application development.
I have been used almost all tags in Struts2.0.6 but there are problem in
s:optiontransferselect tag. It doesn't include cssClass and cssStyle of
Second Select box at run time.
So Is there any
Hi,
Is it possible to unit test validations created in xml? I.e. like this:
validators
!-- Plain Validator Syntax --
validator type=stringlength
param name=fieldNamemyPurchaseCode/param
param name=minLength10/param
param
Hi All,
I have the follow problem:
I am using the Portuguese Brazil Localization on Struts 2, so the
format to decimal numbers is (1.000.000,00) equals (1,000,000.00) in
american localization.
If you fill the s:input fields with the brazilian format, the struts
converts the numbers
Hi all,
I checked out the struts2 source codes and run struts2-showcase app but
/struts2-showcase/filedownload/download.action is not working. It gives the
following error.
Can not find a java.io.InputStream with the name [inputStream] in the
invocation stack. Check the param name=inputName tag
Hey all
We just launched a webapp using Hibernate/Spring/S2. The architecture is
pretty standard with a DAO, Service and a Web layer. Our problem is that we
are receiving massive traffic which pretty much kills the application after
just a couple of seconds. I am guessing this is since our S2
http://wiki.opensymphony.com/display/WW/Testing+Validation describes how
to do it for WebWork. The process should be very similar for Struts 2.
Thanks,
Martin.
- Original message -
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Mon, 7 May 2007 12:52:40 +0200
Subject: Is it
--- meeboo [EMAIL PROTECTED] wrote:
We just launched a webapp using Hibernate/Spring/S2.
The architecture is pretty standard with a DAO,
Service and a Web layer. Our problem is that we
are receiving massive traffic which pretty much
kills the application after just a couple of
seconds.
A
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Paul Benedict wrote:
Use the Spring Framework or configure it in code.
You can also define the data source in your servlet container, which is
more natural than specifying it in your webapp IMO.
- -chris
-BEGIN PGP SIGNATURE-
The problem occurs from the action to view.
from the view to action its ok
Please I anyone can help...
Thank's a lot
André Faria escreveu:
Hi All,
I have the follow problem:
I am using the Portuguese Brazil Localization on Struts 2, so the
format to decimal numbers is
I logged a jira ticket for it:
https://issues.apache.org/struts/browse/WW-1914
musachy
On 5/6/07, Jason Wyatt [EMAIL PROTECTED] wrote:
Hi Struts 2 developers,
It seems the tabindex isn't working on the s:submit tag for Struts2
v2.0.6.
The jsp tag I am using:
s:submit tabindex=7
We have about 10 visits a day so it takes a small mistake to break the
app completely (it's happened before, maybe I should have a talk with our
server people). I found the mistake though, some methods were using
handrolled SQL and creating the session directly from a DaoSupport class
instead
If you create an issue here:
https://issues.apache.org/struts/
it probably will. Thanks for reporting it.
musachy
On 5/7/07, Struts2 Fan [EMAIL PROTECTED] wrote:
Hi all,
I checked out the struts2 source codes and run struts2-showcase app but
/struts2-showcase/filedownload/download.action
Whoops, sorry. 1.5
On May 6, 2007, at 3:27 PM, Martin Gainty wrote:
JRE/JDK version???
M--
This email message and any files transmitted with it contain
confidential
information intended only for the person(s) to whom this email
message is
addressed. If you have received this email message
Hi.
If you are runnig on unix, couldn't you do something like
lsof -p processid
to list wich files are actually opened by your app ?
It may help to find wich part open so many files ...
From my experience, each times I had this problem, it was because of
Lucene ...
Mike
Jon Wynacht a
Hi,
Having some issues getting this the above working. I have a defined spring bean
as follows:
bean id=roleDao class=com.paul.project.system.dao.impl.RoleDaoImpl
property name=entityManagerFactory ref=entityManagerFactory/
/bean
Now the RoleDaoImpl contains a method 'findAll()' which I
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez
à la mise à jour de votre carnet d'adresses.
Hi all,
I would like to format the value rendered by my texfield which is of date
type.
Here
Why not just supply a list getter in your action and
set its value to the roleDao's findAll result?
In general I don't think using DAO functionality on
the view side is a particularly good idea anyway, but
that's just me :)
d.
--- Paul [EMAIL PROTECTED] wrote:
Hi,
Having some issues
Ok I created the issue
https://issues.apache.org/struts/browse/WW-1915
Musachy Barroso wrote:
If you create an issue here:
https://issues.apache.org/struts/
it probably will. Thanks for reporting it.
musachy
On 5/7/07, Struts2 Fan [EMAIL PROTECTED] wrote:
Hi all,
I checked
Just to confirm I have tried it on the SVN head and had the same error
using Jetty.
- Original message -
From: Struts2 Fan [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Mon, 7 May 2007 06:52:10 -0700 (PDT)
Subject: Re: [S2] Error in File Download in struts-showcase
application
Ok
I've attached a patch to the JIRA issue. The file paths were using \
rather than / in the filedownload.xml.
Could someone try it on Windows.
Thanks,
Martin.
- Original message -
From: Martin Gilday [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Date: Mon, 07 May
hi, on this pg of struts 1.1 documentation,
http://localhost/struts-documentation/userGuide/installation.html
(don't know on-line equiv. of this page, as link to 1.1 on this page
http://struts.apache.org/downloads.html#PriorReleases gets you a 404..)
it says where to put jar's, tld's, etc..
2007/5/7, maya [EMAIL PROTECTED]:
hi, on this pg of struts 1.1 documentation,
Time to upgrade I suppose :-)
2007/5/7, maya [EMAIL PROTECTED]:
it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's
I went to Google and typed dtd, this is the first result:
--- maya [EMAIL PROTECTED] wrote:
what are dtd's and where do they go?
They're XML document type definitions. They shouldn't
need to go anywhere, although it's been a *long* time
since I've thought about S1.1.
org.apache.struts.tiles.taglib.InsertTag
this error tells me absolutely nothing..
MarcusFenix wrote:
All the time, I was thinking about that staticly instatiate means -
instatiate the object without using a new operator. And I was wrong :///
could U tell me what`s static instatiate? I`m search in google, but i
don`t find answer... This`s connotated with getInstanceOf method?
I will check it out this afternoon.
thank you guys.
musachy
On 5/7/07, Martin Gilday [EMAIL PROTECTED] wrote:
I've attached a patch to the JIRA issue. The file paths were using \
rather than / in the filedownload.xml.
Could someone try it on Windows.
Thanks,
Martin.
- Original
On 5/6/07, zuban [EMAIL PROTECTED] wrote:
Laurie Harper wrote:
zuban wrote:
It is working if I type manualy ExampleSubmit.do?method=delete
(The delete-method in the action-class ist calling)
It is also working with this submit-button:
html:submit property=method value=delete/
But why
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez
à la mise à jour de votre carnet d'adresses.
I would like my date property to be rendered in a defined date
format(dd/MM/).
I try to
Antonio Petrelli wrote:
2007/5/7, maya [EMAIL PROTECTED]:
hi, on this pg of struts 1.1 documentation,
Time to upgrade I suppose :-)
2007/5/7, maya [EMAIL PROTECTED]:
it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's
I went to Google and typed dtd, this is
--- maya [EMAIL PROTECTED] wrote:
why can't all downloads come with documentation
built already? it's just a bunch of html files
You're right, and they're in the struts-documentation
WAR file supplied w/ the binary download.
d.
__
Do You
Hello Everyone,
I'm new to Tomcat5 and Struts2, and I'm having problem setting up struts.
I installed Tomcat 5, and checked that http://localhost:8080/ is working
fine.
Then I copied the sample war file struts2-blank-2.0.6.war from struts into
to the webapps directory under tomcat
Antonio Petrelli wrote:
2007/5/7, maya [EMAIL PROTECTED]:
hi, on this pg of struts 1.1 documentation,
Time to upgrade I suppose :-)
2007/5/7, maya [EMAIL PROTECTED]:
it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's
I went to Google and typed dtd, this is
May be you can first check
- if the war as been deployed
- if it has bean deployed with the expected path (/struts2-blank-2.0.6/)
- if there is any error on context start in catalina.out
?
Mike
Jack Yu a écrit :
Hello Everyone,
I'm new to Tomcat5 and Struts2, and I'm having problem
Dave Newton wrote:
--- maya [EMAIL PROTECTED] wrote:
why can't all downloads come with documentation
built already? it's just a bunch of html files
You're right, and they're in the struts-documentation
WAR file supplied w/ the binary download.
d.
Weird; I just downloaded 1.3.8-all and all the docs
are in the docs directory for me.
--- maya [EMAIL PROTECTED] wrote:
Dave Newton wrote:
--- maya [EMAIL PROTECTED] wrote:
why can't all downloads come with documentation
built already? it's just a bunch of html
files
You're
Hi,
Yes, the war as deployed with the expected path.
But when I go into the tomcat manger, and fond out this webapps was
deployed, but it didn't start/running.
When I try to start this webapps, I having the following problem now:
FAIL - Application at context path /struts2-blank-2.0.6
There should be an error in the /logs directory (not sure on which file).
musachy
On 5/7/07, Jack Yu [EMAIL PROTECTED] wrote:
Hi,
Yes, the war as deployed with the expected path.
But when I go into the tomcat manger, and fond out this webapps was
deployed, but it didn't start/running.
When
Download a more recent JVM for Tomcat to use. Looks like struts needs
1.5+...
PK
Jack Yu wrote:
Ok, I found the error from the log
==
2007-05-07 12:51:55 StandardContext[/manager]HTMLManager: start: Starting
web application at
my gosh, you are right hmm.. interesting..
ok, so I need to know certain basic things.. I assume general rule,
regardless of version, is jars always go in WEB-INF/lib, tld's, go in
WEB-INF/.. but couldn't find tld's, so searched for them.. found them in
different directories, some in
--- Patrick J Kobly [EMAIL PROTECTED] wrote:
Looks like struts needs 1.5+...
Correct; S2 needs 1.5 unless you're using the
converted J4 jars.
d.
Now that's room service! Choose from over 150,000 hotels
in
--- maya [EMAIL PROTECTED] wrote:
(I just downloaded struts-1.3.8-lib.zip, doesn't
even come with tld's.. how is this possible?
TLDs can be in JARs.
same thing w/dtd's -- are they needed?
In general, no.
hen search for dtd's in src download find a million
of them, in different folders...
You don't need to store tld files anywhere. They are already stored
inside the taglib jar file (like struts.jar). You also don't need the
taglib elements in your web.xml. The uri element in the taglib
directive in your JSP should reference the standard URI associated with
each taglib (which you
Anyone ever encountered something similar with tag libraries?
Javax.servlet.ServletException: /login.jsp(1,1) Unable to initialize
TldLocationsCache: invalid entry CRC (expected 0xc4b93308 but got 0xc582bd77)
org.apache.struts2 etc etc etc.
I am getting this on every page now
hi..
while attempting to use the dateTimePicker set to time mode and binding it
to getter setters of type Date (and init them fields with new Date() ) , i
always get 00:00 in field, only when i turn getters setters to string i get
an actuall time.
Ok,
I'm using JDK 1.6 and JVM 1.6 now, and I still have the same problem.
I also tried to use JDK 1.5, but still have the same problem.
===
007-05-07 14:55:21 StandardContext[/manager]HTMLManager: start: Starting web
application
Hi i've written the following in a JSP.
s:iterator id=ca value=clients
tr
td${ca.name}/td
td${ca.description}/td
tdremove/td
tdedit/td
/tr
/s:iterator
I have a method in my action called getClients.
When i first load the page, the
Good Afternoon Paul
CRC is Cyclic Redudancy Check do you have the latest version jgroups.jar in
$JBOSS_HOME/server/all/lib?
http://sourceforge.net/project/showfiles.php?group_id=6081package_id=94868release_id=504126
?
Martin
This email message and any files transmitted with it contain
That problem is definitely a jvm version issue. Run:
java -showversion
to see what version you have in the path and make sure it is 1.5 (1.6 should
be fine also)
musachy
On 5/7/07, Jack Yu [EMAIL PROTECTED] wrote:
Ok,
I'm using JDK 1.6 and JVM 1.6 now, and I still have the same problem.
I
curious if you use either DateFormat.parse(Date) or Date.toString() ?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please
Do you have the same problem on date mode?
musachy
On 5/7/07, אלחנן מעין [EMAIL PROTECTED] wrote:
hi..
while attempting to use the dateTimePicker set to time mode and binding it
to getter setters of type Date (and init them fields with new Date() ) , i
always get 00:00 in field, only when
Thanks for the link martin. Replacing that seems to have work, although it
still doesn't explain how in the world it become corrupt. Everything was
working fine the other day.
Thanks again,
Paul
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, May 07, 2007
have you tried using the property tag instead? s:property
value=ca.name /
Diego Yasuhiko Kurisaki wrote:
Hi i've written the following in a JSP.
s:iterator id=ca value=clients
tr
td${ca.name}/td
td${ca.description}/td
tdremove/td
tdedit/td
Ok, I can start my webapps now, by using JVM 1.6. (The mistakes was that I
configured tomcat to point to the jre1.4 directory. )
However, I encounter a new problem, when I go to
http://localhost:8080/struts2-blank-2.0.6/, I get the following error.
I read compile each java src files and
Michael Jouravlev wrote:
Simple ways don't work for you, eh? Why would not you just use plain old
input type=submit name=method value=delete /
No, because of using resource bundles to set the value of the buttons for
different languages.
Michael Jouravlev wrote:
Do you need to have
no only on time mode, date mode seems to be ok.
From: Musachy Barroso [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: does the DateTimePicker have issues with Date type properties?
Date: Mon, 7 May
hi..
i'ved looked in struts2 docs about dwr, and it describes a typical web.xml
setup, which includes faces, however on dwr site itself, it describes no
such configurations.
_
FREE pop-up blocking with the new MSN Toolbar - get
Thanks Laurie, that was what I needed to do.
Turns out that my action was setting an action error before doing its
chaining and so when validation was triggered on the chained action it
was thinking an error had occurred and forcing the input result.
So, now all I really need to know is if
I see jsf integration via JSFCreator and FacesServletFilter extension points
http://getahead.org/dwr/server/jsf
Am I missing something?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
Clean out your work directory so the JSPs are
re-compiled.
--- Jack Yu [EMAIL PROTECTED] wrote:
Ok, I can start my webapps now, by using JVM 1.6.
(The mistakes was that I
configured tomcat to point to the jre1.4 directory.
)
However, I encounter a new problem, when I go to
DWR and JSF are completely unrelated.
--- ×××× × ××¢×× [EMAIL PROTECTED] wrote:
hi..
i'ved looked in struts2 docs about dwr, and it
describes a typical web.xml
setup, which includes faces, however on dwr site
itself, it describes no
such configurations.
--- Allen Gilliland [EMAIL PROTECTED] wrote:
So, now all I really need to know is if there is a
way that I can just flat out disable all of
struts2's
validation stuff but still have my actions extend
ActionSupport?
Create an interceptor stack without the validation
stuff.
I would also
--- Martin Gainty [EMAIL PROTECTED] wrote:
Am I missing something?
The title of the OP which was whether or not DWR on S2
*requires* JSF.
d.
Sucker-punch spam with award-winning protection.
Try the free
Yeah, I have tried this, but it still give me the same problem. Thanks.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, May 07, 2007 4:55 PM
To: Struts Users Mailing List
Subject: RE: problem with Struts 2 setup -The requested resource
--- Jack Yu [EMAIL PROTECTED] wrote:
Yeah, I have tried this, but it still give me the
same problem. Thanks.
?! I hate to ask, but are you sure? If the compilation
is happening with one version and the execution with
another something seems horribly wrong.
You say you're using 1.6, but the
what happens when you clean the work dir (as earlier suggested) and
recompile the webapp under 6???
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email
Anyone help for the following?
inside jsp, i try to do the following, but cause error, what is the solution?
tks in advance
% String pid=%bean:write name=partlist property=pid/ %%
but give the error
String literal is not properly closed by double-quote.
john
Well, using the property tag i got no output at all.
s:property value=ca.name /
I'll try to use the webwork stuff.
Is this really how it works?
On 5/7/07, Adam Ruggles [EMAIL PROTECTED] wrote:
have you tried using the property tag instead? s:property
value=ca.name /
Diego Yasuhiko Kurisaki
So what's up with the Struts 2 StringLengthFieldValidator's maxLength
property being a String? This completely screws up my ability to define the
field length in an int constant. Does anyone have a workaround for this?
Thanks.
--- Caine Lai [EMAIL PROTECTED] wrote:
So what's up with the Struts 2
StringLengthFieldValidator's maxLength
property being a String?
What?
http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.html#setMaxLength(int)
Yes, the Struts API is fine.
It's the struts annotations that specify a String value. Since I'm using
annotations to set my validators, I have to use a String to specify field
length, which seems silly to me.
Well i spent a hour to realize that when i used the property tag and go no
output, i was mistyping the name :/
it worked using just the name of the method that i want.
s:property value=name/
Thanks
On 5/7/07, Diego Yasuhiko Kurisaki [EMAIL PROTECTED] wrote:
Well, using the property tag i
I'm a bit unsure about a few things around datetimepicker.
What type should the fields in my action class be? I am currently using
java.util.Date, it works fine for request_locale=de_DE but I get a
Invalid field value for field ... error for request_locale=en_UK and
the date redisplayed is
do this
s:iterator value=clients
tr
tds:property value=name//td
tds:property value=description//td
tdremove/td
tdedit/td
/tr
/s:iterator
This is assuming you have a public getClients() method that returns an
array/list of objects that have public getName() and
Using Date for the action field is the way to go. The selected value is
submited in RFC 3339 format (that can me modified using the saveFormat
attribute, which shouldn't have been public on the first place). I'm not
really sure how it would work if the client has javascript disabled.
musachy
On
What an email chain!! So much speak, so little investigation
There is an all jar which contains everything (libraries, source,
documentation, etc.) and also a doc jar which contains only the
documentation. Also Struts 1.3 does not need the TLD files as separate
entities; they are included
please display contents of struts.date.format
for both *en_UK.properties and
*de_DE.properties files
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this
On 5/7/07, john lee [EMAIL PROTECTED] wrote:
Anyone help for the following?
inside jsp, i try to do the following, but cause error, what is the solution?
tks in advance
% String pid=%bean:write name=partlist property=pid/ %%
but give the error
String literal is not properly closed
it works, tks very much
john
Michael Jouravlev [EMAIL PROTECTED] wrote:
On 5/7/07, john lee wrote:
Anyone help for the following?
inside jsp, i try to do the following, but cause error, what is the solution?
tks in advance
but give the error
String literal is not properly
thanks, btw, whish dwr version should i download for struts2? version 1.1.4?
or version 2.0?
From: Dave Newton [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org, Martin Gainty
[EMAIL PROTECTED]
Subject: Re:
hi,
try this.
bean:define id=pid
bean:write name=partlist property=pid/
/bean:define
Thanks,
Nuwan
- Original Message -
From: john lee [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Monday, May 07, 2007 10:06 PM
Subject: how to assign bean:write...to jsp variable ?
Anyone
i've looked at the struts showcase samples, and where it says validation
(ajax) it says broken, i running it, and it looks fine i think, (still don't
know how to make it work on my application though , i clicked submit and
moved away and it doesn't do anything.
how to disable back button
hi all
can any one explain me how to disable both back button
and refresh button
thanks
jalaludeen
I don't believe you can.
jalal udeen wrote:
hi all
can any one explain me how to disable both back button
and refresh button
thanks
jalaludeen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On 5/7/07, jalal udeen [EMAIL PROTECTED] wrote:
hi all
can any one explain me how to disable both back button
and refresh button
This is browser-dependent and does not relate to Struts.
-
To unsubscribe,
Hii
I am using struts, jboss 4.0.1 and downloading file from the JSP as an
atachment..
My file has japanese and chinese characters...
The problem is that when i m directly opening this file on the fly from the
Dialog box by clicking on the open button, it is showing me some characters
like
90 matches
Mail list logo