RE: Where did Struts-Faces go?

2004-05-10 Thread Matthias Wessendorf
Richard, see this bug-ticket: http://issues.apache.org/bugzilla/show_bug.cgi?id=28668 Ted Husted had uploaded a nightly_build from March,29 cheers, Matthias > -Original Message- > From: Richard Hightower [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 11, 2004 8:45 AM > To: Struts Users

JSP Error Page Problems

2004-05-10 Thread Mark Mandel
My apologies if this is not specifically struts related, but wasn't too sure. Running Sun One with Struts 1.1 I was basically attempting to create a jsp that forwarded onto my global error action in the advent of an exception not being caught. Have the following: --- error.jsp --- <[EMAIL PROT

Re: Reports In Struts Frame work

2004-05-10 Thread birendar . waldiya
ok , thanks ! Birendar Singh Waldiya as as <[EMAIL PROTECTED]> 11-05-04 01:32 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject Re: Reports In  Struts Frame work did u try jfree.org have a

Re: [OT] Any ideas for time-limiting demo web apps?

2004-05-10 Thread shankarr
Hi! I want to implement https on my application. It seems that you have done just that. It would be nice if you could state stepwise how you achieved the same. Your help is highly appreciated. Thanks in advance, *Richie* \ bOOyah wrote: Jesse Alexander (KXT) wrote: use a certificate. validatio

RE: critical problem

2004-05-10 Thread Andrew Hill
But after some hours it starts giving problems but at the same time dummy site works fine What sort of problems? The server catches fire? That sounds like overheating. You probably want to use a bigger ventilation fan, and keep a fire extinguisher handy. Make sure the transformer in the power su

Re: building struts from the source code

2004-05-10 Thread Joe Germuska
At 7:32 PM -0700 5/10/04, Abhishek Khandelwal wrote: Thats what I was wondering, I just need a jar, and I had servel-api.jar which happens to be Servlet 4.0 Where do I get Servelt 2.3? I would usually get it from http://www.ibiblio.org/maven/servletapi/jars/ Joe -- Joe Germuska [EMAIL

RE: BaseDispacthAction?

2004-05-10 Thread Ravi Kulkarni
HI James, It would be great if you can share this information with all. Kulkarni. . -Original Message- . From: James Mitchell [mailto:[EMAIL PROTECTED] . Sent: Monday, May 10, 2004 5:15 PM . To: Struts Users Mailing List . Subject: Re: BaseDispacthAction? . . . I'll send it to you d

Where did Struts-Faces go?

2004-05-10 Thread Richard Hightower
The zip files from May 03 to May 10 are empty. Has Struts-Faces been moved? The empty zip files are at: http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www

Re: building struts from the source code

2004-05-10 Thread Abhishek Khandelwal
Thats what I was wondering, I just need a jar, and I had servel-api.jar which happens to be Servlet 4.0 Where do I get Servelt 2.3? Abhishek On Mon, 2004-05-10 at 19:29, Joe Germuska wrote: > At 6:43 PM -0700 5/10/04, Abhishek Khandelwal wrote: > >Joe, > > > >Servlet 2.2 is tomcat 3.0 > >This is

Re: building struts from the source code

2004-05-10 Thread Joe Germuska
At 6:43 PM -0700 5/10/04, Abhishek Khandelwal wrote: Joe, Servlet 2.2 is tomcat 3.0 This is pretty old version. Are you sure that it wont even build on tomcat 4.0 , Servlet 2.3?? No, actually I'm sure that it *will* build on Servlet 2.3. But if all you want is a jar, does it really matter? Stru

Struts 1.0 question - defining multiple controllers

2004-05-10 Thread Khalid K.
Platform websphere/struts 1.0 (updating to 1.1 out of question) Question: Are there any draw backs of declaring multiple controller servlets in one web app ?? I've heard that it is not recommended because they will share the same servlet context which will cause problems ??? Whoever

Re: building struts from the source code

2004-05-10 Thread Abhishek Khandelwal
Joe, Servlet 2.2 is tomcat 3.0 This is pretty old version. Are you sure that it wont even build on tomcat 4.0 , Servlet 2.3?? Abhishek On Mon, 2004-05-10 at 18:27, Joe Germuska wrote: > At 5:09 PM -0700 5/10/04, Abhishek Khandelwal wrote: > >I am getting this error when I try to do ant dist on

Re: DynaValidatorForm in struts

2004-05-10 Thread Niall Pemberton
I read the article but IMO the arguments he makes don't stand up - and I believe two of the six points are wrong. I've posted a reply to his blog going into detail. Niall On Tuesday, May 11, 2004 12:20 AM Eric Noel wrote.. > > i asked something like this before and matthias provided a useful > o

Re: building struts from the source code

2004-05-10 Thread Joe Germuska
At 5:09 PM -0700 5/10/04, Abhishek Khandelwal wrote: I am getting this error when I try to do ant dist on the source code of the struts framework. Anyone has any idea what might the error be??? I have correctly set path for servlet-api.jar and jsp-api.jar ---

RE: [VERY OT] Wireless Mice...what gives??

2004-05-10 Thread Barett McGavock
Congrats, booyah, on your find. Someone asked me to post when I finally decided on a mouse. I got a Microsoft Intellimouse V4.0A (wired:USB). I like it so far but I am having trouble deciding whether to use 2 or 3 fingers on top. 3 seems to get a little cramped but with 2, I end up having the fin

serialization of a FormFile object

2004-05-10 Thread Octavia Yung
Hi All, I was wondering if is it be possible to serialize a FormFile object within an ActionForm (i.e. the FormFile object is being put on the Session)? If so, how would one go about doing this? Thanks much for your help! Octavia

building struts from the source code

2004-05-10 Thread Abhishek Khandelwal
I am getting this error when I try to do ant dist on the source code of the struts framework. Anyone has any idea what might the error be??? I have correctly set path for servlet-api.jar and jsp-api.jar - jakarta-struts-1.1-

Re: Multiple action for one (1) form

2004-05-10 Thread Eric Noel
On 5/8/2004 4:58 PM, Murali Ravipudi wrote: What is the best way to define different actions for the same form with struts? I did something like this: == == In jsp, Add User Edit User Delete

Re: DynaValidatorForm in struts

2004-05-10 Thread Eric Noel
On 5/8/2004 2:03 AM, Zhang, Larry (L.) wrote: When using DynaValidatorForm, you just put the fields in the struts configuration xml file, and you don't need a formbean to set all the fields manually, which in turn saves your developing time. I am asking in struts community, is there any reason/enc

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Hi Octavia, you are right, "wrapper" doesn't really meet the thing, because i wouldn't let the FormFileWrapper delegate to the methods of a FormFile-Member but copy the byte [] etc. FormFile is an Interface and no class, otherwise you could extend FormFile and make the the InputStream transient

Re: Tiles - getting parent attribute?

2004-05-10 Thread John Moore
Josh Cronemeyer wrote: Well, I myself have just started out with struts and tiles too, but I'm going to take a crack at your question... I don't really see why you have two page titles. You are setting a page title for the menu area of the page and the support area of the page, but you are still

RE: Please help: Empty form while error

2004-05-10 Thread Kevich Gan
Geeta, Thanks for the reply! I got it working just now. It was the add.jsp. I did not have the scope="request" in the form tag. I thought that was the default. Now it's working, but I am still vague on why it didn't work in the first place. - Kevich Geeta Ramani <[EMAIL PROTECTED]> wrote:

RE: LIL OT sercurityfilter question

2004-05-10 Thread Hookom, Jacob
If you ONLY need a few pages to be SSL, then you might want to look at the http headers of the incoming request. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 4:14 PM To: Struts Users Mailing List Subject: Re: LIL OT sercurityfilter question En

Re: serialization of a FormFile object

2004-05-10 Thread Octavia Yung
Thanks, Axel. So would the FormFileWrapper just be another class which houses the Struts FormFile class? What fields should I be copying...I'm confused by your point. Is there any sample code available? Besides the method mentioned above, are there other alternatives to approach the problem? T

Re: LIL OT sercurityfilter question

2004-05-10 Thread Riyad Kalla
Enough to take it into consideration. SSL (encryption) is expensive especially on heavy traffic sites. On Monday 10 May 2004 01:04 pm, Nathan Maves wrote: > How much of a performance loss would this be? > > On May 10, 2004, at 1:53 PM, Hookom, Jacob wrote: > > Configure your server to only accept

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Hi. You could implement a FormFileWrapper, geting a FormFile in Constructor. Then you may copy all fields except InputStream (which makes in fact no sense, because it is definetly lost after e.g. restart of App) and let the wrapper implement Serializable. The wrapper can now be stored into you

Re: Reports In Struts Frame work

2004-05-10 Thread Axel Stahlhut
we are using cewolf, a set of tags based on jfreechart. Very nice, you just have to implement the models behind the tags and then create all kind of charts you may need. AFor cewolf and jefreechart on Linux you need an XServer or something like xvfb (XVirtualFrameBuffer), if no XWindow install

RE: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-05-10 Thread Betty Koon
Hi there, Is there any news on when the offical 1.2.0 struts will be released or has it reached Alpha yet? Thanks. -Betty -Original Message- From: nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:34 AM To: Struts Users Mailing List Subject: Re: [ANNOUNCE] St

serialization of a FormFile object

2004-05-10 Thread Octavia Yung
Hi All, I was wondering if is it be possible to serialize a FormFile object within an ActionForm (i.e. the FormFile object is being put on the Session)? If so, how would one go about doing this? Thanks much for your help! Octavia

RE: Reports In Struts Frame work

2004-05-10 Thread Geeta Ramani
jfreechart *rocks*!! (http://www.jfree.org/jfreechart/) > -Original Message- > From: as as [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 4:02 PM > To: Struts Users Mailing List > Subject: Re: Reports In Struts Frame work > > > did u try jfree.org > have a look at jchart.org also

Re: LIL OT sercurityfilter question

2004-05-10 Thread Nathan Maves
How much of a performance loss would this be? On May 10, 2004, at 1:53 PM, Hookom, Jacob wrote: Configure your server to only accept requests in an SSL port. -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 2:49 PM To: Struts Users Mailing List S

Re: Reports In Struts Frame work

2004-05-10 Thread as as
did u try jfree.org have a look at jchart.org also [EMAIL PROTECTED] wrote: Hi, I want to implement reporting in struts framework , the reports are like select and display query, i dont have any idea how to implement then in this framwork specially , the action class for report , i have code

RE: LIL OT sercurityfilter question

2004-05-10 Thread Hookom, Jacob
Configure your server to only accept requests in an SSL port. -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 2:49 PM To: Struts Users Mailing List Subject: LIL OT sercurityfilter question I have been using the sercurityfilter by Max Cooper. I

Re: Displaying a dynamic table from a collection

2004-05-10 Thread dennis . graham
Check out the sweet, sweet display tag library: http://displaytag.sourceforge.net/ Miguel Arroz <[EMAIL PROTECTED]> 05/10/2004 03:03 PM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject:Displayin

Re: Tiles - getting parent attribute?

2004-05-10 Thread Josh Cronemeyer
Well, I myself have just started out with struts and tiles too, but I'm going to take a crack at your question... I don't really see why you have two page titles. You are setting a page title for the menu area of the page and the support area of the page, but you are still talking about only 1 pa

LIL OT sercurityfilter question

2004-05-10 Thread Nathan Maves
I have been using the sercurityfilter by Max Cooper. I wanted to know the best way to incorporate SSL into the picture. What is the best way to ensure that the login page and submission action is encrypted? Nathan - To unsubs

Re: Validation question:not required but still needs to be validated if entered

2004-05-10 Thread Shrihas Shah
Thanks Sven, I am now doing it with DateValidator class in validator package. It works. Shrihas. --- In [EMAIL PROTECTED], Sven Kiesewetter <[EMAIL PROTECTED]> wrote: > I think, you have to implement your own validator. Let is inherent from > the original validator and overwrite the appropiate

Displaying a dynamic table from a collection

2004-05-10 Thread Miguel Arroz
Hi! I'm a newbie to Struts, and I know this is probably a very basic question, but I'm getting REALLY confused with all the books and documentation I have read. So, I'm asking some guidance here... I don't need all the details, but I need some help to start. I'm trying to make a page that,

need help

2004-05-10 Thread Abhishek Khandelwal
Hi, I am trying to build struts from the source code. In build.properties, there is a property struts-legacy.jar=contrib/struts-legacy/dist/struts-legacy.jar There was no struts-legacy.jar along with distribution. I thought, may be it generated automatically. But when I run ant dist, it fails

RE: Please help: Empty form while error

2004-05-10 Thread Geeta Ramani
Kevich: make sure you don't have a "redirect=true" in your add configuration in struts-config file. If that looks ok, post the relevant portions of the struts-config.xml and someone could maybe spot the problem.. Regards, Geeta > -Original Message- > From: Kevich Gan [mailto:[EMAIL PROT

Please help: Empty form while error

2004-05-10 Thread Kevich Gan
Hi, I have an add form and an edit form. I thought I configured both the same style but my edit works well while my add form comes back empty when an error occurs and findforward("error") forward it back to the add form. Of course I'd like to have user's input displayed. Both editSaveAction an

RE: Implementing a file download

2004-05-10 Thread None None
Well, if there is an easier answer I'd love to hear it, but in the mean time I figured out how to do it, and it actually wasn't as hard as I had thought (partially because I did something smiilar some time back, so it was really just hacking some previous code). Here's what I would up doing...

RE: logic:present and html tag

2004-05-10 Thread Karr, David
Because you can't have "overlapping" elements like you have in your example. It is not well-formed. > -Original Message- > From: Oliver Pfau [mailto:[EMAIL PROTECTED] > > Hi, > > I get an exception from tomcat 5.0.19 in the that the > html-tag is not balanced at the following code: >

html:select and html::iterate

2004-05-10 Thread Samuel Rochas
Hello, I have a JSP page with a element. According to the user selection, a bean is filled with apropiate data, and should be displayed in a jps page. My jsp page looks like: ... When I select an entry from the select and press the button, the action

R: Struts File-Upload performance issue

2004-05-10 Thread Simone - Dev
The "waiting time" as you call it is the time taken to upload the file from the client to the server. Actions start to execute after the whole request is sent to the server... And the uploaded file is part of this request. Simone - Simone Chiaretta www.piyosailing.com/S An

Please help: Empty form while error

2004-05-10 Thread Kevich Gan
Hi, I have an add form and an edit form. I thought I configured both the same style but my edit works well while my add form comes back empty when an error occurs and findforward("error") forward it back to the add form. Of course I'd like to have user's input displayed. Both editsaveAction an

Implementing a file download

2004-05-10 Thread None None
Ok, so in my continuing effort to learn Struts by writing a file manager app, things are going very well. But, now I find myself at another stumbling block... Is there any easy way to implement a file download in Struts WHEN THE TARGET FILE COULD BE ANYWHERE IN THE FILE SYSTEM? It doesn't see

help requiredi n JSP

2004-05-10 Thread Izza Zahoor
heres a code i have written for submitting the value clicked from one jsp to another but it always return the null value.Please help me out with this i have to submit the project on Sunday don't have much time.reply ASAP! thanks <% int Value=1; String query="select * from euser ";

critical problem

2004-05-10 Thread Jignesh Patel
Hi, We are facing crtical problem for our site,our site works fine on local system, even it works fine on the server also. But after some hours it starts giving problems but at the same time dummy site works fine. We are not able to figur out any technical reason. For your infomation we are usi

Re: Reset all forms in an application?

2004-05-10 Thread kevichgan
Steve, Have you looked at the DispatchAction? There's a "usering a workflow form" section in the Professional Jakarta Struts book talking about this subject. -Kevich --- In [EMAIL PROTECTED], Steven Nakhla <[EMAIL PROTECTED]> wrote: > Is there a way within Struts to reset all of the ActionForm

RE: concurrency in struts

2004-05-10 Thread Geeta Ramani
Yes, somebody did indeed answer better.. Please see Manfred Wolff's earlier response in this thread. :) > -Original Message- > From: Ludovic Maitre [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 9:08 AM > To: Struts Users Mailing List > Subject: Re: concurrency in struts > > > H

RE: [OT] intern() and setting values.

2004-05-10 Thread Hibbs, David
Based on the JDK1.3 JavaDocs this would seem to be correct. However, it has always seemed to me to be bad style to try to force values to be interned in this way as you're working around the JVM--perhaps as some kind of theoried performance improvement? Think twice before relying on a function

Re: concurrency in struts

2004-05-10 Thread Ludovic Maitre
Hello, I think, but i hope that somebody could answer better, that the servlet container will instantiate a new Servlet, and accompanying Action classes, if this is needed. As far as i know, in J2EE, this is the servlet container who is responsible for forking new threads for the clients on-de

concurrency in struts

2004-05-10 Thread Jignesh Patel
I am just wondering, how concurrent request will be handled by single Action class. Because for many form objects(as there are thousands of clients) there are only one action class. -- Jignesh Patel Project Leader Bang Software T

RE: JSP 2.0?

2004-05-10 Thread Robert Taylor
I can only speak for myself, and yes, I run ServletExec 5.0 which is compliant with Servlet 2.4 and JSP 2.0. specifications. For more information on ServletExec: http://www.newatlanta.com/products/servletexec/index.jsp You can download a free development copy here. http://www.newatlanta.com/c/pr

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
Daniel, Thanks for your info. I will try. What I am currently doing is to use uploadBean. It provides a progressive bar on the screen during file uploading, so that users can visualize the uploading process. UploadBean could be download from http://www.javazoom.net/jzservlets/uploadbean/upload

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
Daniel, Thanks for your info. I will try. What I am currently doing is to use uploadBean. It provides a progressive bar on the screen during file uploading, so that users can visualize the uploading process. UploadBean could be download from http://www.javazoom.net/jzservlets/uploadbean/uploadbea

[OT] intern() and setting values.

2004-05-10 Thread Michael McGrady
Anyone know whether public void setValue(String value) { this.value = value.intern(); } sets the this.value to a pooled String? I am trying to avoid a separate call to intern() after setting the value. Thanks. Michael McGrady LEGAL NOTICE This electronic mail transmission and any accompan

logic:present and html tag

2004-05-10 Thread Oliver Pfau
Hi, I get an exception from tomcat 5.0.19 in the that the html-tag is not balanced at the following code: ...the useframes- bean triggers when it is present to use frames at t

iBatis and Logic:iterate

2004-05-10 Thread iwan
Hi, Any example I can learn from regarding select statement from ibatis which creates lists / paginated list and displaying using struts logic:iterate ? Iws

Referer http header not set for struts redirects

2004-05-10 Thread Martin Alley
Hi, It would appear the http redirect header is not set when struts does a redirect as dictated by a forward element with redirect attribute true. Can someone comment on this? Thanks Martin

RE: JSP 2.0?

2004-05-10 Thread Slattery, Tim - BLS
> I keep seeing people mention JSP EL in their posts. That's > from JSP 2.0 spec. Question is: how many servers support > that? Just looked up Weblogic 8.1 and it doesn't support it. > I know Tomcat 5.x supports it... > > Are there a lot of people using JSP 2.0 out there? I use a Weblogic cont

RE: Struts File-Upload performance issue

2004-05-10 Thread Daniel Kalcevich
There is a package called edtFTPj that allows you to perform FTP actions using java classes. The location is at: http://www.enterprisedt.com/downloads/ftp.html It may or may not help you, but might be worth a shot. Daniel -Original Message- From: Kathy Zhou [mailto:[EMAIL PROTECTED]

JSP 2.0?

2004-05-10 Thread Chaikin, Yaakov Y (US SSA)
Hi, I keep seeing people mention JSP EL in their posts. That's from JSP 2.0 spec. Question is: how many servers support that? Just looked up Weblogic 8.1 and it doesn't support it. I know Tomcat 5.x supports it... Are there a lot of people using JSP 2.0 out there? Thanks. Yaakov Chaikin Softwar

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
Jacob, I agree with you. I do not think this is a struts issue. Java is not a good tool for large file uploading. We run into the similar issue before. We built a web interface (Java app) to let users upload files through our web sites. The function performance decreased with the growth of fi

getting a collection

2004-05-10 Thread Dean A. Hoover
I apologize if this is the wrong place to ask, but I am having trouble solving this problem. I have written a custom JSP tag for use in a struts 1.1 application I am implementing. I have a domain object called Series which has a method getCategoryIds that returns a HashSet of Integers. A Series obj

Re: Struts File-Upload performance issue

2004-05-10 Thread Richard Yee
Ralf, What is the speed of your connection? What is the speed of the client's connection? How fast is your server? What is the load on the server? You need to consider those questions before pinning the problem on the Struts file upload. Regards, Richard --- Ralf Alt <[EMAIL PROTECTED]> wrote: >

Re: newbe question - is this possible

2004-05-10 Thread Riyad Kalla
I've tried to use the 'collection' arg in the iterate tag and never had it work (with array, collection, or anything) and always have to use 'name'. I'm not sure why, but yes it seems to work fine. On Monday 10 May 2004 09:31 am, Jimmy Coyne wrote: > Hi all , > > Seen an example like this in the

Re: [OT] intern(): setting pooled String values

2004-05-10 Thread Riyad Kalla
IIRC interning of Strings has been implied String behavior since the Java 1.2 VM. For example: String one = "ham"; String two = "ham"; if(one == two) System.out.println("Same!"); will print 'Same'. -Riyad On Monday 10 May 2004 09:30 am, Michael McGrady wrote: > Anyone know whether > >

newbe question - is this possible

2004-05-10 Thread Jimmy Coyne
Hi all , Seen an example like this in the kick start struts book but when I try I get an "cannot create iterator for this collection" In the action class, employee beans are added to an ArrayList which added to the request object ArrayListemployees = getEmployees(); request.setAtt

[OT] intern(): setting pooled String values

2004-05-10 Thread Michael McGrady
Anyone know whether public void setValue(String value) { this.value = value.intern(); } sets the this.value to a pooled String? I am trying to avoid a separate call to intern() after setting the value. Thanks. Michael McGrady LEGAL NOTICE

[OT] links in hotmail

2004-05-10 Thread Balakrishnan, Vijay
Hi, When I click on any link in hotmail for eg: http://www.ibm.com/developerworks/library/gr-deploy/?ca=dnt-518 it returns a link of : http://64.4.10.250/cgi-bin/linkrd?_lang=EN&lah=ae631915d602a748b1166d582f832584&lat=1084205724&hm___action=http%3a%2f%2fwww%2eibm%2ecom%2fdeveloperworks%2flibrary

RE: Struts File-Upload performance issue

2004-05-10 Thread Hookom, Jacob
Yeah, FTP is the way to go here... anyone that would have to deal with 1GB files would have to be intelligent enough to run an FTP client vs. needing to develop a web interface for them. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 11:12 AM To:

Re: strange tomcat problem with struts1.1

2004-05-10 Thread Riyad Kalla
Ahh, good point. I was thinking of Strings or ints in my head, but yes you are right; probably best to just not use them. On Monday 10 May 2004 08:33 am, MARU, SOHIL (SBCSI) wrote: > Do not use class variables at all. A FINAL class variable may point to a > hashmap so the variable cannot point to

Re: Struts File-Upload performance issue

2004-05-10 Thread Mark Lowe
If its an upload what speeds do you get using ftp as a comparison ? Sure once its uploaded saving to the db may not be very long, slowest part is always going to be the network. On 10 May 2004, at 17:07, Ralf Alt wrote: Hallo, I'm using the struts file upload with Struts Version 1.1. If I try

Re: Struts File-Upload performance issue

2004-05-10 Thread Riyad Kalla
You need to store 1GB files in a database? Yea, so good luck with that ;) On Monday 10 May 2004 08:07 am, Ralf Alt wrote: > Hallo, > > I'm using the struts file upload with Struts Version 1.1. > > If I try to upload big files there is a performance problem. For a file of > 40Mb the upload needs ab

Struts File-Upload performance issue

2004-05-10 Thread Ralf Alt
Hallo, I'm using the struts file upload with Struts Version 1.1. If I try to upload big files there is a performance problem. For a file of 40Mb the upload needs about 20 minutes before the action is executed. I need the file upload for storing big files > 1Gb in the database. The storing in the

RE: strange tomcat problem with struts1.1

2004-05-10 Thread MARU, SOHIL (SBCSI)
Do not use class variables at all. A FINAL class variable may point to a hashmap so the variable cannot point to another hashmap once initialized but its contents can still be modified. So just use method level variables. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent

Re: concurrency in struts

2004-05-10 Thread Manfred Wolff (neusta)
There are two concepts you have to understand: thread-safe and reentrant. A method is reentrant, if many threads can enter the method as the same time without conflicting. For that you only have to act on parameters and local variables. Threads only share the data- and the code-segment of an ap

Re: Forward to original page

2004-05-10 Thread Christian Grobmeier
Hello, there is a form, which is included in all three templates. It sets the sort-order for my results. The Problem is, when i change this order i would like to be forwarded to the page where the form has been submitted. You could pass the name of the forwarding as a hidden field into the form. T

RE: [OT] Any ideas for time-limiting demo web apps?

2004-05-10 Thread Jesse Alexander (KXT)
use a certificate. validation of valid-timerange is almost free. If your demo requires that the computer it runs on must be connected to the internet, you can use the certificate to connect to your own server. Then the time-range check is done on YOUR server and you can be sure that no clock-twea

Re: strange tomcat problem with struts1.1

2004-05-10 Thread Riyad Kalla
Jingesh, See my last post, you don't need to synchronize and it will just slow down your app (NOTE: Do not make use of non-final class variables in Actions and you will be fine) Jignesh Patel wrote: Hi All, We are facing one strange problem, our server hangs after every 2-3 days. The reason be

RE: strange tomcat problem with struts1.1

2004-05-10 Thread Geeta Ramani
Jignesh: Trust me on this, you *don't* want to avoid concurrent requests: Struts takes care of that bit for you. As long as the variables in the execute method of your action classes are all method variables and you stay away from class variables, you will be ok. Really. :) As for why your to

tomcat configuration

2004-05-10 Thread Jignesh Patel
How to set tomcat so that it says how many processes and memory occupied by the tomcat at perticular moment. -- Jignesh Patel Project Leader Bang Software Technolgy Pvt. Ltd. (E) [EMAIL PROTECTED] (T) 091 484 3942132 B-4, Smar

strange tomcat problem with struts1.1

2004-05-10 Thread Jignesh Patel
Hi All, We are facing one strange problem, our server hangs after every 2-3 days. The reason behind it, is it tomcat creates unwanted java processes. >From my side I haven't implemented anything special except adding "synchronized (this) {" line in execute method so that I can avoid concurrent

[OT] Any ideas for time-limiting demo web apps?

2004-05-10 Thread bOOyah
Very off-topic this one, but I'm wondering if anyone has any good techniques for preventing a web app from working beyond a certain time? I'm thinking of the situation where demo or Beta versions of the app are distributed in the field and you want limit how long they will continue to work. O

Re: Why cancel throw Action.execute ?

2004-05-10 Thread James Mitchell
Ah yes, perhaps I should read up on the docs ;) I was (incorrectly) remembering from a custom tag on a recent project. Sorry for the confusion! -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. http://www.EdgeTechServices.net/ 678.910.8017 AIM: jmitchtx - Original

Re: concurrency in struts

2004-05-10 Thread Jignesh Patel
So you mean to say that there should not be any class variable used? But even though there are more then one thread executing execute method then? There is a possibility that for one thread 2 parameters will be filled and for other thread remaing 3. So all parameters are having different values f

RE: Why cancel throw Action.execute ?

2004-05-10 Thread Takhar, Sandeep
Are you sure data is not populated? I think it is, but validate is not called because html:cancel sends a specific parameter in the request. sandeep -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 8:02 AM To: Struts Users Mailing List Subject

RE: concurrency in struts

2004-05-10 Thread Daniel Perry
Each request to the same action subclass uses the same object. The method is called passing all necessary parameters to it. Therefore you should not use any class variables, only local variables. Ie, a MyAction class is created once, and for each request to it, it's method is called: public Act

Re: Validation question:not required but still needs to be validated if entered

2004-05-10 Thread Sven Kiesewetter
I think, you have to implement your own validator. Let is inherent from the original validator and overwrite the appropiate method. Than you can skip the validation if the field was empty. Sven Shah, Shrihas (OFT) wrote: Hi : I have a date field and it is not a required field. If somebody

Re: concurrency in struts

2004-05-10 Thread Jignesh Patel
Riyad, But does this methods are synchronized? Otherwise if two threads execute at the same time they can access the method at the same time. And result will be big mess. -Jignesh On Monday 10 May 2004 18:29, Riyad Kalla wrote: > This question is actually what made me sign up to this mailing lis

RE: Storing global data in the servletContext

2004-05-10 Thread Takhar, Sandeep
You still can, because for example you will have a servlet that will loaded up more than once. Or if you have a pre-check that checks for null and then loads it up in app context, it will work once per jvm (not sure exactly if it is once per server or jvm). Internationalization may be an issue

Re: concurrency in struts

2004-05-10 Thread Jignesh Patel
Hi Geeta, Can you elaborate more? -Jignesh On Monday 10 May 2004 18:18, Geeta Ramani wrote: > Jignesh: > > The "execute" method of the Action class includes (among others) as params > the request, response objects of each user.. That I believe is the key..:) > > Regards, > Geeta > > > -Origina

Re: concurrency in struts

2004-05-10 Thread Riyad Kalla
This question is actually what made me sign up to this mailing list... the answer is that there is no implicit concurrency. All your work/variables in Actions should be method-scoped and not use ANY class variables because of this. My specific questions was that I wanted to use a class variable

RE: concurrency in struts

2004-05-10 Thread Geeta Ramani
Jignesh: The "execute" method of the Action class includes (among others) as params the request, response objects of each user.. That I believe is the key..:) Regards, Geeta > -Original Message- > From: Jignesh Patel [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 8:54 AM > To: S

Re: FW: FW: multiple validators and ActionErrors

2004-05-10 Thread Susan Bradeen
I have not created custom validator classes, but maybe something in your custom validator class (and/or its methods) is amiss. Perhaps compare your class with the Struts source of the standard validator classes? Sounds like you are creating a new ActionErrors object where it might not be necess

concurrency in struts

2004-05-10 Thread Jignesh Patel
On Monday 10 May 2004 17:21, Jignesh Patel wrote: I am just wondering, how concurrent request will be handled by single Action class. Because for many form objects(as there are thousands of browser running with jsp forms) and there is only one action class. -- Jignesh Patel Project Leader

Re: Why cancel throw Action.execute ?

2004-05-10 Thread Sven Kiesewetter
You are right. The form is populated, but the validation is skipped. Your action has now to check Action#isCanceled. I think some of the higher Action implementations do this. Sven Niall Pemberton wrote: I believe this is incorrect. The form should still be populated, but the "validation" is s

Validation question:not required but still needs to be validated if entered

2004-05-10 Thread Shah, Shrihas \(OFT\)
Hi :   I have a date field and it is not a required field. If somebody enters the value then It has to be valid date though. How should I do it? I have removed required flag in my validation.xml but it still says required.   My validation.xml entry looks like  

  1   2   >