Re: Check Disk space before file upload

2005-08-24 Thread Shey Rab Pawo
Since we are on this tack, has anyone seen a Java program that uses the NIO to do something like a unix tail command? There is supposed to be one in chainsaw, but it really is just a simple polling app. On 8/24/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: I have written a long time ago, the

Re: [OT] Business Layer Ideas

2005-06-01 Thread Shey Rab Pawo
On 6/1/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] ==== Strategy (315) Define a family of algorithms encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary

Re: JSTL and Struts together

2005-05-19 Thread Shey Rab Pawo
html-el:form etc. On 5/19/05, Suresh Khatri [EMAIL PROTECTED] wrote: %@ taglib uri=http://java.sun.com/jstl/core; prefix=c/ %@ taglib uri=/tags/struts-html prefix=html/ html:form action=dynaadd.do html:text property=name value=c:out value=${param.x}// /html:form

Re: Seeking advice image resizing

2005-05-08 Thread Shey Rab Pawo
I am not sure why Leon says that running headless mode is not that easy. He must have experiences I have not had. My experience is that running in headless mode is a fairly simple matter. All you have to do is set the headless parameter and there you are. As I said, maybe Leon has something

Re: Action call another action?

2005-04-24 Thread Shey Rab Pawo
SNIP On 4/24/05, James Mitchell [EMAIL PROTECTED] wrote: For the record, you are encouraged to ignore all statements made by Micael McGrady, Dakota Jack, or Shey Rab Pawo. These people are actually the same person masquerading as alternate identities, /SNIP You are quite mistaken about

Re: Looking for a book

2005-04-23 Thread Shey Rab Pawo
, etc. but the fat that at some levels there are holes in the Struts architecture or vision that have yet to be filled. Or, the reason may be that I cannot see the forest for the trees. Namaste! Shey Rab Pawo On 4/21/05, Eugene Suzyumov [EMAIL PROTECTED] wrote: Hi, I'm starting with Struts

Re: Action call another action?

2005-04-23 Thread Shey Rab Pawo
given me that impression. Shey Rab Pawo On 4/21/05, Erik Weber [EMAIL PROTECTED] wrote: That's the way I do it. If your Actions are light, as they should be, it doesn't add a lot of code. Some redundant code is not a bad thing, it can make things clearer. If you were to chain actions, then you'd

Re: AJAX: Whoa, Nellie!

2005-04-19 Thread Shey Rab Pawo
The problem with NET and JSF is not what they do client side but what they do server side. They are just too heavy and will never scale. This does not mean that they will not have a market. Hopefully they will so that those who love them will have money and leave us alone. But, for people who

Re: Eliminate Setup Actions

2005-03-09 Thread Shey Rab Pawo
Many people would suggest that using Actions in Struts would be preferrable whether or not you need to do any setup or any processing in the movement from one page to another in a website. I think of Actions as places to organize what needs to be done (processing the request) and providing any

Re: Eliminate Setup Actions

2005-03-09 Thread Shey Rab Pawo
On Wed, 9 Mar 2005 14:07:04 -0500 (EST), Frank W. Zammetti [EMAIL PROTECTED] wrote: But do you see the point in setup functions *outside* an Action's code that occurs on the forward-level? Meaning, once an Action returns a forward, do some setup based on what forward was returned? Yes. I

Re: Eliminate Setup Actions

2005-03-09 Thread Shey Rab Pawo
This is more, not less, code, is it not? You have: setupItem setupClass=com.omnytex.setupexample.setups.SetupClass1 setupMethod=setupMethod1 / which has to be used for all actions that use this, right? compared to: SetupClass1.setupMethod1(request) I don't see the less code point.

Re: Eliminate Setup Actions

2005-03-09 Thread Shey Rab Pawo
Frank, watch that anal talk, would you? I could do without that. :) My point was just that I don't see a problem and don't understand how this would help. -- No one ever went blind looking at the bright side of life. - To

Re: Eliminate Setup Actions[Scanned]

2005-03-09 Thread Shey Rab Pawo
We probably have beat this to death, Frank, but having the framework setup pages with declarations in the action mappings is not consistent with MVC to my way of thinking. I definitley would not do this. I like to keep things simpler. But, others seem to like it. So, maybe you have something

gmail

2005-02-28 Thread Shey Rab Pawo
I have 50 gmails for anyone that wants one, or more. -- No one ever went blind looking at the bright side of life. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: Struts Approach

2005-02-28 Thread Shey Rab Pawo
SNIP On Mon, 28 Feb 2005 11:40:13 -0500, Mike Millson [EMAIL PROTECTED] wrote: On Mon, 2005-02-28 at 10:22, Tim Christopher wrote: So what you're saying is that if I include a separate DTO it doesn't really achieve anything extra - whilst at the same time creating more code to maintain and

Re: Action forwards to a URL outside application

2005-02-28 Thread Shey Rab Pawo
I don't know what a bd is but just make your action forward whatever you want to forward to. On Mon, 28 Feb 2005 19:37:06 +0200, Jim Theodoridis [EMAIL PROTECTED] wrote: Hello I have an action that takes informations from a BD How can I sent that information as parameters to a URL diferent

Re: Action forwards to a URL outside application

2005-02-28 Thread Shey Rab Pawo
Nope! LOL He already cleared that up. BD stands for DB which stands for database. ;-) On Mon, 28 Feb 2005 13:01:48 -0500, Robert Taylor [EMAIL PROTECTED] BTW, my guess it that BD stands for BusinessDelegate :) /robert Great guess though! -- No one ever went blind looking at the

Re: Struts Approach

2005-02-25 Thread Shey Rab Pawo
Without knowing more details it is hard to respond. I did find the description of the relations between the DAO objects a bit off from what I would have expected. I would have expected something like: CustomerDAO customerDAO = FactoryDAO.getCustomerDAO(); This assumes that the CustomerDAO is

Re: Struts or SpringFramework

2005-02-18 Thread Shey Rab Pawo
You seem to be thinking of upgrading from Struts while also deploying your web application in Spring. If you search this list, I believe you will find Mr. McClanahan saying that Struts is inferior to other existing request based MVC web frameworks. You might want to chase that down and to

Re: Struts In Action - Still up to date?

2005-02-18 Thread Shey Rab Pawo
I don't know how others feel, but if you could talk the editors into a more expanded index, that would be really helpful to me. I don't think that a 10-15 page index would be too much for this book. On Fri, 18 Feb 2005 08:31:11 -0800, Don Brown [EMAIL PROTECTED] wrote: I know exactly how you

Re: Struts or SpringFramework

2005-02-18 Thread Shey Rab Pawo
I understand how a chain works. Filters in the servlet API are a good example. They are as you say, Vic, very useful. And I have some idea of what the Struts chain is all about: http://www.theserverside.com/news/thread.tss?thread_id=28092. What I don't quite see is how they or CoR replace IoC.

Re: Temp file being written to / with Font

2005-02-17 Thread Shey Rab Pawo
PROTECTED] wrote: Yes it did. Original Message Follows From: Shey Rab Pawo [EMAIL PROTECTED] Reply-To: Shey Rab Pawo [EMAIL PROTECTED] To: Mark Benussi [EMAIL PROTECTED] CC: user@struts.apache.org Subject: Re: Temp file being written to / with Font Date: Wed, 16 Feb 2005 13:20:50 -0800

Temp file being written to / with Font

2005-02-16 Thread Shey Rab Pawo
I am getting .tmp files written to a /temp directory in my webapp. The names are like +~JF38289.tmp. The size of these is pretty big, e.g. 35-65 kilobytes, and contains content relating to true type font files. I don't know if this is Struts related, but the Tomcat people have not claimed this

Re: Temp file being written to / with Font

2005-02-16 Thread Shey Rab Pawo
Thanks, Mark On Wed, 16 Feb 2005 17:07:36 +, Mark Benussi [EMAIL PROTECTED] wrote: Oh dear. I heard about something similar to this first time the other day. JDK 1.4 has a bug that does no release resources even when you release any Font objects. My company has had converstaion

Re: Temp file being written to / with Font

2005-02-16 Thread Shey Rab Pawo
I was too fast in responding. I switched to Tiger (jre 5.0) but still have the same behavior when I create an image using a Font object. Did the change to 5.0 solve your companies' problem? On Wed, 16 Feb 2005 17:07:36 +, Mark Benussi [EMAIL PROTECTED] wrote: Oh dear. I heard about

Re: Construting HTML Email from Struts

2005-02-15 Thread Shey Rab Pawo
Niall, What is the origin of the emailStuff in this wiki page? Thanks. On Tue, 15 Feb 2005 14:25:29 -, Niall Pemberton [EMAIL PROTECTED] wrote: I posted this for someone who asked a similar quesiton recently. http://www.niallp.pwp.blueyonder.co.uk/emailTemplate.html Niall -- The

multibox with label value beans

2005-02-10 Thread Shey Rab Pawo
I do a dropdown list as follows with a list holding label value beans: html:select property=entries size='1' html:options collection=entries_list property=value

Re: Request for changes [Was: Re: Struts 1.2.6 release??]

2005-02-10 Thread Shey Rab Pawo
What do we do with Struts 1.2.6 and using html-el in this case? Thanks for any assistance. On Mon, 07 Feb 2005 13:32:53 +, Graham Reeds [EMAIL PROTECTED] wrote: Niall Pemberton wrote: http://www.mail-archive.com/dev@struts.apache.org/msg05862.html From memory, version 1.2.6 was left

Re: Tiles and Facades

2005-02-03 Thread Shey Rab Pawo
Hello, Paul, I am not sure exactly what you are getting at here, although the topic is clear. I guess that one thing that makes reading this difficult is that I have not investigated SiteMesh. I do use Tiles definitions in XML exclusively, and you seem to be talking about situations where that

Re: Tiles and Facades

2005-02-03 Thread Shey Rab Pawo
On Thu, 3 Feb 2005 10:36:50 -0500, Benedict, Paul C [EMAIL PROTECTED] wrote: 1. Placing definitions in XML. This solution works well with Struts because I can hide all my JSP in WEB-INF, define how each page is decorated, and invoke the tile definition name in a Struts forward. 2. Placing

Re: Struts 2.0 or Struts 0.0?

2005-02-01 Thread Shey Rab Pawo
snip On Mon, 31 Jan 2005 19:43:17 -0600, Vic [EMAIL PROTECTED] wrote: Well, the marketing department of Sturts is in hot water for this one. To: [EMAIL PROTECTED] wait, we don't have one. Oh, well... who cares. Some people just can't comprehend that there are 2 or more MVC frameworks out