Re: upload file to asp.net 2.0 server

2006-11-16 Thread Simon Kitching
On Mon, 2006-11-13 at 19:36 -0800, damon leong wrote: i wondering is that FileUpload package can upload it from java client to .net server ... ? because i starting project upload file from java client to asp.net server please tell is it can support ? Sorry, but the commons

RE: Using the validation framework without struts

2006-11-16 Thread DOMINGUEZ Felipe
Hi Ray. Thanks a lot. I will have a look to it. I think I sow it yesterday, but very quick and I did not realize the link to the examples. Cheers felipe -Original Message- From: Ray Shi [mailto:[EMAIL PROTECTED] Sent: Wednesday 15 November 2006 23:46 To: Jakarta Commons Users

Re: Cannot find FileItemIterator.

2006-11-16 Thread Shervin Asgari
Please help. I still have this issue. Shervin Asgari - System Consultant Shervin Asgari wrote: Hello. I am trying to test FileUpload, and used a sample from the User Guide and Streaming Guide. But I get the same error. I have uploaded the commons-fileupload.1.1 to my WEB-INF/lib directory

RE: Using the validation framework without struts

2006-11-16 Thread DOMINGUEZ Felipe
HI Ray. I the examples are very good. But they refer to class org.apache.commons.validator.TestTypeValidator Which is not part of the binary download? I have checked the source files and it is there but in a test directory. It is there any reason why this class is not part of the binary

How to add commons:fileupload to tomcat

2006-11-16 Thread Shervin Asgari
Hello. I have added the commons-fileupload-1.1.1.jar to my WEB-INF/lib directory, and I have also included the same jar file in my webapp.jar file. But still I seem to have problem using it. I keep getting : DiskFileItemFactory cannot be resolved to a type I have also tried other classes and

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Amit Jha
I think DiskFileItemFactory is not there in the jar you have(might be the older one). I was facing the same problem and when I started using common-fileupload that comes with struts 1.3.5 things were fine. Regards, Amit On 11/16/06, Shervin Asgari [EMAIL PROTECTED] wrote: Hello. I have added

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Shervin Asgari
So what can I do? Shervin Asgari Amit Jha wrote: I think DiskFileItemFactory is not there in the jar you have(might be the older one). I was facing the same problem and when I started using common-fileupload that comes with struts 1.3.5 things were fine. Regards, Amit On 11/16/06, Shervin

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Shervin Asgari
LOL. I had to add commons.io to make it work. Now everything works fine. I think the documentation is QUITE poor. No where did it say that I needed that package also. Shervin Asgari - System Consultant Shervin Asgari wrote: So what can I do? Shervin Asgari Amit Jha wrote: I think

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Amit Jha
The package is org.apache.commons.fileupload.disk On 11/16/06, Shervin Asgari [EMAIL PROTECTED] wrote: So what can I do? Shervin Asgari Amit Jha wrote: I think DiskFileItemFactory is not there in the jar you have(might be the older one). I was facing the same problem and when I started

[compress] Re: VFS jar files

2006-11-16 Thread Mario Ivankovits
Hi Will! If folks are interested in code that can write to Zip Files, I've offered code to do this before. Hmmm, looks like I really missed it, sorry! I was thinking it would make sense to put it in compress, and then VFS could use as well. I don't know the status of commons-compress, there

How to retrieve the storeLocation

2006-11-16 Thread Shervin Asgari
Hello. I am using the user guide. When I print out the value of items I get something like this: GetFieldName()file GetName()anines_til_moteguide.csv GetSize()17665 isInMemory()false itemname=anines_til_moteguide.csv,

Re: How to retrieve the storeLocation

2006-11-16 Thread Shervin Asgari
Nevermind. I figured it out. Shervin Shervin Asgari wrote: Hello. I am using the user guide. When I print out the value of items I get something like this: GetFieldName()file GetName()anines_til_moteguide.csv GetSize()17665 isInMemory()false itemname=anines_til_moteguide.csv,

Commons Email Problem Rides Again...

2006-11-16 Thread Luke DeWitt
Hi, a while back I asked about this error: org.apache.commons.mail.EmailException: Sending the email to the following server failed : mail.ourmailserver.com:25 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:873) at org.apache.commons.mail.Email.send(Email.java:898) at

[taglibs] release xtags?

2006-11-16 Thread David J. M. Karlsen
Hi! Seems like the taglib xtags (xpath support) isn't released yet. Does a plan exist for releasing? Kind regards, David -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To

Re: Commons Email Problem Rides Again...

2006-11-16 Thread Graeme J Sweeney
On Thu, 16 Nov 2006, Luke DeWitt wrote: Hi, a while back I asked about this error: snip/ If anyone has any info they can share with me, it would be a great help How many recipients per email? Can you install a command line app, replicate the message generated and test from there?

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Martin Cooper
On 11/16/06, Shervin Asgari [EMAIL PROTECTED] wrote: LOL. I had to add commons.io to make it work. Now everything works fine. I think the documentation is QUITE poor. No where did it say that I needed that package also. It is documented here:

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Martin Cooper
On 11/16/06, Martin Cooper [EMAIL PROTECTED] wrote: On 11/16/06, Shervin Asgari [EMAIL PROTECTED] wrote: LOL. I had to add commons.io to make it work. Now everything works fine. I think the documentation is QUITE poor. No where did it say that I needed that package also. It is

Re: How to add commons:fileupload to tomcat

2006-11-16 Thread Shervin Asgari
Yes I know. My bad. I saw it now. Shervin Martin Cooper wrote: On 11/16/06, Shervin Asgari [EMAIL PROTECTED] wrote: LOL. I had to add commons.io to make it work. Now everything works fine. I think the documentation is QUITE poor. No where did it say that I needed that package also. It is

Re: [taglibs] release xtags?

2006-11-16 Thread Martin Cooper
On 11/16/06, David J. M. Karlsen [EMAIL PROTECTED] wrote: Hi! Seems like the taglib xtags (xpath support) isn't released yet. Does a plan exist for releasing? You're asking on the wrong mailing list - xtags is part of the Jakarta Taglibs project, not Jakarta Commons. However, you probably

Re: [fileupload] - aborting file upload

2006-11-16 Thread Martin Cooper
On 11/15/06, Andrew Serff [EMAIL PROTECTED] wrote: I have this problem as well. I would love to hear if there is a a way to cancel the client from sending the form data. It seems that it has to send the entire form data before it can get a response from the server. I'm guessing this is just

Re: [fielupload] too long time for the error page to be displayed

2006-11-16 Thread Martin Cooper
On 11/15/06, Leena Kulkarni [EMAIL PROTECTED] wrote: We have implemented file upload with the commons file upload. We have set the upload.setSizeMax(1*1024*1024); statement as we want to restrict the size to 1 MB. When user tries to upload files greater than say 7MB, on some machines, the

Re: String handling TagLib

2006-11-16 Thread rick
There are a lot of these types of things available in the fmt and fn taglibs: http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fmt/tld-summary.html http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fn/tld-summary.html I've used these to do all kinds of string manipulation, although

Re: [fileupload] - aborting file upload

2006-11-16 Thread Paul J DeCoursey
Martin Cooper wrote: On 11/15/06, Andrew Serff [EMAIL PROTECTED] wrote: I have this problem as well. I would love to hear if there is a a way to cancel the client from sending the form data. It seems that it has to send the entire form data before it can get a response from the server. I'm

[betwixt]Outputting java.lang.Long with a custom element name

2006-11-16 Thread Jared Graber
I have a list containing objects of type Long. I want to display it as: customListName customNamevalue of the long 1/customName customNamevalue of the long 2/customName customNamevalue of the long 3/customName customNamevalue of the long 4/customName customListName I can get the

Re: [fileupload] - aborting file upload

2006-11-16 Thread DJohnson
The HTTP Protocol is the limiting factor here. Any request or response, once started, has to complete before either side can send anything else. The only way to stop it sooner is to force the connection closed, accomplishing a TCP level RESET, but you also lose the ability to send any

Re: Using the validation framework without struts

2006-11-16 Thread Ray Shi
Well my guess is TestTypeValidator was introduced originally in the test cases, and that example could be based from one of the test cases. You need probably check with the commons-validator team to confirm my theory though :-) Anyway there is a built-in integer validator*

[scxml] Is there any visualization tool ?

2006-11-16 Thread Frederik Bayart
Hallo, Is there anybody who knows visualization tools that can generate a state graph based on a scxml document ? Thanks, Frederik Send instant messages to your online friends http://uk.messenger.yahoo.com - To

Re: [SCXML] enabling/disabling logging for var assignments

2006-11-16 Thread Rahul Akolkar
On 11/16/06, Nestor Urquiza [EMAIL PROTECTED] wrote: Since it took me a while to learn about the commons-logging wrapper and current log engines I will post here my results just in case someone has a similar problem in the future: snip-sample-code/ Thanks for posting for the archives. I

Re: [scxml] Is there any visualization tool ?

2006-11-16 Thread Rahul Akolkar
On 11/16/06, Frederik Bayart [EMAIL PROTECTED] wrote: Hallo, Is there anybody who knows visualization tools that can generate a state graph based on a scxml document ? snip/ Not that I'm aware of. There are, however, open source visualization tools such as UMLGraph [1] that work for class