Re: java.lang.OutOfMemoryError: Java heap space

2006-10-19 Thread Antonio Petrelli
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

Re: Struts2 Tiles Integration

2006-10-19 Thread Antonio Petrelli
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

java.lang.OutOfMemoryError: Java heap space

2006-10-19 Thread B . Sridhar
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

Re: Drag-and-drop struts-aware IDE?

2006-10-19 Thread Medicherla Lakshmi
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

RE: Change an action of a form with javascript

2006-10-19 Thread José María Tristán
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

Re: Hosting

2006-10-19 Thread Li
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

[ANNOUNCEMENT] New Struts Committer: David DeWolf

2006-10-19 Thread Don Brown
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

RE: struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Joe Yuen
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

RE: Struts2 Tiles Integration

2006-10-19 Thread Dean Crothers
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

Re: [s2] issue

2006-10-19 Thread Ted Husted
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

Re: struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Lixin Chu
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 ?

RE: struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Joe Yuen
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

Re: Internationalizing an entire Tile

2006-10-19 Thread Chris Pratt
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

Re: struts 1.2.9 and tomcat 5.5

2006-10-19 Thread James Mitchell
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

Re: [s2] issue

2006-10-19 Thread Mark Menard
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

Re: Internationalizing an entire Tile

2006-10-19 Thread Laurie Harper
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

RE: Session based langugeId in MessageResources

2006-10-19 Thread Simon Pink
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:

Re: optionsCollection and messages

2006-10-19 Thread Laurie Harper
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

Re: Unable to forward to anything but a jsp

2006-10-19 Thread Laurie Harper
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

Re: Session based langugeId in MessageResources

2006-10-19 Thread Laurie Harper
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Puneet Lakhina
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

Hosting

2006-10-19 Thread Juan Espinosa
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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)

Re: Passing a parameter into a bean

2006-10-19 Thread Jim Reynolds
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Puneet Lakhina
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

Passing a parameter into a bean

2006-10-19 Thread Perry Minchew
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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

struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Joe Yuen
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Chris Pratt
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

Internationalizing an entire Tile

2006-10-19 Thread Chris Pratt
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

Re: Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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 >

Re: Textfield problem with pulling value out.

2006-10-19 Thread Puneet Lakhina
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

Textfield problem with pulling value out.

2006-10-19 Thread Adam K
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

html:multibox

2006-10-19 Thread Krishna, Hari
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

Drag-and-drop struts-aware IDE?

2006-10-19 Thread Bruno Melloni
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

RE: Change an action of a form with javascript

2006-10-19 Thread Dave Newton
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

Re: Struts2 Tiles Integration

2006-10-19 Thread David H. DeWolf
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

Re: [s2] issue

2006-10-19 Thread Mark Menard
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

Change an action of a form with javascript

2006-10-19 Thread José María Tristán
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

RE: Struts2 Tiles Integration

2006-10-19 Thread Dave Newton
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

optionsCollection and messages

2006-10-19 Thread Konrad Billewicz
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

RE: Struts with hibernate

2006-10-19 Thread MADISHETTY, ASHOK [AG-Contractor/8042]
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

reg:Struts with hibernate

2006-10-19 Thread Gomathi
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 only

2006-10-19 Thread cherukuri srujana
test

struts test

2006-10-19 Thread cherukuri srujana