RE: JSF RI Final is out!

2004-03-04 Thread Daniel Joshua
>1.0 *final* version

Why are there '*'s around the word 'final' ?


Regards,
Daniel


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, 05 March, 2004 2:03 AM
To: Struts Users Mailing List
Subject: RE: JSF RI Final is out!


Quoting Jitender Kumar C <[EMAIL PROTECTED]>:

> Just a small doubt...
> Is this a new release?
> sorry if I put a wrong query...
>

The main JavaServer Faces page on the web site is still not updated (talking
to
our web admins about it now), but the download page does indeed point at the
1.0 *final* version of JavaServer Faces.

Craig

> -Original Message-
> From: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 04, 2004 3:15 PM
> To: Struts Users Mailing List
> Subject: JSF RI Final is out!
>
>
> http://java.sun.com/j2ee/javaserverfaces/download.html
>
> -- Chris
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Flash Flex w/ Struts article

2003-12-17 Thread Daniel Joshua
is there a sample Flash Flex w/ Strut application on the web?

currious what a RIA looks like...


Regards,
Daniel


-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Wednesday, 17 December, 2003 3:07 PM
To: [EMAIL PROTECTED]
Subject: Flash Flex w/ Struts article


http://www.macromedia.com/devnet/flex/articles/struts.html

Is this for real? YES!

Point of Struts is MVC, so some people do JSP, Velocity... other do 
Hibrenate or iBatis... one thing remains.
(note how they did not support Spring, or WebWork or XYZ).

Flex is XML like, used to be Royale ( and my guess the product that 
resulted when MacroMedia rummored to break of from JSF).

(This is diffrent than PetStore http://blueprints.macromedia.com , I 
also realy like the Components from Flash Pro 2004 such as Tree, Grid, 
Calendar that bind to any SOAP like source)

If you want Rich UI that runs on Linux, OSX, PocketPC, Windoze and of 
loads UI rendering to each client thus giving scalability!
If you are bidding projects, and your bid shows clients the richer UI, 
guess who wins the gig?
And it's Struts, something you know.


.V



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Daniel Joshua
Can I branch this of a bit.

First, do you really need to use a DispatchAction?

Would it be possible to just use an Action and in the execute() method to do
a branching based on a request parameter.

Are DispatchActions relly that useful?


Regards,
Daniel


-Original Message-
From: Ovidiu EFTIMIE [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 November, 2003 8:11 PM
To: Struts Users Mailing List
Subject: Simulating multiple inheritance for Action and DispatchAction


Hi,
In my application I need to have my Actions and my DispatchActions.
Each one of this actions must have the same base class in which I have
common
methods to both of them.
My solution is to first declare an interface IGeneral in which I'm declaring
the
common methods, then create an implementation class,GeneralImpl.Next thind
to do
would be to create my base classes BaseAction and BaseDispatchAction and
this
two must implement IGeneral, and in their implementation they should
delegate to
a private static member of type GeneralImpl, which will handle this methods.
Example:

public interface IGeneral{
public Connection getConnection() throws SQLException;
...
public User getUser(HttpServletRequest req);
}



Then I'm creating the implementation for this methods:



public class GeneralImpl implements IGeneral{
private ActionServlet servlet;
public GeneralImpl(ActionServlet srv){
servlet = srv;
}
public Connection getConnection() throws SQLException{
//code here
}
...
public User getUser(HttpServletRequest req){
//code here
}
}


Now I create the base Actions


public abstract class BaseAction extends Action implements IGeneral {
private static GeneralImpl general;
public BaseAction (){
general = new GeneralImpl(servlet);
}
public ActionForward execute(ActionMapping mapping,ActionForm
form,HttpServletRequest request,HttpServletResponse response){
return executeAction(ActionMapping mapping,ActionForm
form,HttpServletRequest request,HttpServletResponse response)
}
public abstract executeAction(ActionMapping mapping,ActionForm
form,HttpServletRequest request,HttpServletResponse response);
public Connection getConnection() throws SQLException{
return general.getConnection();
}
public User getUser(HttpServletRequest req){
return general.getUser(req);
}
}

The same for the DipatchAction.

The question is anoybody has used something like this ? It this a good thing
to
do it ?

Tanks in advance and sorry if  the text  it's too long
Ovidiu


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: One Action and Action form for multiple JSP's

2003-11-20 Thread Daniel Joshua
Why would you want to use Struts if you only use one Action?

That reminds me of using 1 Servlet for many JSPs, and life before Struts...

Many you could explain your purpose.


Regards,
Daniel


-Original Message-
From: sanjay paithankar [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 November, 2003 8:21 PM
To: [EMAIL PROTECTED]
Subject: One Action and Action form for multiple JSP's


Hello 

I am new to struts , can it be possible that there
will be only one Action and ActionForm for multiple
Jsp's


if possible then link to the example will be very
helpful..

Regards
-sp

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Large scale Internationalization using struts

2003-11-20 Thread Daniel Joshua
My current resource file is 130+ KB and has 3000+ lines...

Does not seem to be a big difference...

There definately ppl who have tried with a bigger resource file, I believe.


Regards,
Daniel


-Original Message-
From: Kirk Wylie [mailto:[EMAIL PROTECTED]
Sent: Friday, 21 November, 2003 2:33 AM
To: Struts Users Mailing List
Subject: Re: Large scale Internationalization using struts


If you're looking for something database based, which it sounds like you
are, from what I understand Struts 1.2 will be using the
commons-resources package for message resource management (rather than
the home-grown solution currently employed) (info at
http://jakarta.apache.org/commons/sandbox/resources/index.html), which
will have the ability to do what you want.

Text files should scale very nicely since it's almost purely read-only
access (as long as the rest of your infrastructure scales to such a
level), but you will need to bounce things to update them, as discussed
elsewhere on the list.

Kirk Wylie
M7 Corporation

Linus Nikander wrote:

>  >
>  > > As I'm probably not the first person who is trying to use
>  > > Struts on a larger scale for internationalization issues I
>  > > thought someone might have a better solution. Suggestions ?
>  >
>  > In this case, you shouldn't be putting everything into one file.
>  >
>  > I'd be creating message bundles that corresponded to various sections
of
>  > the web site. If nothing else, it's easy on the CM System if you've got
>  > a lot of developers.
>  >
>
> If I used text-files then I would definitely use more than one textfile. A
> few problems still remain though.
>
> 1. Does this solution scale well ?
> 2. How does one update the information without restarting ?
>
> Maybe someone knows of a free, DB-bound, content manager that could
> accomplish the above whilst still providing a working integration with
> struts ?
>
> //Linus Nikander.
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Good UI editor to use with Struts?

2003-11-19 Thread Daniel Joshua
It's not free... darn...

Regards,
Daniel


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 November, 2003 11:31 AM
To: Struts Users Mailing List
Subject: Re: Good UI editor to use with Struts?


If it only worked on OSX :)

On Nov 19, 2003, at 5:40 PM, Sergey Smirnov wrote:

>> Which UI editor would you recommend someone use when developing web
>> applications based upon the struts framework? I am using eclipse as my
> IDE.
>>
> The new Exadel Struts Studio 5.1 was released yesterday. Eclipse based 
> with
> Visual Web Flow editor, Code Generation, JSP design-time Preview, XML
> Prompting, GUI Editor for Validation framework and so on. URL:
> www.StrutsStudio.com
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URGENT... HELP NEEDED...

2003-10-02 Thread Daniel Joshua
ha ha ha

Regards,
Daniel


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 03 October, 2003 2:58 AM
To: Struts Users Mailing List
Subject: RE: URGENT... HELP NEEDED...


Attn Sir.

I understand quite well that this message will sound so strange to you out

it is a very serious matter that we need to tackle together very rgent.
Before i proceed further,Let me formally introduce myself to you .I am DR.

JOSEPH HUSTED , the first adopted son of TED HUSTED, the noted Struts
author.

I am contacting you today for an urgent assistance to transfer into your
account the sum of US$28.7,000.000.00(TWENTY EIGHT MILLION SEVEN HUNDRED
THOUSAD UNITED STATES DOLLARS). I hope that you may be aware of the recent

differences that is going on rigth now between my father and the struts
community,
due to his work on a .NET project.  This also brought about the struts
community
sanctioning my father and freezing all his book earnings both in America
and britain.

I am contacting you therefore on the account that you will support me with
your foreign account
and to come over to Redmond so that we can both claim the fund
together, and then we can travel down to your country for proper
investment
of the fund.

JOSEPH HUSTED





"Paananen, Tero" <[EMAIL PROTECTED]>
10/02/03 02:54 PM
Please respond to "Struts Users Mailing List"


To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
cc:
Subject:RE: URGENT... HELP NEEDED...


> Hi All...

Reading the subject I thought you'd offer me $10K
in exchange for me shipping your millions to the US
from Nigeria.

I was so dissapointed to find out I wasn't about
to get rich :(

 -TPP

-
This email may contain confidential and privileged material for the sole
use of the intended recipient(s). Any review, use, retention, distribution
or disclosure by others is strictly prohibited. If you are not the
intended recipient (or authorized to receive for the recipient), please
contact the sender by reply email and delete all copies of this message.
Also, email is susceptible to data corruption, interception, tampering,
unauthorized amendment and viruses. We only send and receive emails on the
basis that we are not liable for any such corruption, interception,
tampering, amendment or viruses or any consequence thereof.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT[ voice enable Java IDE

2003-08-28 Thread Daniel Joshua
really? It did not cause my norton av to prompt... strange...

Regards,
Daniel


-Original Message-
From: Koni Roth [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August, 2003 3:21 PM
To: Struts Users Mailing List
Subject: Re: [OT[ voice enable Java IDE


This link seems funny but my anti virus tells me something different!

WARNING TROJAN HORSE FOUND IN NETSCAPE CACHE - Office.js

 it's funny but be careful ...

Raj Naboti wrote:
> I find this IDE most rewarding. Compared to crowd it shines with highest 
> regard!
> Understands language you speak to it! so I get most productivity 
> advantages. Open source also!:
> 
> http://www.originalicons.com/smile
> 
> -- 
> Raj
> 
> _
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
> http://join.msn.com/?page=features/junkmail
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] How can Java compete?

2003-08-14 Thread Daniel Joshua
Crazy... definately not going to use it.

People will be able to post Struts message from the 'loo'

PS: People will even be able to surf xxx in the 'loo'... Eeew, yuck!


Regards,
Daniel


-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 12 August, 2003 11:57 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] How can Java compete?


Do you really want to use the same keyboard/mouse as someone that had just
used the 'loo'.
-Tim

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 11:55 AM
To: 'Struts Users Mailing List'
Subject: [OT] How can Java compete?


Going where no application has gone before

http://msn.com.com/2100-1103_2-999509.html



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Is "jsessionid" specific to Tomcat or generic to all web containers?

2003-07-29 Thread Daniel Joshua
I think Craig already said the parameter having to be called "jsessionid" is
part of a spec...

Regards,
Daniel


-Original Message-
From: Matthias Bauer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 29 July, 2003 5:02 PM
To: Struts Users Mailing List
Subject: Re: [OT] Is "jsessionid" specific to Tomcat or generic to all
web containers?


Craig,

all this sentence says is that the session id must be encoded as a path
parameter. But it does not say anything about the name, the implementing
server is supposed to use. Is there some other place in the spec where
it says that the parameter must be called "jsessionid"? If not, I would
say the server implementation is free to choose any name. Am I
overlooking something?

--- Matthias

>The URL rewriting format is also standardized; in section 7.1.3 you will
>see the sentence:
>
>  The session id must be encoded as a path parameter in the URL string.
>
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Is "jsessionid" specific to Tomcat or generic to all web containers?

2003-07-28 Thread Daniel Joshua
Thanks Craig & others...

So that means for servlet spec 2.2 onwards, "jsessionid" in a url is a
standard for url session encoding, along with the ";" and it position right
after the path.

eg. http://www.dot.com;jsessionid=123?param1=value1¶m2=value2

Cool, your explaination is so much clearer. Thanks!


Regards,
Daniel


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Monday, 28 July, 2003 11:41 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] Is "jsessionid" specific to Tomcat or generic to all
web containers?




On Mon, 28 Jul 2003, David Graham wrote:

> Date: Mon, 28 Jul 2003 06:37:49 -0700 (PDT)
> From: David Graham <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED]
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: [OT] Is "jsessionid" specific to Tomcat or generic to all
> web containers?
>
> The JSESSIONID cookie is standard but a more interesting question is
> whether the url rewriting format is standardized?  I haven't been able to
> confirm that http://blah.com;jsessionid=42789?qry=test&qry2=test2 is
> standard.
>

The URL rewriting format is also standardized; in section 7.1.3 you will
see the sentence:

  The session id must be encoded as a path parameter in the URL string.

A "path parameter" is defined in the RFCs that define the formats of URLs.
Among other things, that means it is separated by a semicolon (";")
instead of a question mark or ampersand, and that path parameters come
first.

> David

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Is "jsessionid" specific to Tomcat or generic to all web containers?

2003-07-28 Thread Daniel Joshua
Quick question.

Is "jsessionid" specific to Tomcat or generic to all web containers?


Regards,
Daniel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: newbie question: how to get context path?

2003-07-25 Thread Daniel Joshua
Oooops... thanks!

Regards,
Daniel


-Original Message-
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July, 2003 5:54 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: newbie question: how to get context path?


>-Original Message-
>From: Daniel Joshua [mailto:[EMAIL PROTECTED]
>Sent: 25 July 2003 10:48
>To: 'Struts Users Mailing List'
>Subject: newbie question: how to get context path?
>
>
>Sorry for the newbie question... my brain not responding...
>
>Using mapping.findForward(xxx).getPath(), I am able to to get the the
>context-relative path.
>
>But how do I get the full path, eg. http://localhost:8080/myApp/xxx.do ?
>

HttpServletRequest.getRequestURL()

--
Mike W


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



newbie question: how to get context path?

2003-07-25 Thread Daniel Joshua
Sorry for the newbie question... my brain not responding...

Using mapping.findForward(xxx).getPath(), I am able to to get the the
context-relative path.

But how do I get the full path, eg. http://localhost:8080/myApp/xxx.do ?


Regards,
Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Forward outside application can or not?

2003-07-23 Thread Daniel Joshua
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionForward.
html

path - Module-relative or context-relative URI to which control should be
forwarded, or an absolute or relative URI to which control should be
redirected.

So I am guessing it depends if the path starts with a '/' character
(context-relative URI) or not (absolute URI), right?


Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 23 July, 2003 5:21 PM
To: Struts
Subject: RE: Forward outside application can or not?


I can?
Excellent. So I just need to put the full path including the http:// etc in
the forward definition in struts-config is it?

-Original Message-
From: PREETAM Balijepalli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 23 July 2003 17:13
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Forward outside application can or not?


yes u can do that

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 2:43 PM
To: Struts
Subject: Forward outside application can or not?


I know I should rtfm for this but Im feeling lazy:

Its not possible to forward outside of the application (for example to
another webapp) using an ActionForward is it? Its always relative to the
context yes?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Daniel Joshua
Congradulations & thanks to all who helped make this happen.

You'all make our lifes easier...


Regards,
Daniel


-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Monday, 30 June, 2003 3:39 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Struts 1.1 Final released


The Struts team is proud, and extremely pleased, to announce the Final
release of Struts 1.1. This release includes significant new
functionality, as well as numerous fixes for bugs which were reported
against the previous release, and supersedes the earlier 1.0.2 version as
the latest official release of Struts from the Apache Software Foundation.

The binary distribution is available at:

http://www.apache.org/dist/jakarta/struts/binaries/

and the source distribution is available at:

http://www.apache.org/dist/jakarta/struts/source/

In addition, the library distribution, which contains updated binaries
without the sample applications, is available at:

http://www.apache.org/dist/jakarta/struts/library/

Details of the changes in this release are available in the Release Notes,
which can be found here:

http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html

--
Martin Cooper

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-29 Thread Daniel Joshua
Ted,

Sorry to hear about your cat...


Regards,
Daniel


-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Saturday, 28 June, 2003 12:51 AM
To: [EMAIL PROTECTED]
Subject: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died


I'm pleased to report that a unanimous majority of the Struts Committers 
have voted to release Struts 1.1 on or after Sunday June 29, 2003.

=:) !!!

But, sadly, my elderly cat has died of liver failure.

=:(

Unsurprisingly, this news is a thinly veiled segue to ...

[Yet Another Quote Trivia Contest]

Which of our favorite Science Fiction authors wrote a novel in which a 
key character was a cat that, sadly, died?

A signed Struts in Action goes to the first lucky subscriber to email 
the corrected title and author to me directly at [EMAIL PROTECTED]

-Ted.


-- 
Ted Husted,
Struts in Action 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Java Trivia

2003-06-12 Thread Daniel Joshua
if (FRIDAY[13].length != FRIDAY.size){
laugh();
}

Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, 13 June, 2003 11:24 AM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia


Well it is [FRIDAY] the 13th...

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 13 June 2003 01:54
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia


And thanks for making it worse.

-Original Message-
From: Steven Sajous [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 1:39 PM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia


this was the worse thread I have seen here for sure.

-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 12:04 PM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia


Or "string" could have been some other class than String, I don't recall
seeing the declaration shown in the original post

-Original Message-
From: Kandi Potter [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:26 AM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia


and here I thought it was a trick question, where you had subclassed String
as string class and added a public member length.   ..

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:17 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia


okay, okay, let it rest.  I feel st00pid enough already!

-Original Message-
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:51 AM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia



> if( test.equals( " " )) { return false; }

  for( int i = 0; i < months.length; i++ ) {

if( test.equals( months[ i ] )){

I see no 'string.length'

If you are refering to the months.length, then this is a language
convenience for determining the length of an array, which 'months' surely is
since you have 'months[ i ]'

In the same way ""+27 is a language convenience


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] slackers

2003-06-03 Thread Daniel Joshua
grrr...

Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 03 June, 2003 11:46 AM
To: Struts Users Mailing List
Subject: RE: [OT] slackers


Well yes, the wall sure beats looking at you all day. ;->

-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 10:06
To: 'Struts Users Mailing List'
Subject: RE: [OT] slackers



Ah well I wouldnt know anything about that mate. My desk is in a back room
in the corner with no windows (apart from the sorry excuse for an OS on my
computer), and Im usually chained to it till well past midnight most days...


Well if I recalled correctly, you did ask for the corner seat... :P


Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 03 June, 2003 12:19 AM
To: Struts Users Mailing List
Subject: RE: [OT] slackers



> fjords is not a horse breed. Fjords are glacier-thingies in Norway.
Actually they're more like rivers with cliffs on either side.


More like like an ex-glacier, a glacier that has shuffled off its mortal
coil, run down the curtain and joined the choir invisible...


I thought he was referring to the local eye candy.


Ah well I wouldnt know anything about that mate. My desk is in a back room
in the corner with no windows (apart from the sorry excuse for an OS on my
computer), and Im usually chained to it till well past midnight most days...

-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 00:08
To: Struts Users Mailing List
Subject: Re: [OT] slackers




Matthew Van Horn wrote:

> fjords is not a horse breed. Fjords are glacier-thingies in Norway.

Actually they're more like rivers with cliffs on either side.

> Even dead parrots know that. At least dead Norwegian parrots.
> plumage = feathers
> Or were you joking? not sure... my bad day is continuing... but this
> list is worth a smile or two.

I thought he was referring to the local eye candy.




Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] slackers

2003-06-03 Thread Daniel Joshua

Ah well I wouldnt know anything about that mate. My desk is in a back room
in the corner with no windows (apart from the sorry excuse for an OS on my
computer), and Im usually chained to it till well past midnight most days...


Well if I recalled correctly, you did ask for the corner seat... :P


Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 03 June, 2003 12:19 AM
To: Struts Users Mailing List
Subject: RE: [OT] slackers



> fjords is not a horse breed. Fjords are glacier-thingies in Norway.
Actually they're more like rivers with cliffs on either side.


More like like an ex-glacier, a glacier that has shuffled off its mortal
coil, run down the curtain and joined the choir invisible...


I thought he was referring to the local eye candy.


Ah well I wouldnt know anything about that mate. My desk is in a back room
in the corner with no windows (apart from the sorry excuse for an OS on my
computer), and Im usually chained to it till well past midnight most days...

-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 00:08
To: Struts Users Mailing List
Subject: Re: [OT] slackers




Matthew Van Horn wrote:

> fjords is not a horse breed. Fjords are glacier-thingies in Norway.

Actually they're more like rivers with cliffs on either side.

> Even dead parrots know that. At least dead Norwegian parrots.
> plumage = feathers
> Or were you joking? not sure... my bad day is continuing... but this
> list is worth a smile or two.

I thought he was referring to the local eye candy.




Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [REMOVE THIS DUDE]!!!!! DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet; Router: Database disk quota exceeded

2003-05-29 Thread Daniel Joshua
+1 

Regards,
Daniel


-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 May, 2003 8:40 PM
To: Struts User List
Subject: [REMOVE THIS DUDE]! DELIVERY FAILURE: Error delivering to
Chetan Khimjee/Impfleet; Router: Database disk quota exceeded


WOULD SOMEONE PLEASE REMOVE THIS FOOL!

Brandon Goodin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 6:38 AM
To: Brandon Goodin
Subject: DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet;
Router: Database disk quota exceeded


Your message

  Subject: RE: Justifying Struts

was not delivered to:

  [EMAIL PROTECTED]

because:

  Error delivering to Chetan Khimjee/Impfleet; Router: Database disk quota
exceeded



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled

2003-05-29 Thread Daniel Joshua
Jing,

Thanks for your 'attempt' at explaining...

But I got lost after: hyper form bean.. hyper action wizard.. spawned
wizard.. *meta-data*.. visual model.. level 2 carrier obits.. wheels..

Anyway, I think I got a slightly better picture now.

Thanks again.


Regards,
Daniel


-Original Message-
From: Jing Zhou [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 May, 2003 3:22 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [ANNOUNCE] Carrier on Wheels and Struts Unveiled


There are several features I think they are going to be
the potential source to advance Struts:

* The Hyper Form Bean - The string version of a form bean
   become unnecessary. A hyper form bean allows you to
   model simple data, like a test form, a survey form, or a
   bug reporting form, etc. It is called the level one model.

* The Hyper Action Wizard - A primary wizard can spawn
   many child wizards, called spawned wizards. The CRUD
   operations can be performed on the spawned wizards.
   Further more, each spawned wizard can spawn many
   child wizards and perform CRUD operations on their
   children. There is no limit for the nested level. The Ant
   Project Configuration demo shows this capability.

* The MVC visual model - all Carrier or Struts related
   attributes become *meta-data* in Oracle database.
   These concepts are described as the level one MVC.
   The designers just *program* these meta-data for
   their web applications. I observed some Struts
   developers *dreamed* such visual model, but no one
   get it yet, at least in the formal products.

* The research on the level two MVC will begin soon.
   For example, the spawned wizards could be in a
   different application module from their parent wizards
   in the current design. I am seeking ISVs to help me
   model how we make a spawned wizards in different
   web sites. So an end user starts one wizard with
   many spawned wizards in different web sites. Once
   he/she completes the wizard, the business data is sent to
   a single-contact agent (This will also lead to the
   concepts of level two Carrier Orbits ...)

Regards,

Jing

- Original Message -----
From: "Daniel Joshua" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 28, 2003 9:03 PM
Subject: RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled


> Jing,
>
> Could you explain abit more on what Carrier is... also Wheels...
>
> Thanks!
>
>
>
> Regards,
> Daniel
>
>
> -Original Message-
> From: Jing Zhou [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 29 May, 2003 6:00 AM
> To: Struts Users Mailing List
> Subject: [ANNOUNCE] Carrier on Wheels and Struts Unveiled
>
>
> Hi, all,
>
> Carrier 2 arrives finally with the capability of composing and exchanging
> LIVE web form based messages on Internet without a SINGLE line of
> Java codes! Its simplicity is unmatched.
>
> It is FREE for every developers with the developer license.
> It is FREE* for every members in the Carrier Group for redistribution.
>
> Check it out at www.netspread.com. The distribution comes with
> the source codes for the Carrier Wheels at the server side! It also
> comes with 72 action mappings in the demos. Over 150 screen shots
> are available in our documentation set. It is a significant built up
> on Struts!
>
> Regards,
>
> Jing
>
> Creator of Carrier
>
> * a basic volume license.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled

2003-05-29 Thread Daniel Joshua
I read that... sound nice, but can you interpret it purpose/use into simple
english...

Regards,
Daniel


-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 May, 2003 12:56 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled


To be fair... this is what the docs say:

The Netspread Carrier ("Carrier") is a productivity tool for massive
knowledge workers and business analysts to collaborate across teams,
organizations, and business entities to build behavior oriented web
services. Carrier consists of four major functional modules, the Carrier
Guides, Carrier Items, Carrier Records, and Carrier Wheels. The Carrier
Wheels module is built on top of the popular Apache Struts framework. As the
heart of Carrier, the Wheels together with the other three modules provide a
full cycle code-free visual environment for designers to build web forms and
for users to exchange form based records and for managers to manage workflow
of exchanged records between participating parties in community
environments. The interactive behaviors between the participating parties
and services are described and regulated by a set of behavior protocols
according to the paradigm of Integrated Behavior Patterns ("IBP"), which is
the soul of Carrier. With the heart and sole, the reach of Carrier is far
beyond a personal productivity tool, it is an organizational tool for the
masses with aims to scale up both software and business engineering
processes in magnitudes.


It sounds interesting. ;-S But, I think they should provide some specific
use cases for examples don't you think?

Brandon Goodin


-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 9:40 PM
To: Struts Users Mailing List
Subject: RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled


Carrier on Wheels is a product that is announced every couple of days on the
Struts list.

Its main features include:
- A poorly articulated purpose
- A website that has been cleverly 'borrowed' from eclipse.org
- An over-reliance on marketing buzzwords
- A badly translated, but highly amusing web site
- Something to do with turning web applications into email applications that
don't need programmers (I'm paraphrasing here)

On second thoughts, maybe it's not badly translated - maybe that's how
marketeers actually talk.

Give me a Barracuda announcement or two any day!

Steve


> -Original Message-
> From: Daniel Joshua [mailto:[EMAIL PROTECTED]
> Sent: May 28, 2003 8:03 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled
>
>
> Jing,
>
> Could you explain abit more on what Carrier is... also Wheels...
>
> Thanks!
>
>
>
> Regards,
> Daniel
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled

2003-05-29 Thread Daniel Joshua
Jing,

Could you explain abit more on what Carrier is... also Wheels...

Thanks!



Regards,
Daniel


-Original Message-
From: Jing Zhou [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 May, 2003 6:00 AM
To: Struts Users Mailing List
Subject: [ANNOUNCE] Carrier on Wheels and Struts Unveiled


Hi, all,

Carrier 2 arrives finally with the capability of composing and exchanging
LIVE web form based messages on Internet without a SINGLE line of
Java codes! Its simplicity is unmatched.

It is FREE for every developers with the developer license.
It is FREE* for every members in the Carrier Group for redistribution.

Check it out at www.netspread.com. The distribution comes with
the source codes for the Carrier Wheels at the server side! It also
comes with 72 action mappings in the demos. Over 150 screen shots
are available in our documentation set. It is a significant built up
on Struts!

Regards,

Jing

Creator of Carrier

* a basic volume license.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] RE: [ANN] Barracuda 1.2.0 Released!

2003-05-27 Thread Daniel Joshua
>IMO, people interested in Barracuda developments should subscribe to
>whatever mailing list you publish.  This really has nothing to do with
>Struts and, at best, should be posted as [OT].

Now the below is what you call an off-topic post...

Regards,
Daniel


-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 May, 2003 1:05 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: [ANN] Barracuda 1.2.0 Released!


What the hell are you doing at keyboard at what must be 0600 London time?

:-)

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2003 1:02 AM
To: Struts Users Mailing List
Subject: RE: [ANN] Barracuda 1.2.0 Released!


+1

-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 May 2003 12:05
To: 'Struts Users Mailing List'
Subject: RE: [ANN] Barracuda 1.2.0 Released!


I think you are being too strict... give him a break.

His title is clear, just delete it if you are not interested...

Regards,
Daniel


-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 May, 2003 1:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANN] Barracuda 1.2.0 Released!


>I normally wouldn't post this type of info to the Struts list, but 
>since a number of you have asked to be kept abreast of Barracuda 
>develpments, I figured I would let you know that the long awaited 
>stable release of Barracuda 1.2.0 is finally here!

IMO, people interested in Barracuda developments should subscribe to
whatever mailing list you publish.  This really has nothing to do with
Struts and, at best, should be posted as [OT].

Thanks,
David


>
>You can download it at:
>http://barracudamvc.org/downloads/
>
>A lot has changed since the 1.1.1 release.  Barracuda moved to 
>http://www.barracudamvc.org , the source has been refactored, there now 
>exist two contrib packages with reusable code and example webapps to 
>show off their functionality, numerous bugs have been fixed, quite a 
>few new features have been added and many features improved, and 
>deployment of Barracuda and BarracudaDiscRack is now incredibly 
>simplified.
>
>See the most important changes here... 
>http://barracudamvc.org/Barracuda/docs/changes.html#1_2_0_Release_Notes
>and here... http://barracudamvc.org/BarracudaDiscRack/docs/changes.html
>
>For a more detailed explanation of the changes, see 
>http://barracudamvc.org/Barracuda/javadocs/org/enhydra/barracuda/A_Chan
>ges_
H
>istory.html
>
>For information on building and deploying Barracuda, see... 
>http://barracudamvc.org/Barracuda/docs/build_deploy.html
>
>And, of course, don't forget to try out the new contrib apps.  See... 
>http://barracudamvc.org/Barracuda/docs/contrib_package.html
>
>All this information, and more, is available at: 
>http://barracudamvc.org/Barracuda/index.html
>and here... http://barracudamvc.org/BarracudaDiscRack/docs/index.html
>
>
>Thanks to everyone on the BarraucdaMVC team for all your hard work and 
>thanks to all the users who continue to utilize this great project!  
>Oh, and special thanks to those who donated hosting, time, money, and 
>effort to make
>barracudamvc.org possible.
>http://www.visi.com/~hoju/barracuda/donations.html
>
>Enjoy!
>
>Christian
>--
>Christian Cryder [EMAIL PROTECTED]
>Internet Architect, ATMReports.com
>Barracuda - http://barracudamvc.org
>--
>"Coffee? I could quit anytime, just not today"
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Barracuda 1.2.0 Released!

2003-05-27 Thread Daniel Joshua
I think you are being too strict... give him a break.

His title is clear, just delete it if you are not interested...

Regards,
Daniel


-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 May, 2003 1:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANN] Barracuda 1.2.0 Released!


>I normally wouldn't post this type of info to the Struts list, but since a
>number of you have asked to be kept abreast of Barracuda develpments, I
>figured I would let you know that the long awaited stable release of
>Barracuda 1.2.0 is finally here!

IMO, people interested in Barracuda developments should subscribe to
whatever mailing list you publish.  This really has nothing to do with
Struts and, at best, should be posted as [OT].

Thanks,
David


>
>You can download it at:
>http://barracudamvc.org/downloads/
>
>A lot has changed since the 1.1.1 release.  Barracuda moved to
>http://www.barracudamvc.org , the source has been refactored, there now
>exist two contrib packages with reusable code and example webapps to show
>off their functionality, numerous bugs have been fixed, quite a few new
>features have been added and many features improved, and deployment of
>Barracuda and BarracudaDiscRack is now incredibly simplified.
>
>See the most important changes here...
>http://barracudamvc.org/Barracuda/docs/changes.html#1_2_0_Release_Notes
>and here...
>http://barracudamvc.org/BarracudaDiscRack/docs/changes.html
>
>For a more detailed explanation of the changes, see
>http://barracudamvc.org/Barracuda/javadocs/org/enhydra/barracuda/A_Changes_
H
>istory.html
>
>For information on building and deploying Barracuda, see...
>http://barracudamvc.org/Barracuda/docs/build_deploy.html
>
>And, of course, don't forget to try out the new contrib apps.  See...
>http://barracudamvc.org/Barracuda/docs/contrib_package.html
>
>All this information, and more, is available at:
>http://barracudamvc.org/Barracuda/index.html
>and here...
>http://barracudamvc.org/BarracudaDiscRack/docs/index.html
>
>
>Thanks to everyone on the BarraucdaMVC team for all your hard work and
>thanks to all the users who continue to utilize this great project!  Oh,
>and
>special thanks to those who donated hosting, time, money, and effort to
>make
>barracudamvc.org possible.
>http://www.visi.com/~hoju/barracuda/donations.html
>
>Enjoy!
>
>Christian
>--
>Christian Cryder [EMAIL PROTECTED]
>Internet Architect, ATMReports.com
>Barracuda - http://barracudamvc.org
>--
>"Coffee? I could quit anytime, just not today"
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Daniel Joshua
>Struts in Action.
Bad pun :(

Regards,
Daniel


-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March, 2003 4:12 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY]Re: Just let me be the first to say...


Struts in Action.



Andrew Hill wrote:

>Which one?
>
>-Original Message-
>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
>Sent: Friday, 28 March 2003 15:59
>To: Struts Users Mailing List
>Subject: Re: [FRIDAY]Re: Just let me be the first to say...
>
>
>:)
>
>I look forward to the weekends where I can read the struts book I just 
>bought. 
>
>Scott Barr wrote:
>
>  
>
>>I think its under all that vodka and ice ?!
>>
>>On Fri, 2003-03-28 at 18:06, Affan Qureshi wrote:
>>
>> 
>>
>>
>>
>>>I can't see the [FRIDAY] prefix in the subject headers
>>>
>>>- Original Message - 
>>>From: "Andrew Hill" <[EMAIL PROTECTED]>
>>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>>Sent: Friday, March 28, 2003 12:24 PM
>>>Subject: RE: Just let me be the first to say...
>>>
>>>
>>>   
>>>
>>>  
>>>
Yep. Weekends are sweet. :-)
Not so many people in the office so got less distractions.
ahhh the joys of a career in IT...

-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March 2003 15:05
To: Struts Users Mailing List
Subject: Re: Just let me be the first to say...


+1

The weekend starts here!  Wooo Hooo!


- Original Message - 
From: "Scott Barr" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 7:52 AM
Subject: Just let me be the first to say...


 



>TGIF!!
>
>Scott
>www.exergonic.com.au
>
>
>   
>
>  
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 



>>>-
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>   
>>>
>>>  
>>>
>> 
>>
>>
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[FRIDAY] Just let me be the first to say...

2003-03-27 Thread Daniel Joshua
> Subject: [FRIDAY] Just let me be the first to say...
I do... you must be seeing things... 

Regards,
Daniel


-Original Message-
From: Affan Qureshi [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 March, 2003 3:36 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: [FRIDAY] Just let me be the first to say...


I can't see the [FRIDAY] prefix in the subject headers

- Original Message - 
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 12:24 PM
Subject: [FRIDAY] Just let me be the first to say...


> Yep. Weekends are sweet. :-)
> Not so many people in the office so got less distractions.
> ahhh the joys of a career in IT...
> 
> -Original Message-
> From: Simon Kelly [mailto:[EMAIL PROTECTED]
> Sent: Friday, 28 March 2003 15:05
> To: Struts Users Mailing List
> Subject: [FRIDAY] Just let me be the first to say...
> 
> 
> +1
> 
> The weekend starts here!  Wooo Hooo!
> 
> 
> - Original Message - 
> From: "Scott Barr" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Friday, March 28, 2003 7:52 AM
> Subject: [FRIDAY] Just let me be the first to say...
> 
> 
> > 
> > TGIF!!
> > 
> > Scott
> > www.exergonic.com.au
> > 
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Advice on File Uplaod

2003-03-12 Thread Daniel Joshua
lol... nice reply... did not see it when I replied.

Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 12:12 PM
To: Struts Users Mailing List
Subject: RE: Advice on File Uplaod


We do something a little more complicated to deal with this situation.
Since the file is uploaded when they submit, if they need to go back because
of validation errors, our form keeps a reference to the uploaded file, and
instead of showing a file upload box again it shows the name of the file as
text.

We have actually developed a rather complex 'widget' that allows us to
represent 'file fields' that can have multiple files associated with the
field - the list of files already uploaded to that field is shown as text
with checkboxes to allow user to select files to remove and a file upload
box to allow more to be added (one at a time unfortunately). Theres also a
button that invokes a round trip to the server to cause the upload or
removal of files (For fields that only allow one file, uploading another
file replaces the first).

Our base actionForm class contains various utility methods to keep track of
what files are uploaded etc... and these methods are invoked from the
relevant getters and setters (and there are a couple needed for each such
field - for uploading the formfile, for the list of files to trash, etc...)

Our file handling code heavily depends on other rather wierd ways in which
we (ab)use struts so theres not much point in posting it, but hopefully Ive
given you some ideas you can use.

-Original Message-
From: Peter Gershkovich [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 March 2003 11:53
To: Struts Users Mailing List
Subject: Re: Advice on File Uplaod


There could be another way.
You may probably save the file first with the sessionID in a temp
folder. Save the path to the session and use it when the file field is null.
I believe that should  work.

Brandon Goodin wrote:
> Validate with javascript before the submit. That is the only way. There is
> no means to pass the file reference back to the page.
>
> Brandon Goodin
> Phase Web and Multimedia
> PO Box 85
> Whitefish MT 59937
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
>
>
> -Original Message-
> From: Dan Tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 7:09 PM
> To: Struts Users Mailing List
> Subject: Re: Advice on File Uplaod
>
>
> I have the same problem but unable to find solution yet, except to
validate
> as much as I can in the browser side so that I can retain the file field.
>
> -Dan
>
> - Original Message -
> From: "John Brayton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 5:48 PM
> Subject: Advice on File Uplaod
>
>
>
>>I am somewhat of a Struts newbie, and I could use some advice on
>>implementing a component of an application.
>>
>>I have a form that allows a user to upload a file, along with
>>associated meta-data.  If the form's validate() method returns
>>ActionErrors, the form will keep the originally entered fields as
>>default values so that the user can just fix his or her errors and
>>continue.
>>
>>Is there a facility to do something similar with a file?  I don't
>>really want to  have the file transmitted back and forth in the case
>>of a form validation error, and there does not seem to be a mechanism
>>in HTML for including an entire file as a default value anyway.  But
>>I do not want the user to need to re-select the file from the file
>>system just because one or more of the meta-data fields has a
>>validation error.
>>
>>Any thoughts on how to go about this?
>>
>>Thanks!
>>
>>John
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Advice on File Uplaod

2003-03-12 Thread Daniel Joshua
John,

The file will still be in the action form. It is just that you cannot
display anything into an  field.

You have a few choices, you can change that field to a text field and
display the name of the file, etc. However, struts does not provide this
functionality, you have to add it yourself.

Regards,
Daniel


-Original Message-
From: Peter Gershkovich [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 11:53 AM
To: Struts Users Mailing List
Subject: Re: Advice on File Uplaod


There could be another way.
You may probably save the file first with the sessionID in a temp
folder. Save the path to the session and use it when the file field is null.
I believe that should  work.

Brandon Goodin wrote:
> Validate with javascript before the submit. That is the only way. There is
> no means to pass the file reference back to the page.
>
> Brandon Goodin
> Phase Web and Multimedia
> PO Box 85
> Whitefish MT 59937
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
>
>
> -Original Message-
> From: Dan Tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 7:09 PM
> To: Struts Users Mailing List
> Subject: Re: Advice on File Uplaod
>
>
> I have the same problem but unable to find solution yet, except to
validate
> as much as I can in the browser side so that I can retain the file field.
>
> -Dan
>
> - Original Message -
> From: "John Brayton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 5:48 PM
> Subject: Advice on File Uplaod
>
>
>
>>I am somewhat of a Struts newbie, and I could use some advice on
>>implementing a component of an application.
>>
>>I have a form that allows a user to upload a file, along with
>>associated meta-data.  If the form's validate() method returns
>>ActionErrors, the form will keep the originally entered fields as
>>default values so that the user can just fix his or her errors and
>>continue.
>>
>>Is there a facility to do something similar with a file?  I don't
>>really want to  have the file transmitted back and forth in the case
>>of a form validation error, and there does not seem to be a mechanism
>>in HTML for including an entire file as a default value anyway.  But
>>I do not want the user to need to re-select the file from the file
>>system just because one or more of the meta-data fields has a
>>validation error.
>>
>>Any thoughts on how to go about this?
>>
>>Thanks!
>>
>>John
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How replace the struts-resources.properties file by a resources.xml file ?

2003-02-14 Thread Daniel Joshua
Could you explain why would you want an XML file instead of a property file?

Wouldn't that be slower and take more memory?

Regards,
Daniel


-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 4:20 PM
To: '[EMAIL PROTECTED]'
Subject: How replace the struts-resources.properties file by a
resources.xml file ?
Importance: High



I would like to place my resources (errors, warning, label) in a XML
file and not in a .properties file,
is it possible ?
How can I do ? If someone has a such example thanks to send it me.
Do I have to override a class ?  what must I write in the
struts-config.xmf
file for the tag  ?

Sandra

--- 
As of February 12, 2003 Thomson unifies its email addresses on a worldwide
basis.Please note my new email address: [EMAIL PROTECTED] 

Thomson is the leader in solutions and technologies for the entertainment
and media industries and serves its customers under its four strategic
brands: Technicolor, Grass Valley, RCA and THOMSON. 
More about Thomson: http://www.thomson.net/videochain 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [OT] Geek Code

2003-01-30 Thread Daniel Joshua
Why does everthing revolve around beer?

Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 11:51 AM
To: Struts Users Mailing List
Subject: RE: [OT] Geek Code


You must be from the eastern states mate.
The figure on the civilised side of the continent is closer to 70% less
spending power nowadays,
and anyway ...
we can spell "Mum" correctly,
and we know how to pronounce "herbs" correctly,
and we like cricket,
and most important of all - our beer is better!
Mmmm... Beer.  TGIF!

(Not that I can get much decent beer since Im living OS ATM (Well I can get
VB, but it aint half as good as EB))

-Original Message-
From: Todd Pierce [mailto:[EMAIL PROTECTED]]
Sent: Friday, 31 January 2003 11:35
To: 'Struts Users Mailing List'
Subject: RE: [OT] Geek Code


A stupid Australian is just a stupid American with 40% less spending power

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, 31 January 2003 2:29 PM
To: Struts Users Mailing List
Subject: RE: [OT] Geek Code


Ill have you know Im a stupid Australian not a stupid American.

Now run along and bother my oh so superior person no further thou ignorant
plebian who groketh not the ";->" smiley, or I shall have to insult you a
second time. (Or say "ni" to you...)


For anyone who didnt quite parse my comment correctly, the "kill the latin"
reference referred to the use of the language latin in signatures. (Of
course if I could actually read or write latin my opinion on its use in sigs
would be quite different...)



-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]]
Sent: Friday, 31 January 2003 03:52
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] Geek Code


pff you just song like a stupid man who think he have all the rigth
and the other people didn't have the rigth to have a different opinon
stupid american 

- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 4:42 AM
Subject: RE: [OT] Geek Code


> While we are at it lets kill the latin too! (& anything my simple mind
> doesnt grok...) ;->
> +1
>
> -Original Message-
> From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 30 January 2003 00:51
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Geek Code
>
>
> +1
>
> I agree completely.  Can this topic die off now?
>
> Maybe a filter should be instituted for the list which would reject any
> message wherein the content is shorter than the sig...
>
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
>
>
> > -Original Message-
> > From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 10:37 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [OT] Geek Code
> >
> >
> > That is actually a cool piece of parsing script.  I doubt,
> > however, that
> > anybody is really interested in having sigs decoded and are
> > less interested
> > in seeing the sig in the first place.  Put in on your
> > website, not your
> > email; this does not indicate your cleverness, only your
> > newbie status.
> >
> > Mark
> >
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 10:46 AM
> >
> > http://www.ebb.org/ungeek/
> >
> > <--
> > Alexandre Jaquet
> > ->
> > -BEGIN GEEK CODE BLOCK-
> > Version: 3.12
> > GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+
> > O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b
> > DI--- D
> > G++ e* h++ r% y*
> > --END GEEK CODE BLOCK--
> >
> > - Original Message -
> > From: "Mark Galbreath" <[EMAIL PROTECTED]>
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> >
> > > What's to say?
> > >
> > > http://www.geekcode.com/geek.html
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--

RE: [OT] test - please ignore

2003-01-26 Thread Daniel Joshua
Andrew,

How were the showflats.. what's the standard price/loan rate/etc now?

Just curious.

Regards,
Daniel


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:14 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] test - please ignore


You gonna be working till the wee hours of Saturday as well huh?

hehe. What is it now? 10am where you are? So lets see...
...you've got another 13 hours to go to get to my position at which time Ill
be enjoying a nice long sleep in. :-)

Hang on - the wife wants to go looking at hdb showflats in some ulu place
tommorow morning, and got early cny dinner in the evening. Arrgh @**#!!
There better be beer... :-(


speaking of beer
http://www.albinoblacksheep.com/flash/beer.html

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003 23:00
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: [OT] test - please ignore


As*hole

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:52 AM

Pity theres only 1 hour of Friday left ;-)


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[OT] test - please ignore

2003-01-24 Thread Daniel Joshua
please ignore

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Not spam...I swear--

2003-01-15 Thread Daniel Joshua
Good point!

But aren't the majority of the people on the list already having jobs...
... maybe there should be a "[EMAIL PROTECTED]" for this sort of
ads.

Regards,
Daniel


-Original Message-
From: Justin Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 9:06 AM
To: 'Struts Users Mailing List'
Subject: RE: Not spam...I swear--


At the risk of diverting all the flames of this thread to myself, I have
to put in my 2 cents.  Before you read any further - no, I am not
looking for a job.

While a $100 referral fee isn't much at all, it shouldn't be about that.
While YOU may be employed, if you have a friend who needs a job the
money should be secondary.

Give credit to Ms. Aileen for knowing where to find good Struts talent
(see her original e-mail).  Many technical recruiters don't deserve that
title and to see one actually go right to the source of the best Struts
talent is, to me, quite impressive.  If more recruiters worked this way
we would have fewer unqualified developers who get hired into positions
that could've been ours, just because they have the right buzzwords on
their resumes.

If this was a general Java job opening that was crossposted to numerous
lists or if the list was flooded with such posts, I would have a
different opinion.

Justin (donning my flame-retardant suit)

> -Original Message-
> From: Kukreja, Vijay [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 7:49 PM
> To: Struts Users Mailing List
> Subject: RE: Not spam...I swear--
>
>
> $100 referal fee.. hehe.. you must be out of your mind.
>
> -Original Message-
> From: Aileen Cardenas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 2:44 PM
> To: [EMAIL PROTECTED]
> Subject: Not spam...I swear--
>
>
> --just digging for TALENT!
>
> When I find the right person, I will unsubscribe--I promise!
>
> I HAD to ask the experts for referrals, you certainly can't
> blame me for trying!  Anyhow, I am sure that one of you has
> some friends and family out of work and it can't hurt for you
> to ask them--if you refer the person to me who gets the
> contract, you receive a $100 referral fee.
>
> It's a win-win-win!  Toll free 877-317-8700, or direct 650-583-3600.
>
> Thanks for your help!
> Ms. Aileen
> Aileen Cardenas
> Technical Recruiter
> Apex Systems, Inc.
> 1250 Bayhill Drive, Suite 101
> San Bruno, CA  94066
> 650-583-3600
> 650-583-3668 Fax
> www.apexsystemsinc.com
>
>
> --
> To unsubscribe, e-mail:
>  [EMAIL PROTECTED]>
> For
> additional commands,
> e-mail: 
>


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: xml/html/xsl/jsp and performance

2003-01-07 Thread Daniel Joshua
So that what Cocoon is for...

>So if your EJB is able to know if its result XML is the same as a previous
>one

Btw, how would your EJB know that, most are designed stateless. Just
wondering if Cocoon does that automatically.

Regards,
Daniel


-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 5:09 PM
To: 'Struts Users Mailing List'
Subject: RE: xml/html/xsl/jsp and performance

Use Cocoon with your Ejb as your (XML) generator, your XSL stylesheets
as transformers and HTML/PDF/whatever as your serializer.
Cocoon has a cache management at EACH step.
So if your EJB is able to know if its result XML is the same as a previous
one, if your XSL stylesheet does not change often (==is static), then
Cocoon will not launch any treatment and simply use its internal cache.

Cocoon is THE framework for XML sources->XSL
transformations->HTML/PDF/WAP/whatever output.

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: disable enter key

2002-12-30 Thread Daniel Joshua
Would that work if my control is a password input field ?

Regards,
Daniel


-Original Message-
From: deepak [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 7:41 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: disable enter key


You can use something like this

function captureEnter ()
{
   var keycode;
   if (window.event)
keycode = window.event.keyCode;
if (keycode == 13)
   {
//Your processing
}
 }

You can call this function on keyPress event of your control

- Original Message -
From: "Daniel Joshua" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 2:27 PM
Subject: RE: disable enter key


> Another question:
>
> If I have no submit button. How do I make it that the 'Enter' key triggers
a
> JavaScript function?
>
> This is because I need to do some processing before submitting.
>
> Regards,
> Daniel
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 28, 2002 2:07 AM
> To: [EMAIL PROTECTED]
> Subject: RE: disable enter key
>
>
> But the default behavior of Enter in a browser (IE?) is to invoke the form
> submission. For example, if you hit Enter on a login page, it acts like
you
> click the Sing-In button. There is no JS involved.
>
> Regards,
>
>
> Phillip Qin
>
> "This Guy Thinks He Knows Everything"
> Canadian Shareowner
> 121 Richmond Street W, 7th Floor
> Toronto, ON M5H 2K1
> (416) 595-9600 ext 291
>
>
> -Original Message-
> From: James Childers [mailto:[EMAIL PROTECTED]]
> Sent: December 27, 2002 1:03 PM
> To: Struts Users Mailing List
> Subject: RE: disable enter key
>
> No.
>
> Struts is a server-side platform. It can make client-side tasks easier,
such
> as validation, but this falls outside it's realm of responsibility. You'll
> have to use JavaScript.
>
> -= J
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, December 27, 2002 11:59 AM
> > To: [EMAIL PROTECTED]
> > Subject: disable enter key
> >
> >
> > Dumb question. Is it able to disable "Enter" key without
> > using JavaScript on
> > any struts-powered page?
> >
> > Regards,
> >
> >
> >
> > Phillip Qin
> >
> > "This Guy Thinks He Knows Everything"
> >
> >
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: disable enter key

2002-12-30 Thread Daniel Joshua
Another question:

If I have no submit button. How do I make it that the 'Enter' key triggers a
JavaScript function?

This is because I need to do some processing before submitting.

Regards,
Daniel


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 28, 2002 2:07 AM
To: [EMAIL PROTECTED]
Subject: RE: disable enter key


But the default behavior of Enter in a browser (IE?) is to invoke the form
submission. For example, if you hit Enter on a login page, it acts like you
click the Sing-In button. There is no JS involved.

Regards,


Phillip Qin

"This Guy Thinks He Knows Everything"
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291


-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]]
Sent: December 27, 2002 1:03 PM
To: Struts Users Mailing List
Subject: RE: disable enter key

No.

Struts is a server-side platform. It can make client-side tasks easier, such
as validation, but this falls outside it's realm of responsibility. You'll
have to use JavaScript.

-= J

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 27, 2002 11:59 AM
> To: [EMAIL PROTECTED]
> Subject: disable enter key
>
>
> Dumb question. Is it able to disable "Enter" key without
> using JavaScript on
> any struts-powered page?
>
> Regards,
>
>
>
> Phillip Qin
>
> "This Guy Thinks He Knows Everything"
>
>

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-23 Thread Daniel Joshua
Season greetings to all Struts Developers ~!

Regards,
Daniel


-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 11:06 AM
To: Struts Users Mailing List
Subject: Re: [OT] HAPPY HOLIDAYS, EVERYONE


Yes - Merry Christmas and Happy New Year to all!  Please be safe and
have fun!  Look out for the plethora of idiots that are likely to be on
the road!!

--
Eddie Bush





--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: multiple file upload

2002-12-15 Thread Daniel Joshua
>2. I can create file button in loop so it can be added as per requirement.
But, in this case the name of file button will be same.
I do not think that you can set multiple FormFile using one name. I think it
is some sort of limitation of the Strut framework, but you can always
provide that functionality yourself.

How about loading 1 file at a time, like the way HotMail works.

Anyone else have a good way of handling a varible number of files to be
uploaded?

Regards,
Daniel


-Original Message-
From: Amit Badheka [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 5:34 PM
To: Struts Users Mailing List
Subject: multiple file upload


My requirement is to upload some files, the no of files are not known as the
user can add no of files to be attched/uploaded.

So, I have two options for doing that -

1. I create the file button dynamically with different name, but in this
case how can I add that parameter in form bean.

2. I can create file button in loop so it can be added as per requirement.
But, in this case the name of file button will be same.

I would like to go for 2nd, as it looks easy to implement. But the problem
is that I am not sure if struts can handle such situation where there are
multiple file button with same name.

Any help will be appreciable.

Amit.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Complicated Web Interfaces?

2002-12-01 Thread Daniel Joshua
Yup I read it...

I also read an article on it at
http://www.javaworld.com/javaworld/jw-11-2002/jw-1129-jsf.html

But, my question is, how long before it will be ready for use?

PS: It looks cool!

Regards,
Daniel


-Original Message-
From: edgar [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 11:22 AM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Complicated Web Interfaces?


The JSF Spec is a MUST READ for serious web application developers.
There is a lot of stuff going on and it will seriously effect the way
you develop and think about web applications.

http://www.jcp.org/en/jsr/detail?id=127

Edgar

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 01, 2002 10:03 PM
To: 'Struts Users Mailing List'
Subject: RE: Complicated Web Interfaces?


>>"Have you got an alternative suggestion for how to build complicated
>>UIs
for a web browser *without* using client side JavaScript?"

Flash! ;-)

btw: I havent had time to look at JSF yet. Glad to hear its not just for
rendering HTML, but is it applicable to JSP based rendering approaches
only, or more generic than that?


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 09:18
To: Struts Users Mailing List
Subject: RE: Complicated Web Interfaces?




On Fri, 29 Nov 2002, Jonathan Holloway wrote:

> Date: Fri, 29 Nov 2002 00:28:39 -
> From: Jonathan Holloway <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Complicated Web Interfaces?
>
> Ok in principle then it seems fine it's just I don't like the fact
> that a scripting language whether client or server side can be
> embedded in the presentation logic, it still seems like a bit of a
> workaround.

Have you got an alternative suggestion for how to build complicated UIs
for a web browser *without* using client side JavaScript?

>  I've wondered about whether the Model2X approach and the Model 2
> approach for some while now and it seems like the latter doesn't
> seperate the concerns as much as Model 2X.  The only thing that makes
> me doubt this is the fact that Sun and yourself have gone this way via

> the Model 2 approach with Java Server Faces rather than the Model 2
> approach. Is there any particular reason why this method is preferred
> over the Model 2X approach?
>

You'll have to point me at a definition of what you mean by "Model 2X"
-- I've seen the term bandied about, but don't know of any formal
description.

Regarding JavaServer Faces in particular, it is *not* a goal of JSF to
be focused purely on HTML as the markup language.  There will be a set
of common components included, but no requirement that HTML be the only
way they are rendered.  I fully expect to see JSF implementations using
all sorts of other technologies as well.

> Jon.
>

Craig


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Upload corrupts file

2002-11-10 Thread Daniel Joshua
Curious, shouldn't this sort of thing be posted in struts-dev instead of
struts-user?

Regards,
Daniel


-Original Message-
From: Roland Polzer [mailto:ropoking@;hotmail.com]
Sent: Saturday, November 09, 2002 9:24 PM
To: [EMAIL PROTECTED]
Subject: Upload corrupts file




Hi,

I have a case in which an uploaded file is corrupted by struts.

The file is only 20KB. You can get it from here:
http://home.arcor.de/polzer/testXP.doc

Byte 4097 (originally 0x00) turned into a 0x0A.
I suspect a buffer size of 4 KB and/or a 0x0A 0x0D problem ???

Supposedly this bug is fixed in 1.0.1, but I have tried 1.0.2 and 1.1b and
it is still there.
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=struts-user@;jakarta.apac
he.org&msgId=163235

Thanks,
Roland



_
Messenger  -  Wer in Echtzeit kommunizieren will, lädt den MSN Messenger.
Cool, kostenlos und mit 3D Emoticons: http://messenger.msn.de


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Daniel Joshua
Ignore my last message... found what I was looking for at the below link:

http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/faq.ht
ml


Regards,
Daniel


-Original Message-
From: Daniel Joshua [mailto:daniel.joshua@;gridnode.com]
Sent: Friday, November 01, 2002 12:12 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]


Dumb Newbie Question: Is SWT (Standard Widget Toolkit) just for IBM's
Eclipse?

Regards,
Daniel


-Original Message-
From: Galbreath, Mark [mailto:Galbreath@;tessco.com]
Sent: Thursday, October 31, 2002 7:33 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]


Alan Williamson also makes a good case for Eclipse in the Oct. 2002 edition
of "Java Developer's Journal," p. 5.  His article, and what people have said
on this list has made me interested enough to try it out.  And it's
apparently built with SWT (Standard Widget Toolkit), not Swing.

Mark

-Original Message-
From: Xavier Combelle [mailto:xcombelle@;kaptech.com]
Sent: Thursday, October 31, 2002 6:20 AM
To: Struts Users Mailing List
Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]


I also love vi

but for java developpement, maybe Eclipse is a good choice

??

Xavier




> -Message d'origine-
> De : Galbreath, Mark [mailto:Galbreath@;tessco.com]
> Envoyé : jeudi 31 octobre 2002 12:10
> À : 'Struts Users Mailing List'
> Objet : RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]
>
>
> I agree, but then, I love Java - all of it (but especially the new 1.4
> goodies!).  I even loved AWT! But as an end-user app?  Ugh!  This is why I
> stopped using Forte, NetBeans, JDeveloper, JBuilder, etc.  Resource hogs,
> only because they are built with Swing.  Give me vi or give me death!
>
> -Original Message-
> From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com]
> Sent: Thursday, October 31, 2002 6:02 AM
> To: Struts Users Mailing List
> Subject: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]
>
>
> I love Swing.
> hmm... actually come to think of it I love *developing* with
> Swing. Using it
> however... urrrgh!
>
> -Original Message-
> From: Galbreath, Mark [mailto:Galbreath@;tessco.com]
> Sent: Thursday, October 31, 2002 18:55
> To: 'Struts Users Mailing List'
> Subject: RE: [ANNOUNCE] Struts Console v3.0
>
>
> Swing sucks.  When is Sun going to get it's act together on providing a
> lightweight GUI framework?  Anybody read Alan Williamson's
> editorial in the
> 10/02 edition of "Java Developer's Journal?"
>
> Mark
>
> -Original Message-
> From: James Holmes [mailto:jholmes612@;yahoo.com]
> Sent: Wednesday, October 30, 2002 5:52 PM
>
> Struts Console is Swing not SWT.
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Daniel Joshua
Dumb Newbie Question: Is SWT (Standard Widget Toolkit) just for IBM's
Eclipse?

Regards,
Daniel


-Original Message-
From: Galbreath, Mark [mailto:Galbreath@;tessco.com]
Sent: Thursday, October 31, 2002 7:33 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]


Alan Williamson also makes a good case for Eclipse in the Oct. 2002 edition
of "Java Developer's Journal," p. 5.  His article, and what people have said
on this list has made me interested enough to try it out.  And it's
apparently built with SWT (Standard Widget Toolkit), not Swing.

Mark

-Original Message-
From: Xavier Combelle [mailto:xcombelle@;kaptech.com]
Sent: Thursday, October 31, 2002 6:20 AM
To: Struts Users Mailing List
Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]


I also love vi

but for java developpement, maybe Eclipse is a good choice

??

Xavier




> -Message d'origine-
> De : Galbreath, Mark [mailto:Galbreath@;tessco.com]
> Envoyé : jeudi 31 octobre 2002 12:10
> À : 'Struts Users Mailing List'
> Objet : RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]
>
>
> I agree, but then, I love Java - all of it (but especially the new 1.4
> goodies!).  I even loved AWT! But as an end-user app?  Ugh!  This is why I
> stopped using Forte, NetBeans, JDeveloper, JBuilder, etc.  Resource hogs,
> only because they are built with Swing.  Give me vi or give me death!
>
> -Original Message-
> From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com]
> Sent: Thursday, October 31, 2002 6:02 AM
> To: Struts Users Mailing List
> Subject: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0]
>
>
> I love Swing.
> hmm... actually come to think of it I love *developing* with
> Swing. Using it
> however... urrrgh!
>
> -Original Message-
> From: Galbreath, Mark [mailto:Galbreath@;tessco.com]
> Sent: Thursday, October 31, 2002 18:55
> To: 'Struts Users Mailing List'
> Subject: RE: [ANNOUNCE] Struts Console v3.0
>
>
> Swing sucks.  When is Sun going to get it's act together on providing a
> lightweight GUI framework?  Anybody read Alan Williamson's
> editorial in the
> 10/02 edition of "Java Developer's Journal?"
>
> Mark
>
> -Original Message-
> From: James Holmes [mailto:jholmes612@;yahoo.com]
> Sent: Wednesday, October 30, 2002 5:52 PM
>
> Struts Console is Swing not SWT.
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
> --
> To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: StrutsCX

2002-10-23 Thread Daniel Joshua
Bernhard,

Do you have any sample/demo app (in English)?


Regards,
Daniel


-Original Message-
From: Bernhard Woehrlin [mailto:service@;cappuccinonet.com]
Sent: Wednesday, October 23, 2002 5:21 PM
To: [EMAIL PROTECTED]
Subject: StrutsCX


Hallo everybody,

I created a small Struts add-on framework called StrutsCX. StrutsCX is
Struts with Castor XML and XSLT.

Features:

- Lightweight framework running on any Servlet Engine or J2EE Application
Server.
- Simple and fast to implement.
- Support of internationalization. IS0-8859-1 and any other language, like
chinese, korean, arabic, too!
- StrutsCXServlet: Replaces Struts JSP and Message Ressources features with
a pure XML and XSLT solution 100% internationalizable.
- Output of 100% standard conform XML, XHTML, XSL-FO, WML or whatever you
like.
- Simple validation error mechanism.
- Prototype persists via Castor XML.
- Prototype featuring the CRUD cycle (Create, Reatrieve, Update, Delete) and
support for english, german and korean language.

StrutsCX takes further the idea of the Model 2X by Julien Mercay and Gilbert
Bouzeid. Check out the StrutsCX website:

http://it.cappuccinonet.com/strutscx

A documentation on StrutsCX got published in a series of articles in the
JavaMagazin here in Germany. There are rather detailed Javadoc comments in
English. Anyway, depending on my resources, I plan to extend the English
documentation.

Regards

Berny Woehrlin

---
Bernhard Woehrlin
XML Architect, Java Web Component Developer
(SCJP2, SCWCD, IBM XML/141, IBM OOAD/UML)


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts and high performance sites

2002-09-24 Thread Daniel Joshua

V. Cekvenich,

>The slow part is DAO in J2EE (and ADO in .NET). Avoid any EJB, they do
>not scale.

I though EJBs were designed to allow scalling?


Regards,
Daniel


-Original Message-
From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich
Sent: Tuesday, September 24, 2002 5:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and high performance sites


Not a high volume of users, and 7 transactions per second? Should fit on
a single medium box (if not a laptop) if you do it right.

You have to worry about creating objects if you write your own framework
(you can put beans in session or requests, and request is better
mostly), and then you have 2 projects, your app and a framework, and you
won't do better than the Struts team and what about framework bugs?
Also, with Struts, my clients are able to write several modules(pages)
per day per developers, how's that for  productivity or beating the
schedule?
Some of the  Struts sites are 50 times more concurrent users I have
worked on, no problem.

The slow part is DAO in J2EE (and ADO in .NET). Avoid any EJB, they do
not scale.

Some good choices is RowSet(I do metadata w/ reflection to auto gen SQL
updates - RowSet also avoids BO/DTO/VO mapping and GC), Resin, pgSQL,
Eclipse or CodeGuide IDE, Linux/KDE and J:Rockit VM or IBM VM (Sun VM
and Sun Inc. have issues). Sample good practices code on
http://basicPortal.sf.net, FREE!

(If you have a large app or large # users, let a mentor help. many are
on this list, it is cost effective, but not because of Struts only)

V.
Struts Mentor
917 345 1445 [EMAIL PROTECTED]
("Mentor's helps you do it faster/cheaper)


David Zimmerman wrote:
> Hi,
> we are building a webshop for a site with a high volume of users, approx.
800 concurrent users and 25k transactions per hour. We are going to use J2EE
as the ground platform. I am now considering some design choices where using
Struts is one of them. However I have some questions regarding the
performance of Struts. I know this issue has been up many times before but I
have never been able to find any satisfying answers, so...
>
> What, if any, overhead does the Struts controller generate? This question
must of course be seen in the context of writing your own controller or
using any other framework. However, what is Struts overhead?
>
> What overhead does the use of form beans generate (in the sense of objects
created, memory use, the use of reflection, speed)
>
> Custom tags (Struts' or other). Would they be applicable in a case like
this? Wouldn't there be a massive creation of objects for every request?
>
> Please help me out here! I really want your knowledge on this!
>
> Regards
> David Zimmerman
>
>
> 
> Tired of all the SPAM in your inbox? Switch to LYCOS MAIL PLUS
> http://www.mail.lycos.com/brandPage.shtml?pageId=plus




--
To unsubscribe, e-mail:

For additional commands, e-mail:




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: accessing large/multiple files on hard drive

2002-09-09 Thread Daniel Joshua

Nani Jon,

Try using this... http://www.webdav.org/

Alternatively, you can store the path of the MP3 directory into a config
file, and just use normal IO to interact with them.


Regards,
Daniel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 5:06 AM
To: [EMAIL PROTECTED]
Subject: RE: accessing large/multiple files on hard drive


This has got to be a candidate for the worst, messiest solution ever...

Worse comes to worse, you could have two applications... one that holds
and serves up the mp3 files and the other that does all the other
work...

I'm sure there is a hole a mile wide in this idea...



-Original Message-
From: ekbush [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 4:39 PM
To: struts-user
Subject: Re: accessing large/multiple files on hard drive


That could get quite tricky if you're running out of a WAR archive.  If
your application is deployed in "unpacked" format, then you could
sym-link (on Un*x anyway) to it I would think.  So you'd wind up with a
sym-link in your root (or protected under WEB-INF) that pointed to the
real directory.  I can't think of another elegant solution.  Maybe
someone else can.

Regards,

Eddie

Nani Jon wrote:

>Hi:
>
>Here is my sitiuation. I have deployed my application war file to a
JBoss_Tomcat caontainer. I have developed this app using struts. I am
trying to access multiple music files (mp3 format) form this app. I
don't want to wrap all of my mp3 files which total to about 1 GB in my
war file. This makes for a very lenghty deploy process, especially when
it is work in progress. I just want to put them in a directory on the
server where Tomcat is running and point to that directory in my
application. How is this done. Your help is greatly appreciated.
>
>Thanks,
>
>Nanijon.
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [OT] Official DTD

2002-08-29 Thread Daniel Joshua

James,

Thanks. This will help greatly, especially since today is friday for me...

BTW, does this come with a matching XML Schema or Dictionary ?


Regards,
Daniel

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 12:27 PM
To: Struts Users Mailing List
Subject: RE: [OT] Official DTD


Here you go.  DTD for Struts-Users (Fridays)



http://jakarta.apache.org/struts/dtds/struts-fridays_1_1.dtd";>















 Ok.  Don't flame me if I didn't document this enough ;)

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 29, 2002 11:43 PM
> To: Struts Users Mailing List
> Subject: RE: [Tag Protocol] How to let newbies know?
>
>
> Will the DTD support nested subject tags?
>
> OT].[FRIDAY]].[BEER]].[BS]].[MARK]
>
>
> -Original Message-
> From: Daniel Joshua [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 30, 2002 11:35
> To: 'Struts Users Mailing List'
> Subject: RE: [Tag Protocol] How to let newbies know?
>
>
> Anyone know where can I download this DTD for emails' subject field ?
>
> LoL
>
> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 30, 2002 3:26 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [Tag Protocol] How to let newbies know?
>
>
> A DTD?  Great idea
>
> Mark
>
> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 29, 2002 3:20 PM
>
> Next someone'll ask for a description of the tag
>
> Sri
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: [Tag Protocol] How to let newbies know?

2002-08-29 Thread Daniel Joshua

Anyone know where can I download this DTD for emails' subject field ?

LoL

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 3:26 AM
To: 'Struts Users Mailing List'
Subject: RE: [Tag Protocol] How to let newbies know?


A DTD?  Great idea

Mark

-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 3:20 PM

Next someone'll ask for a description of the tag

Sri

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Anything terrible happen over the past week?

2002-08-21 Thread Daniel Joshua

Nope, definitely a DEFECT!

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 3:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Anything terrible happen over the past week?


Huh?  It's a FEATURE!

-Original Message-
From: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 3:28 PM

Dare I ask if there is a patch for this?


-Original Message-
From: Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 3:12 PM

Yep.  I came back from vacation and resubscribed.

Mark

-Original Message-
From: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 2:24 PM

I've been out moving for the past week.  I can catch up on the full
archive over the next week, but has anything terrible been discovered
and / or fixed since the b2 came out?

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: upload files

2002-07-29 Thread Daniel Joshua

Hi,

Sort of off-topic, anyway this is the not so elegant approach that I used...

  response.setContentType(CONTENT_TYPE);
  response.setHeader("Content-Disposition", "attachment; filename=\"" +
filename + "\"");
  ServletOutputStream out = response.getOutputStream();

  byte[] inBytes = new byte[DEFAULT_BUFFER_SIZE];
  FileInputStream fileInputstream = new FileInputStream(file);
  int len = fileInputstream.read(inBytes);
  while(len != -1) // Check for EOF
  {
out.write(inBytes, 0, len);
len = fileInputstream.read(inBytes);
  }

This should give you a pop up message box asking to Save, Open, etc. Instead
of 'attachment' you can also use 'inline'.


Regards,
Daniel

-Original Message-
From: Christian Pich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 4:26 AM
To: Struts Users Mailing List
Subject: Re: upload files


Well, I did that before without the struts framework and ran into problems:
I am working in frames so when I try to output specific contents then
it always defaults the contents to the frame source file contents. Also,
it would not allow me to set the default file name correctly.

Can I do it from an action class?


Bichiko, Dmitri wrote:

>you can set the content type from within the JSP page:
>
>response.setContentType("application/vnd.ms-excel")
>
>for the file name:
>
>response.setHeader("Content-Disposition","attachment;
filename=myfile.xls;")
>
>Dmitri
>
>-Original Message-
>From: Christian Pich [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 29, 2002 3:54 PM
>To: [EMAIL PROTECTED]
>Subject: upload files
>
>
>How does struts envision to send files (images, documents) to the web
>user back?
>I could not find documentation about it? Is that done in the Action class?
>How do I set the contents-type, such as image/gif or others
>and how do I set the default name that appears for the user when he is
>asked to
>save the file on his disk?
>
>
>--
>To unsubscribe, e-mail:
>
>For additional commands, e-mail:
>
>
>--
>To unsubscribe, e-mail:

>For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: DispatchAction and declarative exception handling

2002-07-23 Thread Daniel Joshua

Hi,

(... not really related)

Is there any reason why Action and DispatchAction handle exceptions
differently in Struts 1.1-B1 ?

eg. the Action does a stack trace, while the DispatchAction does not.


Regards,
Daniel

-Original Message-
From: Drew McAuliffe [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 20, 2002 3:03 AM
To: [EMAIL PROTECTED]
Subject: DispatchAction and declarative exception handling


I'm not sure if this is intended behavior, but I've found what looks to
me like a problem with the DispatchAction class. In the "dispatchMethod"
method, exceptions are trapped and when they occur, are usually
processed by a call to "response.sendError()". This appears to bypass
any exception handling that might be configured declaratively. For
instance, if I have a login method on a subclass of "DispatchAction",
and it throws an "AuthenticationException", the dispathMethod will see
that as an InvocationTargetException and make a call to
"response.sendError()". So no matter how I've configured exceptions in
struts-config, I'll always get an error.

I would think that for at least "InvocationTargetException", this should
not be the way the exception is handled. I've modified my subclass of
DispatchAction to override "dispatchMethod". In my override, I treat
"InvocationTargetException" differently than the other trapped
exceptions. Because you'd usually reach this exception if there was an
exception in the action method, it will usually be a business exception
and not a system exception. My override pulls the cause exception out
("getCause") and throws it, rather than calling "response.sendError()"
and returning null. As a result, I can throw business exceptions in my
dispatchAction subclass methods and configure how they are handled in
the struts-config file.

Does this sound right, or am I missing something in how the
DispatchAction is supposed to be used?


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: