B.Sridhar ha scritto:
But when I
tried to download the image of 85mb, "out of memory" exception is
thrown"
and this is the complete trace of that exception...
You haven't your 85MB file in your memory, right?
-
To unsubscr
Dean Crothers ha scritto:
The Struts documentation I'm following doesnt mention a servlet - just
the listener and TilesResult?
...
SEVERE: Exception sending context initialized event to listener
instance of class org.apache.struts2.tiles.StrutsTilesListener
java.lang.RuntimeException: Source o
Hi
I am writing an application in struts for file downloading from the
database. I am using struts 1.1 with tomcat5.0 server. File downloading is
working fine for images of smaller sizes( i checked utpo 3mb of size). my
application should download the files with a maximum 1gb size. But when I
Hi,
I agree with ur opinion. I feel that the asp taglibrary is very helpful in
using many controls and components in .NET and this is available by default
which they do not need to include seperately.
Bruno Melloni <[EMAIL PROTECTED]> wrote:
We are constantly getting pressure to consi
Yes, the typo is ok, document.forms[0] is the only one form.
Sorry, but "docuemt" i write this instead of copy-paste.
Thank you
-Mensaje original-
De: Dave Newton [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 19 de octubre de 2006 16:32
Para: Struts Users Mailing List
Asunto: RE: Change a
you can go for Virtual Dedicated Server (some one call virtual private
server), there are many, you can install anything you want ...
On 10/20/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:
Hi im looking for a hosting company that supports java 1.5, tomcat 5.x (i
will upload a struts 2 applicati
Please join us in welcoming David DeWolf as a new Struts committer.
David has been very active in the Struts and Tiles communities,
providing good discussion and patches to the list and JIRA tickets.
He is also a FTP Server and Portals committer, and has been submitting
Struts patches since April
The error occurs when I startup my web app.
-Original Message-
From: Lixin Chu [mailto:[EMAIL PROTECTED]
Sent: Thu 10/19/2006 4:46 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and tomcat 5.5
i use TC 5.5 and Struts 1.2.9 w/o problems. but i can not tell what's wrong.
when
Dave,
I get the following error when Tomcat5.5 comes up. I assume its because I'm
not telling Tiles where the tiles-def.xml is - but I cant find any
documentation specifying how to do this with Struts 2.0.1?
The Struts documentation I'm following doesnt mention a servlet - just the
listener
On 10/19/06, Mark Menard <[EMAIL PROTECTED]> wrote:
I'm still curious as to what was causing the NPE with the tag. I
have read the Webwork in Action book and I think I'm using it correctly.
Just in case this is an issue, I was using the from a decorator
template using Sitemesh. I didn't to ment
i use TC 5.5 and Struts 1.2.9 w/o problems. but i can not tell what's wrong.
when did the error occur ?
I did as you suggested but am still getting the same error. Any other ideas?
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thu 10/19/2006 3:47 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and tomcat 5.5
Make sure you don't have an extra copy of st
That seems to work pretty well. And it's nice since you only have to
include the definitions that override the standard definitions. Thanks for
the pointer.
(*Chris*)
On 10/19/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
Chris Pratt wrote:
> I have the I18N support for externalizing strings
Make sure you don't have an extra copy of struts jar under the shared
lib dir. I would also delete the work directory too.
--
James Mitchell
678.910.8017
On Oct 19, 2006, at 1:33 PM, Joe Yuen wrote:
Is there any compatibility issues with struts 1.2.9 and tomcat 5.5.
I upgraded to 5.5
I have worked around this issue, but moving the generation of the menu to an
interceptor. (It makes sense since every page in the application will have a
menu.)
I'm still curious as to what was causing the NPE with the tag. I
have read the Webwork in Action book and I think I'm using it correctly
Chris Pratt wrote:
I have the I18N support for externalizing strings working great in
Struts/Tiles, but we have several Tiles that are all text and it doesn't
really make sense to copy all that text into the resource bundle and
have an
empty Tile that just retrieves the text. I was hoping there
Yip, that is what I ended up doing :).
I was just hoping there was a way to send the session into the
MessageResources as it would save me some time. Now I have to map our
language id's to locales, slight headache, but not the end of the world :).
Cheers,
Simon.
-Original Message-
From:
Konrad Billewicz wrote:
Hello,
How to use html:optionsCollection together with struts messages (from
..properties file)?
When I'm setting label value for optionsCollection, I'm setting the property
which will be printed. Is it possible to set property which will be _key_ of
message which wi
Maybe this will help:
http://wiki.apache.org/struts/StrutsFileDownload
L.
Darren Hall wrote:
I'm having two issues -
1) I cannot forward (or map) to an individual file - only to a path.
I'd like to find a way to be able to forward to a specific file (html, pdf,
etc.). Is this a configur
Simon Pink wrote:
Hi there,
Nutshell version:
The problem is that I cannot seem to get access to the session from within
my MessageResources, so I cannot call my 'myWebSession.getLanguageId()'
method.
Explanation:
I need a MessageResources handler too solve two issues: 1) Pulling messages
from
I managed to get the problem working, unfortunately that fix is by doing
something that is against best practices (if I understand them correctly).
To get this to work what I ended up doing was pulling the results from the
search and putting that in the reset of the resultsAction. I am pretty
cer
It's more likely that I don't understand. This is my first struts project
and I am learning as I go.
Here is all of the getters/setters that I have so far. It is quite possible
that I am missing some, but the previous page that I created that works used
only those listed, and it works fine. T
On 10/20/06, Adam K <[EMAIL PROTECTED]> wrote:
Getter and setter methods for ? (Sorry if it should be obvious but I want
to clarify as it isn't obvious to me)
for numProducts indexed property. And i dont understand why are you
populating blank values in the getter methods..I mean you should
Hi im looking for a hosting company that supports java 1.5, tomcat 5.x (i
will upload a struts 2 application)
HD:5gb Transfer:30+Gb
Anybody has suggestions...???
Thanks
Juan
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Getter and setter methods for ? (Sorry if it should be obvious but I want
to clarify as it isn't obvious to me)
As far the error message here is what I recieve:
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
How about doing a jstl if statement within the index.jsp page. If you
need to pass the parameters, then within the if errors put in a hidden
field named portal with value of collab, else no hidden value.
something like that maybe?
On 10/19/06, Perry Minchew <[EMAIL PROTECTED]> wrote:
Hi every
On 10/19/06, Adam K <[EMAIL PROTECTED]> wrote:
Here are the 2 get methods that I have.
thanks again for all the help.
public int getNumProducts() {
return numProducts;
}
public int getNumProducts(int index)
{
if(this.results== null)
{
this
Hi everyone,
Another beginner question. I have an index page that currently
does nothing but redirect ().
However, I need to pass a parameter passed in from the calling page to be
transferred to a bean. The parameter is in formal
"./index2.jsp?portal=collab". I have created a portal
One other thing I just realized that I should include is the fact that all
of my forms are request based, which doesn't allow me to include the form
information from one to the next, so to get around that (for more testing) I
have included the array in a Session variable so that I can pull it out
If this is a bad technique I would be more than happy to change it to a more
standard technique. Any suggestions on how to improve my code are always
welcome.
thanks for the suggestions thus far.
Adam
On 10/19/06, Chris Pratt <[EMAIL PROTECTED]> wrote:
I don't think I've ever seen that techni
Is there any compatibility issues with struts 1.2.9 and tomcat 5.5. I upgraded
to 5.5 from 5.0.28 and am now getting the following error.
java.lang.ClassCastException: org.apache.struts.taglib.logic.IterateTei
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImp
I don't think I've ever seen that technique before, but you have to remember
that size() is 1 based and index (or get(index) ) is 0 based. So when
someone calls getNumProducts(5), your while loop fills in indexes 0, 1, 2,
3, and 4 (because then index and this.results.size() are both 5), then you
I have the I18N support for externalizing strings working great in
Struts/Tiles, but we have several Tiles that are all text and it doesn't
really make sense to copy all that text into the resource bundle and have an
empty Tile that just retrieves the text. I was hoping there was a way to do
some
Here are the 2 get methods that I have.
thanks again for all the help.
public int getNumProducts() {
return numProducts;
}
public int getNumProducts(int index)
{
if(this.results== null)
{
this.results = new ArrayList();
}
while(index >
On 10/19/06, Adam K <[EMAIL PROTECTED]> wrote:
Hi all I have been working on this probelm for the past couple of days,
and
don't seem to be making any progress on it. I am fairly certain it is a
problem with my understanding of struts, and as such it makes it quite
difficult for me to solve the
Hi all I have been working on this probelm for the past couple of days, and
don't seem to be making any progress on it. I am fairly certain it is a
problem with my understanding of struts, and as such it makes it quite
difficult for me to solve the problem myself.
I am trying to use a textfield a
Hi,
I have a peculiar requirement .
I have 8 check boxes and corresponding 8 text boxes for questions(8 question
textboxes) and 8 text boxes for answers(8 answer text boxes).User checks the
check box-->enters the question in corresponding question textbox and enters
the answer in the corres
We are constantly getting pressure to consider .NET development because
it is faster than our traditional J2EE/Struts work. After an in-depth
comparison of the two, the main advantage of .NET in regard to "speed of
development" seems to be that you can easily drag and drop a few
controls, build an
From: José María Tristán [mailto:[EMAIL PROTECTED]
> docuemt.forms[0].action = new action; and I call the submit.
That's a typo, right?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Dave Newton wrote:
From: Dean Crothers [mailto:[EMAIL PROTECTED]
What I'd like to know is how do I configure Struts2 to find the
tiles-def.xml?
Hmm, I must have missed the listener; I'm using the servlet.
The StrutsTiles listener adds some extra feature, such as allowing you
to utilize
On 10/18/06 11:17 PM, "Ted Husted" <[EMAIL PROTECTED]> wrote:
> (ActionComponent.java:137)
>
> is
>
> writer.flush();
>
> which implies a problem with the result rather than the action.
>
> Does the exception go away if executeResult is false?
Hi Ted,
I removed executeResult from the tag an
Hello:
I have a form whith a default action. When any use pres a button I call to
a function on javascript that change the value of action:
docuemt.forms[0].action = new action; and I call the submit.
But, this return me this error:
mensaje No action instance for path /coffeenet/ExistenciasActual
From: Dean Crothers [mailto:[EMAIL PROTECTED]
> What I'd like to know is how do I configure Struts2 to find the
> tiles-def.xml?
Hmm, I must have missed the listener; I'm using the servlet.
What's the symptom? I'm using Tiles with no issues on Struts2.
Dave
Hello,
How to use html:optionsCollection together with struts messages (from
.properties file)?
When I'm setting label value for optionsCollection, I'm setting the property
which will be printed. Is it possible to set property which will be _key_ of
message which will be printed? Something lik
Please once again check the jar list. Hibernate3.jar file should be
there in the list. Session class is available in hibernate3.jar file.
Thanks
Ashok
-Original Message-
From: Gomathi [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 3:35 PM
To: Struts Users Mailing List
Subjec
hai,
I am working on struts with hibernate.I included all jar file into libraries.
Whenever i am deplyong and execute firstjsp it faces the problem like
java.lang.NoClassDefFoundError: org/hibernate/Session
action.EmployeeAction.execute(EmployeeAction.java:31)
org.apache.struts
test
48 matches
Mail list logo