another site using struts

2003-04-04 Thread Dan Allen
I believe that punchstock.com is using struts, and the action
mapping prefix they are using is /store rather than /do or *.do
Search for an image and look at the source.  I could be wrong of
course, but it looks and feels like struts.

Dan

p.s. You web-devs out there should be familiar with punchstock.com
to be the stock photography your graphic designer might very well be
using ;)

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"While they're pumping, you're soaking them" 
 -- Speed Loader TV Advert
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



Re: MVC - not!

2003-04-04 Thread Micael
I understand that, Craig, if you are talking to veterans, but like some of 
the choices in naming in applications, it just continues to confuse every 
new arrival until we finally use the right words.  So, I appreciate your 
pragmatic approach, but the problem is still real.  It is not just a matter 
of words, if you are new and trying to get things.  There really are two 
very different patterns, and we use the same name for both of them and do 
not even mention, as a rule, that there is a huge difference in the 
underlying class architecture.  But, I digress, and digress, and digress.

At 06:30 PM 4/4/03 -0800, you wrote:


On Fri, 4 Apr 2003, Micael wrote:

> Date: Fri, 04 Apr 2003 16:49:55 -0800
> From: Micael <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED]
> Subject: Re: MVC - not!
>
> What you say makes sense, until you look at the actual pattern used that is
> called MVC.  It was not until I tried stopping fitting what people were
> doing into what they said they were doing that I began to understand the
> pattern actually used, David.  So, I have to respectfully disagree.  I
> think the opposite in fact is true.  I don't see anything like in the
> actual pattern, but just in the desired outcome.  A pattern is not defined
> by its problem (the hoped for outcome) but by the solution.  The MVC
> problem is the same in both cases, but the MVC solution is not what we
> use.  Some, like Barracuda, come closer to the MVC.
>
The traditional GUI folks have long objected to the web folks "co-opting"
the term MVC, usually along the grounds that Micael is arguing.  My
response is that a term means what people think it means -- and web app
developers think MVC means frameworks like Struts.
It's about two-three years too late for this discussion.  It's time to
move on to things that are more interesting.
Craig

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


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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


RE: Retrieve a Submit Value in a Form Bean

2003-04-04 Thread Jordan Reed
Updating to your suggestion of:


fixed it.  Thanks!

- Jordan

> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 7:47 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Retrieve a Submit Value in a Form Bean
> 
> Jordan wrote:
> >  
> 
> I would be interested in seeing the resulting HTML.  What's the "name"
> attribute of the  tag?  If it's not name="submit",
> then
> that's why your Form bean is not being populated.  Try this:
> 
> 
> 
> --
> Wendy Smoak

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



Re: SecurityFilter and back button

2003-04-04 Thread Max Cooper
That looks like a bug on first glance. Please submit it to the
SecurityFilter project bug list on Sourceforge so that we can track it:
http://sourceforge.net/tracker/?group_id=59484&atid=491164

If you aren't using it now, I recommend using the securityfilter-1.0.1
release, rather than an older release or a build from the CVS tree. 1.0.1 is
the most stable. Actually, do this before you submit the bug in case it has
already been fixed. If you were using a release version already, rather than
the CVS tree, it probably hasn't been fixed in 1.0.1. It is possible that it
was introduced in CVS when we added some features recently.

I will look at it this weekend and possibly have a release to fix it in the
same time frame.

-Max

- Original Message -
From: "Mark Zeltser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 7:52 AM
Subject: SecurityFilter and back button


>
> Hi,
>
> I have struts 1.1b3 integrated with SecurityFilter using
> CatalinaRealmAdapter. It works except of one case. After successfull
> login, clicking back button and trying to login again results in
> generating incorrect response path. E.g:
>
>

**
>
> Response:
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> ---
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> authType=null
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> contentLength=-1
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> contentType=text/plain
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> cookie=JSESSIONID=1958650B877524BABA607A1E4A7A9B1F; domain=null;
> path=/confirmw
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> header=Set-Cookie=JSESSIONID=1958650B877524BABA607A1E4A7A9B1F;
> Path=/confirmw
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> header=Location=http://localhost:8080/confirmwnull
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> message=null
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> remoteUser=null
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> status=302
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> ===
>
>
> New Request:
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]: REQUEST URI
> =/confirmwnull
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> authType=null
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> characterEncoding=null
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> contentLength=-1
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> contentType=null
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:contextPath=
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> cookie=JSESSIONID=1958650B877524BABA607A1E4A7A9B1F
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> header=accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/msword, application/vnd.ms-excel,
> application/vnd.ms-powerpoint, */*
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> header=referer=http://localhost:8080/confirmw/jsp/logon.jsp
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> header=accept-language=en-us
> 2003-04-04 10:43:36 RequestDumperValve[Standalone]:
> header=accept-encoding=gzip, deflat
>

**
>
> Looks like domain's value(null) is appened to path, resulting in
> incorrect URI /confirmnull.
>
> Is this a bug?
>
> Thanks,
> Mark.
>
>
> --
> NOTICE: If received in error, please destroy and notify sender.  Sender
> does not waive confidentiality or privilege, and use is prohibited.
>
>
>
> -
> 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: Retrieve a Submit Value in a Form Bean

2003-04-04 Thread Wendy Smoak
Jordan wrote:
>  

I would be interested in seeing the resulting HTML.  What's the "name"
attribute of the  tag?  If it's not name="submit", then
that's why your Form bean is not being populated.  Try this:



-- 
Wendy Smoak


Retrieve a Submit Value in a Form Bean

2003-04-04 Thread Jordan Reed
All,

I'm working on updating my Struts app from 1.0.1 to 1.1RC1 and hit some
unexpected behavior.  I wanted to know if this made sense.

I have a form with multiple  tags in it, each having a
different value.  The form bean associated with it has a submit property.

In Struts 1.0.1 I was able to call getSubmit() and it would give me back the
value of which submit button pressed.  In Struts 1.1RC1 the value is null,
which implies that Struts is never setting the value.  

Is this expected?  If so, how can I get back the value of the submit?

Thanks,
Jordan


Form:

  


  
  
  
  

  


FormBean:
public class UpdateUserMiscForm extends ActionForm {
protected String miscId;
protected String miscName;
protected String miscValue;
protected String submit;

public void setMiscId(String miscId) {
this.miscId = miscId;
}

public String getMiscId() {
return this.miscId;
}

public void setMiscName(String miscName) {
this.miscName = miscName;
}

public String getMiscName() {
return this.miscName;
}

public void setMiscValue(String miscValue) {
this.miscValue = miscValue;
}

public String getMiscValue() {
return this.miscValue;
}

public void setSubmit(String submit) {
this.submit = submit;
}

public String getSubmit() {
return this.submit;
}
}

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



Re: MVC - not!

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Micael wrote:

> Date: Fri, 04 Apr 2003 16:49:55 -0800
> From: Micael <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED]
> Subject: Re: MVC - not!
>
> What you say makes sense, until you look at the actual pattern used that is
> called MVC.  It was not until I tried stopping fitting what people were
> doing into what they said they were doing that I began to understand the
> pattern actually used, David.  So, I have to respectfully disagree.  I
> think the opposite in fact is true.  I don't see anything like in the
> actual pattern, but just in the desired outcome.  A pattern is not defined
> by its problem (the hoped for outcome) but by the solution.  The MVC
> problem is the same in both cases, but the MVC solution is not what we
> use.  Some, like Barracuda, come closer to the MVC.
>

The traditional GUI folks have long objected to the web folks "co-opting"
the term MVC, usually along the grounds that Micael is arguing.  My
response is that a term means what people think it means -- and web app
developers think MVC means frameworks like Struts.

It's about two-three years too late for this discussion.  It's time to
move on to things that are more interesting.

Craig

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



Re: MVC - not!

2003-04-04 Thread Micael
What you say makes sense, until you look at the actual pattern used that is 
called MVC.  It was not until I tried stopping fitting what people were 
doing into what they said they were doing that I began to understand the 
pattern actually used, David.  So, I have to respectfully disagree.  I 
think the opposite in fact is true.  I don't see anything like in the 
actual pattern, but just in the desired outcome.  A pattern is not defined 
by its problem (the hoped for outcome) but by the solution.  The MVC 
problem is the same in both cases, but the MVC solution is not what we 
use.  Some, like Barracuda, come closer to the MVC.

At 05:25 PM 4/4/03 -0700, David Graham wrote:
Web MVC doesn't match conventional MVC from desktop GUI apps but I still 
consider them the same pattern.  You have the same separation of concerns 
but with a slightly different message system between the components.  IMO, 
calling it something other than MVC consuses the issue and is not helpful 
for a person trying to learn the pattern.

David



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: Re: MVC - not!
Date: Fri, 04 Apr 2003 15:22:07 -0800
I know, David, and I admire your work.  But, look at the design pattern.
Ted Husted is right, I think, that it is not what we normally talk about.
At 03:16 PM 4/4/03 -0700, David Graham wrote:
I don't see an "E" (for events) in "MVC".

David



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: MVC - not!
Date: Fri, 04 Apr 2003 14:09:24 -0800
Wouldn't it be better if we stopped talking about MVC patterns when 
they really are not MVC patterns?  The patterns usually called "MVC" 
are not because they have no event structure.  We use, as a rule, a 
pattern that really is just based on minimal coupling, i.e., coupling 
only to contiguous operations.  Isn't that right?  The Model 2 maybe 
should be called the CD pattern, for "Contiguous Dependencies"?

LEGAL NOTICE

This electronic mail  transmission and any accompanying documents 
contain information belonging to the sender which may be confidential 
and legally privileged.  This information is intended only for the use 
of the individual or entity to whom this electronic mail transmission 
was sent as indicated above. If you are not the intended recipient, any 
disclosure, copying, distribution, or action taken in reliance on the 
contents of the information contained in this transmission is strictly 
prohibited.  If you have received this transmission in error, please 
delete the message.  Thank you



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


_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent 
as indicated above. If you are not the intended recipient, any 
disclosure, copying, distribution, or action taken in reliance on the 
contents of the information contained in this transmission is strictly 
prohibited.  If you have received this transmission in error, please 
delete the message.  Thank you



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


_
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



---

Re: Is Struts good enough to be standard?

2003-04-04 Thread David Graham
I never suggested I wasn't interested in making Struts better, just that I 
think it should be focused.  You can volunteer and submit patches to speed 
its improvement.

David



From: Igor Shabalov <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Is Struts good enough to be standard?
Date: Fri, 04 Apr 2003 16:47:07 -0800
	OK, I agree with you, David, let's Struts be dedicated to web. There is 
nothing wrong with it. But why it couldn't be better? Why I can not reuse 
modules in web controller? Why I do not have any debugger callback in it? 
Why I have to restart my server when I change something in configuration 
file? Why it couldnâ??t be 100% updateable on-the-fly?
	Look, people use  tags only because they do not need to 
recompile and restart servers 20 times every hour during intensive 
development.
	Once again, I agree with you, David, I just try to make Struts better.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 04 Apr 2003 17:20:16 -0700, David Graham <[EMAIL PROTECTED]> 
wrote:

Didn't we already discuss this?  Your custom framework implements a 
business controller which is out of the scope of Struts.  These OSS 
projects start to get out of control when they stray too far from their 
core competency.  I'd personally like to keep Struts focused on being a 
web MVC framework and integrate with other frameworks like JSF or a 
business controller.

David



From: Igor Shabalov <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Is Struts good enough to be standard?
Date: Fri, 04 Apr 2003 15:16:38 -0800
	I think Struts need to be improved before put it into standard. 
Personally I do not like Struts controller portion â?? too primitive for 
me.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 04 Apr 2003 18:06:01 -0500, Vic Cekvenich <[EMAIL PROTECTED]> 
wrote:

I think a JCP for MVC,
or even including Struts 1.1 in J2EE 1.4 JARs is a good idea.
It's a proven best practice and most popular frame work. It does not 
help Struts, it help those who are not using Struts yet.

.V

Mete Kural wrote:
Though, tight now, all the frameworks are still short of the mark, and 
we all have much to learn from each other. The best is yet to come.


With all that we have learned about web frameworks while developing and 
using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, 
WebWork, and all the others, do you think that soon we will have known 
enough to be able to have a framework standardized by the JCP? Or do 
you think that we have to wait and see for a couple of years which 
direction new specifications like JavaServer Faces and Portlet 
Specification take us before an attempt to standardize web frameworks 
through the JCP is made?

-Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 07:56:30 -0500

One of the best things about the Java platform is that it's still a 
marketplace of ideas. Sun has provided us with a very useful and 
reliable servlet framework, and we can all develop various application 
frameworks over that. Struts, Maverick, JPublish, and the others all 
have their own strengths and weaknesses. Though, tight now, all the 
frameworks are still short of the mark, and we all have much to learn

from each other. The best is yet to come.

-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]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 with e-mail virus protection service: 

Re: Is Struts good enough to be standard?

2003-04-04 Thread Igor Shabalov
	OK, I agree with you, David, let's Struts be dedicated to web. There is 
nothing wrong with it. But why it couldn't be better? Why I can not reuse 
modules in web controller? Why I do not have any debugger callback in it? 
Why I have to restart my server when I change something in configuration 
file? Why it couldn’t be 100% updateable on-the-fly?
	Look, people use  tags only because they do not need to 
recompile and restart servers 20 times every hour during intensive 
development.
	Once again, I agree with you, David, I just try to make Struts better.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 04 Apr 2003 17:20:16 -0700, David Graham <[EMAIL PROTECTED]> 
wrote:

Didn't we already discuss this?  Your custom framework implements a 
business controller which is out of the scope of Struts.  These OSS 
projects start to get out of control when they stray too far from their 
core competency.  I'd personally like to keep Struts focused on being a 
web MVC framework and integrate with other frameworks like JSF or a 
business controller.

David



From: Igor Shabalov <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Is Struts good enough to be standard?
Date: Fri, 04 Apr 2003 15:16:38 -0800
	I think Struts need to be improved before put it into standard. 
Personally I do not like Struts controller portion â?? too primitive for 
me.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 04 Apr 2003 18:06:01 -0500, Vic Cekvenich <[EMAIL PROTECTED]> 
wrote:

I think a JCP for MVC,
or even including Struts 1.1 in J2EE 1.4 JARs is a good idea.
It's a proven best practice and most popular frame work. It does not 
help Struts, it help those who are not using Struts yet.

.V

Mete Kural wrote:
Though, tight now, all the frameworks are still short of the mark, 
and we all have much to learn from each other. The best is yet to 
come.


With all that we have learned about web frameworks while developing 
and using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, 
WebWork, and all the others, do you think that soon we will have known 
enough to be able to have a framework standardized by the JCP? Or do 
you think that we have to wait and see for a couple of years which 
direction new specifications like JavaServer Faces and Portlet 
Specification take us before an attempt to standardize web frameworks 
through the JCP is made?

-Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 07:56:30 -0500

One of the best things about the Java platform is that it's still a 
marketplace of ideas. Sun has provided us with a very useful and 
reliable servlet framework, and we can all develop various 
application frameworks over that. Struts, Maverick, JPublish, and the 
others all have their own strengths and weaknesses. Though, tight 
now, all the frameworks are still short of the mark, and we all have 
much to learn

from each other. The best is yet to come.

-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]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: MVC - not!

2003-04-04 Thread David Graham
Web MVC doesn't match conventional MVC from desktop GUI apps but I still 
consider them the same pattern.  You have the same separation of concerns 
but with a slightly different message system between the components.  IMO, 
calling it something other than MVC consuses the issue and is not helpful 
for a person trying to learn the pattern.

David



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>,   
[EMAIL PROTECTED]
Subject: Re: MVC - not!
Date: Fri, 04 Apr 2003 15:22:07 -0800

I know, David, and I admire your work.  But, look at the design pattern.  
Ted Husted is right, I think, that it is not what we normally talk about.

At 03:16 PM 4/4/03 -0700, David Graham wrote:
I don't see an "E" (for events) in "MVC".

David



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: MVC - not!
Date: Fri, 04 Apr 2003 14:09:24 -0800
Wouldn't it be better if we stopped talking about MVC patterns when they 
really are not MVC patterns?  The patterns usually called "MVC" are not 
because they have no event structure.  We use, as a rule, a pattern that 
really is just based on minimal coupling, i.e., coupling only to 
contiguous operations.  Isn't that right?  The Model 2 maybe should be 
called the CD pattern, for "Contiguous Dependencies"?

LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent 
as indicated above. If you are not the intended recipient, any 
disclosure, copying, distribution, or action taken in reliance on the 
contents of the information contained in this transmission is strictly 
prohibited.  If you have received this transmission in error, please 
delete the message.  Thank you



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


_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you



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


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


RE: Password rules with the Validator?

2003-04-04 Thread David Graham
Of course you have to post the rules so people can comply but I guess I 
prefer to keep the info as generic as possible.  Having the js on the page 
shows a hacker your exact algorithm for implementing the rules.

David



From: "Raible, Matt" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Password rules with the Validator?
Date: Fri, 4 Apr 2003 16:06:46 -0700
I agree with the security risk, but since passwords will only be able to be
set by Administrators (after they've logged in) security is not much of a
concern. Also, we'll have to display what the password rules are in order
for a person (admin) to comply with them.
I didn't realize it (been heads down all day), but it looks like I've 
gotten
some suggestions from posting this same question on my website
(http://tinyurl.com/8urg).

Matt

> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 4:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Password rules with the Validator?
>
>
> Validating passwords in javascript is a *very* bad idea.  A
> hacker then has
> access to all your password rules and makes it easier to
> start guessing
> passwords.  This is the reason validator doesn't provide a password
> validation.
>
> David
>
>
>
> >From: "Raible, Matt" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> >To: "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> >Subject: Password rules with the Validator?
> >Date: Fri, 4 Apr 2003 15:56:57 -0700
> >
> >Does anyone know of any open source packages or techniques
> for implementing
> >password rules. For instance, I need to implement the
> following rules for
> >password in my application:
> >
> >Passwords must be made up of at least three (3) of the four
> (4) following
> >classes of characters: Lowercase letters, Uppercase letters, Numbers,
> >Special
> >Characters.
> >
> >I can probably whip up some JavaScript for this, but I'd
> need server-side
> >code to catch if JavaScript is disabled. I'm guessing this
> is not possible
> >with regular expressions in the Validator.
> >
> >Thanks,
> >
> >Matt
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> _
> The new MSN 8: advanced junk mail protection and 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]


_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


Re: Is Struts good enough to be standard?

2003-04-04 Thread David Graham
Didn't we already discuss this?  Your custom framework implements a business 
controller which is out of the scope of Struts.  These OSS projects start to 
get out of control when they stray too far from their core competency.  I'd 
personally like to keep Struts focused on being a web MVC framework and 
integrate with other frameworks like JSF or a business controller.

David



From: Igor Shabalov <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Is Struts good enough to be standard?
Date: Fri, 04 Apr 2003 15:16:38 -0800
	I think Struts need to be improved before put it into standard. Personally 
I do not like Struts controller portion â?? too primitive for me.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 04 Apr 2003 18:06:01 -0500, Vic Cekvenich <[EMAIL PROTECTED]> wrote:

I think a JCP for MVC,
or even including Struts 1.1 in J2EE 1.4 JARs is a good idea.
It's a proven best practice and most popular frame work. It does not help 
Struts, it help those who are not using Struts yet.

.V

Mete Kural wrote:
Though, tight now, all the frameworks are still short of the mark, and 
we all have much to learn from each other. The best is yet to come.


With all that we have learned about web frameworks while developing and 
using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, 
WebWork, and all the others, do you think that soon we will have known 
enough to be able to have a framework standardized by the JCP? Or do you 
think that we have to wait and see for a couple of years which direction 
new specifications like JavaServer Faces and Portlet Specification take 
us before an attempt to standardize web frameworks through the JCP is 
made?

-Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 07:56:30 -0500

One of the best things about the Java platform is that it's still a 
marketplace of ideas. Sun has provided us with a very useful and 
reliable servlet framework, and we can all develop various application 
frameworks over that. Struts, Maverick, JPublish, and the others all 
have their own strengths and weaknesses. Though, tight now, all the 
frameworks are still short of the mark, and we all have much to learn

from each other. The best is yet to come.

-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]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Re: JAXB vs Digester

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Dhulipala, Kris (SCI TW) wrote:

> Date: Fri, 4 Apr 2003 10:51:50 -0500
> From: "Dhulipala, Kris (SCI TW)" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: JAXB vs Digester
>
> Hi,
>   From what I have seen of JAXB and Digester, both fecilitate xml-> java
> class/object conversion and vice-versa. So what is the difference? When to
> use what?

A couple of very incomplete thoughts:

* Digester is one way (XML->Java), JAXB is two way (XML->Java
  and Java->XML).

* Digester is nice for pulling just a few things out of an XML
  document, JAXB typically wants you to process the whole thing.

* Digester rules can be calculated and constructed on the fly
  as you configure the Digester, and include some interesting matching
  rules that mean you don't always need to understand the entire
  document structure.  JAXB is more like DOM, giving you a tree
  structure to process.

* Digester lets you deal with dynamic sets of attributes gracefully
  (i.e. the SetPropertiesRule, for example); JAXB wants you to know
  them ahead of time.

As with most things, it's kind of hard to say that one approach is always
going to be better or worse; thinking through both approaches for each use
case is probably the best approach -- in particular, I'd implement a
couple of simple use cases both ways to see which one appeals to you more.

> Thanks,
> Kris

Craig

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



Re: [OT] Documenting projects

2003-04-04 Thread Jason Lea
Jose Gonzalez Gomez wrote:
   Sorry, I wasn't explicit... I was thinking about other kind of 
documentation, like requirements capture with use cases, analysis and 
design with UML, etc
We used DocBook with some extensions for creating Use Cases.  So that we 
could create PDFs, HTML etc and some XSTL to pull out reports such as 
showing which Uses Cases an Actor appears in.

Other documents were created in Open Office.

UML Design we used Poseidon for UML 
(http://www.gentleware.com/products/poseidonCE.php3)

The Community edition is free!  It is based on ArgoUML 
(http://argouml.tigris.org/).  We tried Argo at first but there were a 
few bugs which caused objects to disappear when saving/loading. 
Poseidon had fixed those problems and added some improvements.

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


RE: Is Sun promoting Struts??

2003-04-04 Thread Shannon Wheatley
I think that Struts helps only those that can not help themselves.  It is a
good start but nothing more.
Designing your solution and implementing patterns has been a standard for
software developers for years.  To
assume that Struts or any framework should be distributed with the J2EE
because a few developers whom are
just starting to realize the value of "MVC" architecture or patterns as a
whole is scary.  You can still misuse
Struts and at the same time not gain anything by using it if you do not pay
attention to your seperation of presentation,
from business logic, and its associated data object.

So, explain to my why it should be packaged with J2EE 1.4?


-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Is Sun promoting Struts??


I think a JCP for MVC,
or even including Struts 1.1 in J2EE 1.4 JARs is a good idea.

It's a proven best practice and most popular frame work. It does not
help Struts, it help those who are not using Struts yet.

.V

Mete Kural wrote:
>>Though, tight now, all the frameworks are still short of the mark,
>>and we all have much to learn from each other. The best is yet to
>>come.
>
>
> With all that we have learned about web frameworks while developing and
using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, WebWork,
and all the others, do you think that soon we will have known enough to be
able to have a framework standardized by the JCP? Or do you think that we
have to wait and see for a couple of years which direction new
specifications like JavaServer Faces and Portlet Specification take us
before an attempt to standardize web frameworks through the JCP is made?
>
> -Mete
>
> -- Original Message --
> From: Ted Husted <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date:  Fri, 04 Apr 2003 07:56:30 -0500
>
>
>>One of the best things about the Java platform is that it's still a
>>marketplace of ideas. Sun has provided us with a very useful and
>>reliable servlet framework, and we can all develop various application
>>frameworks over that. Struts, Maverick, JPublish, and the others all
>>have their own strengths and weaknesses. Though, tight now, all the
>>frameworks are still short of the mark, and we all have much to learn
>
>>from each other. The best is yet to come.
>
>>-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]


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



Re: MVC - not!

2003-04-04 Thread Micael
I know, David, and I admire your work.  But, look at the design 
pattern.  Ted Husted is right, I think, that it is not what we normally 
talk about.

At 03:16 PM 4/4/03 -0700, David Graham wrote:
I don't see an "E" (for events) in "MVC".

David



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: MVC - not!
Date: Fri, 04 Apr 2003 14:09:24 -0800
Wouldn't it be better if we stopped talking about MVC patterns when they 
really are not MVC patterns?  The patterns usually called "MVC" are not 
because they have no event structure.  We use, as a rule, a pattern that 
really is just based on minimal coupling, i.e., coupling only to 
contiguous operations.  Isn't that right?  The Model 2 maybe should be 
called the CD pattern, for "Contiguous Dependencies"?

LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent 
as indicated above. If you are not the intended recipient, any 
disclosure, copying, distribution, or action taken in reliance on the 
contents of the information contained in this transmission is strictly 
prohibited.  If you have received this transmission in error, please 
delete the message.  Thank you



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


_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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


RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Greg Dunn
Maybe, but when you start throwing NullPointerExceptions you'll catch hell
out of nowhere, and you'll have to dig way down for the root cause of her
anger.

Greg



-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:50 PM
To: Struts Users Mailing List
Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start




On Fri, 4 Apr 2003, Chappell, Simon P wrote:

> Date: Fri, 4 Apr 2003 11:21:13 -0600
> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
> Don't forget their ability to queue tasks as well. They can load a FIFO
> queue with honeydew's faster than we can unload them! :-)
>

If I don't use instance variables (i.e. I never write down any honeydew
items on paper), will I become thread safe?  :-)

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]



RE: Password rules with the Validator?

2003-04-04 Thread Michael Marrotte
I've done it before by extending the validator.

validation.xml



  

  



validator-rules.xml



public class ExtendedStrutsValidator extends StrutsValidator {

  public static boolean validatePassword(Object bean,
  ValidatorAction va, Field field,
  ActionErrors errors,
  HttpServletRequest request) {
String value = ValidatorUtil.getValueAsString(bean,
field.getProperty());

if (!GenericValidator.isBlankOrNull(value)) {
  try {
if (!isValidPassword(value)) {
  errors.add(field.getKey(),
  StrutsValidatorUtil.getActionError(request, va, field));

  return false;
}
  } catch (Exception e) {
errors.add(field.getKey(),
StrutsValidatorUtil.getActionError(request, va, field));
return false;
  }
}
return true;
  }

  private static boolean isValidPassword(String password) {
boolean isValid = true;

isValid = /* Passwords must be made up of at least three (3) of the four
(4) following
classes of characters: Lowercase letters, Uppercase letters, Numbers,
Special
Characters.*/
return isValid;
  }
}

--Michael Marrotte

-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 5:57 PM
To: '[EMAIL PROTECTED]'
Subject: Password rules with the Validator?


Does anyone know of any open source packages or techniques for implementing
password rules. For instance, I need to implement the following rules for
password in my application:

Passwords must be made up of at least three (3) of the four (4) following
classes of characters: Lowercase letters, Uppercase letters, Numbers,
Special
Characters.

I can probably whip up some JavaScript for this, but I'd need server-side
code to catch if JavaScript is disabled. I'm guessing this is not possible
with regular expressions in the Validator.

Thanks,

Matt



-
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: [validator] requiredif based on a value

2003-04-04 Thread Raible, Matt

> So, you're saying that effectiveDate is requiredif state == 940?
> 

Yep.

> Try adding [0] to the end of the field* vars.
> 

That worked - thanks!  I've hacked together some client-side javascript for
this since there's not one in the validator natively - I'll try to work a
method up for equals.

Matt

> David
> 
> >Is it possible to require a field based on the value of 
> another field?  I
> >tried the following, but no dice:
> >
> >>  depends="requiredif">
> >
> >   
> >   
> > field
> > state
> >   
> >   
> > fieldTest
> > EQUAL
> >   
> >   
> > fieldValue
> > 940
> >   
> >   
> >
> >Thanks,
> >
> >Matt
> >
> >
> >-
> >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]



Is Struts good enough to be standard?

2003-04-04 Thread Igor Shabalov
	I think Struts need to be improved before put it into standard. Personally 
I do not like Struts controller portion – too primitive for me.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 04 Apr 2003 18:06:01 -0500, Vic Cekvenich <[EMAIL PROTECTED]> wrote:

I think a JCP for MVC,
or even including Struts 1.1 in J2EE 1.4 JARs is a good idea.
It's a proven best practice and most popular frame work. It does not help 
Struts, it help those who are not using Struts yet.

.V

Mete Kural wrote:
Though, tight now, all the frameworks are still short of the mark, and 
we all have much to learn from each other. The best is yet to come.


With all that we have learned about web frameworks while developing and 
using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, 
WebWork, and all the others, do you think that soon we will have known 
enough to be able to have a framework standardized by the JCP? Or do you 
think that we have to wait and see for a couple of years which direction 
new specifications like JavaServer Faces and Portlet Specification take 
us before an attempt to standardize web frameworks through the JCP is 
made?

-Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 07:56:30 -0500

One of the best things about the Java platform is that it's still a 
marketplace of ideas. Sun has provided us with a very useful and 
reliable servlet framework, and we can all develop various application 
frameworks over that. Struts, Maverick, JPublish, and the others all 
have their own strengths and weaknesses. Though, tight now, all the 
frameworks are still short of the mark, and we all have much to learn

from each other. The best is yet to come.

-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]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Duplicate Requests

2003-04-04 Thread Igor Shabalov


	If you have image in form and do submit using JavaScript from “onClick” – 
you will get two submits, one from JavaScript and another one from form.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 4 Apr 2003 12:51:40 -0800 (PST), Aidan Monroe 
<[EMAIL PROTECTED]> wrote:

For some reason I am getting duplicate requests
whenever I click a certain  button
on one of my web pages. Can someone help me figure out
why? This only happens when I click this one image
button. It does not happen when I click  or hyperlinks that sumbit forms (via
javascript). I've been looking into this for about a
week now and have no clue why it would be happening.
Thanks.

Here is the relevant part of my log file that shows
that RequestProcessor is sending 2 requests to my
Action:
DEBUG (RequestUtils.java:1642) - Get module name for
path /Navigate.do
DEBUG (RequestUtils.java:1664) - Module name found:
default
INFO (RequestProcessor.java:225) - Processing a
'POST' for path '/Navigate'
DEBUG (RequestUtils.java:675) -  Looking for
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestUtils.java:1642) - Get module name for
path /Navigate.do
DEBUG (RequestUtils.java:1664) - Module name found:
default
INFO (RequestProcessor.java:225) - Processing a
'POST' for path '/Navigate'
DEBUG (RequestUtils.java:675) -  Looking for
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestUtils.java:751) -  Creating new
ActionForm instance of type
'com.avexus.impresa.client.form.NavigateForm'
DEBUG (RequestUtils.java:756) -  -->
[EMAIL PROTECTED]
DEBUG (RequestProcessor.java:367) -  Storing
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestProcessor.java:790) -  Populating bean
properties from this request
DEBUG (RequestUtils.java:751) -  Creating new
ActionForm instance of type
'com.avexus.impresa.client.form.NavigateForm'
DEBUG (RequestUtils.java:756) -  -->
[EMAIL PROTECTED]
DEBUG (RequestProcessor.java:367) -  Storing
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestProcessor.java:790) -  Populating bean
properties from this request
DEBUG (RequestProcessor.java:305) -  Looking for
Action instance for class
com.avexus.impresa.client.action.NavigateAction
DEBUG (RequestProcessor.java:321) -   Creating new
Action instance
DEBUG (RequestProcessor.java:305) -  Looking for
Action instance for class
com.avexus.impresa.client.action.NavigateAction
__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to do authentication in different way for different action classes

2003-04-04 Thread Max Cooper
Well, since it won't be protected under any of the other url-patterns, you
could simply remove this security-constraint:

>
>   
>  Public Resources
>  /pim/welcome.do
>   
>

What server are you using? I am pretty sure we used a security-constraint
with no roles associated with it to allow public access (no authentication
required) on one of the projects I worked on with WebLogic 5.10 at one
point. The spec is not crystal clear about how that should work, so it is
possible that different servers have implemented it differently. I am not
sure about this, but I wonder if some servers assume that even
unathenticated users are in some 'everybody' or 'guest' group. If that is
the case (and I am not sure if it is), you might be able to require that
role for the items you want to be public.

Some/all servers require that you list out the roles that are relevant for
your application in the web.xml with sections like this:

   
  arole
  arole
   

Then when you specify *, I think it will try all the
roles listed in web.xml to see if the user has any of them. Your users will
need to have one of the roles to be able to access the protected resources.

But the removing the security-constraint above should take care of your
current issue.

Hope that helps,
-Max

- Original Message -
From: "Rajendra Kadam" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:08 AM
Subject: RE: How to do authentication in different way for different action
classes


> Hi Max,
>
> Thanks for a explaining this in great detail.
>
> Still I'm not able to solve my issue.
>
> Here is problem with more description :
>
> My current web.xml looks like :
>
>   
>   
> CCO
> /login.do
> /pim/requestAdmin.do
> DELETE
> POST
> GET
> PUT
>   
>
>   
>   *
>   
>
>
>
>
>   
>  Public Resources
>  /pim/welcome.do
>   
>
>
>
>   BASIC
>   CCO
>
>
> But now authentication dialog pops up for welcome.do also. Do I missing
> something here ?
>
> Also one thing I want to mention here, we don't much care about
> role-name. Will that be a problem ?
>
> Thanks again,
> raju
>
> -Original Message-
> From: Max Cooper [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 3:11 AM
> To: Struts Users Mailing List
> Subject: Re: How to do authentication in different way for different
> action classes
>
>
> That should work fine. /Content/*.do will still be considered an exact
> pattern, and will be matched before the *.do extension pattern (no
> matter what order they appear in the web.xml file). Only stuff that
> doesn't match /Content/*.do but does match *.do will be secured in the
> example. You could use the default mapping / to secure everything by
> default, and then explicitly make /Content/*.do and perhaps /images/*,
> /styles/*, etc. publicly available by adding url-patterns for them in
> the unsecured web-resource-collection. You can put more than one
> url-mapping element in a web-resource-collection, so it would be easy to
> do.
>
> The Servlet Spec Version 2.3, sections SRV.12 and SRV.11.1 define the
> matching behavior. They are pretty short and definitely worth a read for
> anyone doing security stuff. I wrote some security constraints before I
> read it, and I think I would have benefitted greatly from the short read
> had I done it first.
>
> Here are the most important parts (WITH MY OWN NOTES ADDED IN ALL CAPS;
> SORRY FOR SHOUTING :-0):
>
> Matching behavior for requests (from the servlet section, but the same
> rules are applied for checking url-patterns for security): 1. The
> container will try to find an exact match of the path of the request to
> the path of the servlet. A successful match selects the servlet. EXACT
> PATTERNS WILL BE TRIED FIRST
>
> 2. The container will recursively try to match the longest path-prefix:
> This is done by stepping down the path tree a directory at a time, using
> the '/' character as a path separator. The longest match determines the
> servlet selected. NOTE: 'longest' means the most path elements here --
> '/a/b/c/d/*' is longer than '/onereallylongdirectoryname/*' THEN THE
> PATH PATTERNS WILL BE TRIED, STARTING WITH THE LONGEST ONES
>
> 3. If the last segment in the URL path contains an extension (e.g.
> .jsp), the servlet container will try to match a servlet that handles
> requests for the extension. An extension is defined as the part of the
> last segment after the last '.' character. THEN THE EXTENSION PATTERNS
> WILL BE TRIED
>
> 4. If neither of the previous three rules result in a servlet match, the
> container will attempt to serve content appropriate for the resource
> requested. If a "default" servlet is defined for the application, it
> will be used. AND FINALLY THE DEFAULT PATTERN WILL BE USED IF IT HAS
> BEEN SPECIFIED
>
> OT

Re: MVC - not!

2003-04-04 Thread Igor Shabalov
	You 100% right, Micael. View should communicate with controller thru 
Events. In our case (Struts) Request/Response objects is such Events.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm


On Fri, 04 Apr 2003 14:09:24 -0800, Micael <[EMAIL PROTECTED]> wrote:

Wouldn't it be better if we stopped talking about MVC patterns when they 
really are not MVC patterns?  The patterns usually called "MVC" are not 
because they have no event structure.  We use, as a rule, a pattern that 
really is just based on minimal coupling, i.e., coupling only to 
contiguous operations.  Isn't that right?  The Model 2 maybe should be 
called the CD pattern, for "Contiguous Dependencies"?

LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent 
as indicated above. If you are not the intended recipient, any 
disclosure, copying, distribution, or action taken in reliance on the 
contents of the information contained in this transmission is strictly 
prohibited.  If you have received this transmission in error, please 
delete the message.  Thank you



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



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Password rules with the Validator?

2003-04-04 Thread Raible, Matt
I agree with the security risk, but since passwords will only be able to be
set by Administrators (after they've logged in) security is not much of a
concern. Also, we'll have to display what the password rules are in order
for a person (admin) to comply with them.

I didn't realize it (been heads down all day), but it looks like I've gotten
some suggestions from posting this same question on my website
(http://tinyurl.com/8urg).

Matt


> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 4:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Password rules with the Validator?
> 
> 
> Validating passwords in javascript is a *very* bad idea.  A 
> hacker then has 
> access to all your password rules and makes it easier to 
> start guessing 
> passwords.  This is the reason validator doesn't provide a password 
> validation.
> 
> David
> 
> 
> 
> >From: "Raible, Matt" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "'[EMAIL PROTECTED]'" 
> <[EMAIL PROTECTED]>
> >Subject: Password rules with the Validator?
> >Date: Fri, 4 Apr 2003 15:56:57 -0700
> >
> >Does anyone know of any open source packages or techniques 
> for implementing
> >password rules. For instance, I need to implement the 
> following rules for
> >password in my application:
> >
> >Passwords must be made up of at least three (3) of the four 
> (4) following
> >classes of characters: Lowercase letters, Uppercase letters, Numbers,
> >Special
> >Characters.
> >
> >I can probably whip up some JavaScript for this, but I'd 
> need server-side
> >code to catch if JavaScript is disabled. I'm guessing this 
> is not possible
> >with regular expressions in the Validator.
> >
> >Thanks,
> >
> >Matt
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> _
> The new MSN 8: advanced junk mail protection and 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]



Re: Is Sun promoting Struts??

2003-04-04 Thread Vic Cekvenich
I think a JCP for MVC,
or even including Struts 1.1 in J2EE 1.4 JARs is a good idea.
It's a proven best practice and most popular frame work. It does not 
help Struts, it help those who are not using Struts yet.

.V

Mete Kural wrote:
Though, tight now, all the frameworks are still short of the mark, 
and we all have much to learn from each other. The best is yet to 
come.


With all that we have learned about web frameworks while developing and using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, WebWork, and all the others, do you think that soon we will have known enough to be able to have a framework standardized by the JCP? Or do you think that we have to wait and see for a couple of years which direction new specifications like JavaServer Faces and Portlet Specification take us before an attempt to standardize web frameworks through the JCP is made?

-Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 07:56:30 -0500

One of the best things about the Java platform is that it's still a 
marketplace of ideas. Sun has provided us with a very useful and 
reliable servlet framework, and we can all develop various application 
frameworks over that. Struts, Maverick, JPublish, and the others all 
have their own strengths and weaknesses. Though, tight now, all the 
frameworks are still short of the mark, and we all have much to learn 

from each other. The best is yet to come.

-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: struts vs. JSP/Servlets

2003-04-04 Thread Igor Shabalov
	Sometimes using Struts can dramatically decrease productivity. It look to 
like – “let’s learn to fly, and then fly somewhere very fast”, sometimes it 
is faster “to run”.
	But, of cause, if somebody decides to build Model 2 from scratch – better 
to think once more.
	It is better to use some high-level tools with exiting framework. It can 
help bypass initial learning curve…

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri, 4 Apr 2003 16:50:53 -0500, <[EMAIL PROTECTED]> wrote:

Struts helps build web application that uses JSP/Servlet
it speed up development
-Original Message-
From: Chin, Ed [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: struts vs. JSP/Servlets
I want to use JSP and Servlets. Nothing else. What exactly does struts do 
for me that I can't do with Tomcat alone?

I often hear struts/JSP. I also hear that struts allows us to build
applications in model 2 MVC form. But I also hear that about JSP and
Servlets. So then I started to think that struts is the framework that
allows us to use JSP/Servlet technology. But that must be wrong because I
installed Tomcat and it's running JSP/Servlets fine without installing
struts. So my question is still the one posed above. What does struts do 
for
me that I can't do with Tomcat alone (in the world of JSP/Servlets)?

- Edward



-
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]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Password rules with the Validator?

2003-04-04 Thread David Graham
Validating passwords in javascript is a *very* bad idea.  A hacker then has 
access to all your password rules and makes it easier to start guessing 
passwords.  This is the reason validator doesn't provide a password 
validation.

David



From: "Raible, Matt" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Password rules with the Validator?
Date: Fri, 4 Apr 2003 15:56:57 -0700
Does anyone know of any open source packages or techniques for implementing
password rules. For instance, I need to implement the following rules for
password in my application:
Passwords must be made up of at least three (3) of the four (4) following
classes of characters: Lowercase letters, Uppercase letters, Numbers,
Special
Characters.
I can probably whip up some JavaScript for this, but I'd need server-side
code to catch if JavaScript is disabled. I'm guessing this is not possible
with regular expressions in the Validator.
Thanks,

Matt



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


_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Password rules with the Validator?

2003-04-04 Thread Raible, Matt
Does anyone know of any open source packages or techniques for implementing
password rules. For instance, I need to implement the following rules for
password in my application:

Passwords must be made up of at least three (3) of the four (4) following 
classes of characters: Lowercase letters, Uppercase letters, Numbers,
Special 
Characters.

I can probably whip up some JavaScript for this, but I'd need server-side
code to catch if JavaScript is disabled. I'm guessing this is not possible
with regular expressions in the Validator.

Thanks,

Matt



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



Re: [validator] requiredif based on a value

2003-04-04 Thread David Graham
So, you're saying that effectiveDate is requiredif state == 940?

Try adding [0] to the end of the field* vars.

David

Is it possible to require a field based on the value of another field?  I
tried the following, but no dice:
  
  
  
field
state
  
  
fieldTest
EQUAL
  
  
fieldValue
940
  
  
Thanks,

Matt

-
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]


Re: Is Sun promoting Struts??

2003-04-04 Thread Igor Shabalov
	
	I prefer two separate standard frameworks – one for View (tag libraries 
etc.)  and another for Controller.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Fri,  4 Apr 2003 09:21:24 +0100, Mete Kural 
<[EMAIL PROTECTED]> wrote:

Though, tight now, all the frameworks are still short of the mark, and 
we all have much to learn from each other. The best is yet to come.
With all that we have learned about web frameworks while developing and 
using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, 
WebWork, and all the others, do you think that soon we will have known 
enough to be able to have a framework standardized by the JCP? Or do you 
think that we have to wait and see for a couple of years which direction 
new specifications like JavaServer Faces and Portlet Specification take 
us before an attempt to standardize web frameworks through the JCP is 
made?

-Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 07:56:30 -0500
One of the best things about the Java platform is that it's still a 
marketplace of ideas. Sun has provided us with a very useful and 
reliable servlet framework, and we can all develop various application 
frameworks over that. Struts, Maverick, JPublish, and the others all 
have their own strengths and weaknesses. Though, tight now, all the 
frameworks are still short of the mark, and we all have much to learn 
from each other. The best is yet to come.

-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]



--
Igor Shabalov
Director of Engineering
Exadel Inc.
http://www.exadel.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[validator] requiredif based on a value

2003-04-04 Thread Raible, Matt
Is it possible to require a field based on the value of another field?  I
tried the following, but no dice:

  

  
  
field
state
  
  
fieldTest
EQUAL
  
  
fieldValue
940
  
  

Thanks,

Matt


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



Re: Is Sun promoting Struts??

2003-04-04 Thread Igor Shabalov
	Good idea.
	I like idea of “assembling” web application from compatible “components”. 
I’ll be glad to participate in such project. This can really helps to 
increase productivity of developers, I can tell you from my 3-years 
experience with Exadel MVC framework.

Igor Shabalov.
http://www.exadel.com
http://www.exadel.com/products_strutsstudio.htm
On Thu,  3 Apr 2003 18:17:53 +0100, Mete Kural 
<[EMAIL PROTECTED]> wrote:

This is exactly what happens as the JCP standardizes things, like with 
JSTL and JSF. But diversity is good to bring out the qualities of 
competing implementations until there is a clear winner. So perhaps we 
will see more functionality of the frameworks standardized in the 
future. But I am not knowledgeable enough to say what is ready to be 
standardized and what is not. Craig is probably best to speak to this.
After doing a little bit of brainstorming of how in the world web 
frameworks could be standardized, I came up with this idea. What do Craig 
and other think of think of this:

JCP could propose a JSR to standardize the API contracts between 
Controller<->View and Controller<->Model to provide a common base for 
MVC-based Java web application frameworks. Then the already existing 
frameworks such as Struts, SunONE, Expresso, WebWork, etc. could 
implement these API contracts in order to enable developers to write 
"application modules" that are portable accross MVC-based web application 
frameworks. For instance, someone could write a shopping cart application 
module or an RSS application module and everybody else could integrate it 
into their webapps based on other frameworks with little or no 
modification.

Does this make sense to you or is this a futile imagination of mine?

Peace,
Mete
-- Original Message --
From: "Derek Richardson" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Thu, 3 Apr 2003 19:50:16 -0500
This is exactly what happens as the JCP standardizes things, like with 
JSTL and JSF. But diversity is good to bring out the qualities of 
competing implementations until there is a clear winner. So perhaps we 
will see more functionality of the frameworks standardized in the 
future. But I am not knowledgeable enough to say what is ready to be 
standardized and what is not. Craig is probably best to speak to this.

Derek Richardson

-Original Message-
From: Mete Kural [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 10:29 AM
To: Struts Users Mailing List
Subject: Re: Is Sun promoting Struts??
> SunONE Application Framework is a fine tool -- indeed, it aspires to
> provide additional functionality beyond what Struts supports 
>(especially in the area of interfaces to model objects, and complex > 
UI components), which make it quite suitable for building complex
> web-based applications.

I think that it may be the best for everybody if there was a common 
"base" web application framework that any company or project could 
build upon to develop their own extensions. Just like it is for IDE 
platforms like NetBeans "Platform" and Eclipse "Platform", there could 
be a base platform that everybody would rely on, and build on top of to 
develop their own commercial products (SunONE Studio, WSAD, etc.) or 
open source projects (NetBeans "IDE", Eclipse "IDE", etc.) Do you think 
that such a scheme would work for application frameworks just like it 
does for IDEs?

Using this paradigm, it is possible to imagine a base framework 
somthing like Struts Platform or whatever it may be while everybody 
would have their extended frameworks based upon. Sun could have its own 
extended framework and IBM could have its own extended framework, and 
so on.

I wonder what everybody's opinion on this matter is.

-Mete

-- Original Message --
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Thu, 3 Apr 2003 12:19:23 -0800 (PST)
>
>
>On Thu, 3 Apr 2003, David Graham wrote:
>
>> Date: Thu, 03 Apr 2003 12:06:12 -0700
>> From: David Graham <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> Subject: Re: Is Sun promoting Struts??
>>
>> java.sun.com promotes useful Java tools but that doesn't mean it's 
the
>> official Sun position.  Craig works for Sun though so there is a 
connection.
>>
>
>It is also true that Struts lives up to the "Best Practices" design
>patterns that are also linked from the same page (as do many other
>technologies and products that java.sun.com will link to from time to
>time).
>
>SunONE Application Framework is a fine tool -- indeed, it aspires to
>provide additional functionality beyond what Struts supports 
(especially
>in the area of interfaces to model objects, and complex UI components) 
,
>which make it quite suitable for building complex web-based 
applications.
>
>That being said, lots o

Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Paul Gier
I think the point of the previous message is that Oracle 9i has only 
existed ~1 year.  Making the requirement of 2-5 years impossible.  A lot 
of job postings that I see will probably draw the best BSers and not the 
best developers.  I don't see a plus side to posting job requirements that 
are impossible to have.  All it does is cause more people to lie on their 
resumes to get past the HR departments.






Micael <[EMAIL PROTECTED]>
04/04/2003 04:57 PM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>, Struts Users 
Mailing List <[EMAIL PROTECTED]>
cc: 
Subject:Re: 12 month contract - Toronto - immediate start


No, so I did not waste my time trying to fit into the wrong shaped 
hole.  That is what I meant.  I don't mean you guys and gals are being 
silly, but you might see that there is a plus to what they are asking.

At 02:31 PM 4/4/03 -0500, Daniel Jaffa wrote:
>So you have been working with Oracle 9i for 5 years.
>- Original Message -
>From: "Micael" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; 
"'Struts
>Users Mailing List'" <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Friday, April 04, 2003 12:41 PM
>Subject: RE: 12 month contract - Toronto - immediate start
>
>
>Why would anyone be offended because they have special requirements. What
>they need, clearly, is a very well trained and affable Java enterprise
>coder.  They are being clear that you should not waste your time if you 
are
>not qualified.  I like that.  I am sort of peripherally qualified for 
this
>position and have appreciated the candor.
>
>Micael
>
>At 10:13 AM 4/4/03 -0500, apachep2 wrote:
> >One thing offends me the most is
> >
> >Excellent communication skills, both oral and written (10/10 essential)
> >
> >Looks like they are looking for Winston Churchill.
> >
> >-Original Message-
> >From: Scott Barr [mailto:[EMAIL PROTECTED]
> >Sent: April 3, 2003 11:16 PM
> >To: Struts Users Mailing List
> >Subject: Re: 12 month contract - Toronto - immediate start
> >
> >
> >Thats because being males, we can only do one thing at a time!!
> >
> >Scott
> >www.exergonic.com.au
> >
> >
> >On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > > I'll be 46 years old before I qualify for that job :) .
> > >
> > > Andrew Hill wrote:
> > >
> > > >I see no struts here.
> > > >
> > > >And their minimum required experience adds up to 21 years...
> > > >
> > > >
> > > >-Original Message-
> > > >From: V. Cekvenich [mailto:[EMAIL PROTECTED]
> > > >Sent: Friday, 4 April 2003 10:19
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Re: 12 month contract - Toronto - immediate start
> > > >
> > > >
> > > >Does this have anything to do with Struts?
> > > >.V
> > > >
> > > >
> > > >Jack Nodel wrote:
> > > >
> > > >
> > > >>Hi All,
> > > >>
> > > >>My name is Jack Nodel, I work with ARES consulting. Recently one 
of
> >my
> > > >>clients has asked me to locate contractors for a Toronto based 12
> >month
> > > >>contract.
> > > >>
> > > >>The following is the list of required technical skills. Excellent
> > > >>communication is an absolute must.
> > > >>
> > > >>
> > > >>We are searching for a subject matter expert with extensive
> >knowledge of
> > > >>
> > > >>
> > > >BEA
> > > >
> > > >
> > > >>WLI to assist and provide guidance. To qualify, the candidate must
> >have:
> > > >>£ 5+ years experience in the information technology industry
> > > >>£ 3 years of development experience on J2EE platform
> > > >>£ Hands on experience with E-Commerce design and application 
design
> > > >>£ Expert technical knowledge of the BEA workflow product
> > > >>£ Good technical architecture
> > > >>£ Good Java programming skills
> > > >>£ Experience with BEA Weblogic and Commerce Server exposure (nice 
to
> >have)
> > > >>£ Excellent communication skills, both oral and written (10/10
> >essential)
> > > >>
> > > >>MUST HAVE SKILLS:
> > > >>. J2EE development experience (Min. Experience 2-5yrs)
> > > >>. Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
> > > >>. Oracle 9i (Min. Experience of 2-5 yrs)
> > > >>. WLI (Min. Experience of 1-2 yrs)
> > > >>. SQL (Min. Experience of 2-5 yrs)
> > > >>. XMLSpy (Min. Experience of 2-5 yrs)
> > > >>. CVS (Min. Experience of 1-2 yrs)
> > > >>. Java IDE: Eclipse (Min. Experience of 1-2 yrs)
> > > >>
> > > >>If you are interested PLEASE FORWARD RESUMES TO
> > > >>[EMAIL PROTECTED]
> > > >>
> > > >>I can also be reached at 416.480.2700 ext224.
> > > >>
> > > >>Thanks,
> > > >>
> > > >>Jack
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > 
>-
> > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >For additional commands, e-mail: 
[EMAIL PROTECTED]
> > > >
> > > >
> > > 
>-
> > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >For additional commands, e-mail: 

Re: MVC - not!

2003-04-04 Thread David Graham
I don't see an "E" (for events) in "MVC".

David



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: MVC - not!
Date: Fri, 04 Apr 2003 14:09:24 -0800
Wouldn't it be better if we stopped talking about MVC patterns when they 
really are not MVC patterns?  The patterns usually called "MVC" are not 
because they have no event structure.  We use, as a rule, a pattern that 
really is just based on minimal coupling, i.e., coupling only to contiguous 
operations.  Isn't that right?  The Model 2 maybe should be called the CD 
pattern, for "Contiguous Dependencies"?

LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you



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


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


RE: FormBean - what is good for?

2003-04-04 Thread Harish Krishnaswamy
Well, the point I was getting at was, in a dynamic
form you would n't know what the form fields are going
to be and so you can't use the form bean anyway. And
like Craig mentioned in another thread, you will have
to manipulate your parameterMap/parameterValues from
the request yourself. Instead, if the framework was
working with the parameterValues to begin with you
wouldn't have this problem, right?

-Harish


--- Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 4:48 PM -0500 2003/04/04, Robert Taylor wrote:
> >The FormBean provides extensibility (not found in
> >the HttpServletRequest) as a wrapper.
> 
> The FormBean also provides a clean model for passing
> value back *and 
> forth* between the browser and the servlet.  How
> would you use the 
> HTML tag library's re-filling the form mechanism
> without it?  Perhaps 
> by populating a whole bunch of request attributes --
> but then you 
> lose the flexibility of using other values to
> pre-fill form fields, 
> if you should want that.
> 
> What if you have complex validation rules that can't
> be expressed 
> readily in the Validator?   You'd have to put those
> rules someplace 
> -- you could put them in the action, but what if you
> use the same 
> form for a few different actions?  (Also note that
> the FormBean 
> predates the validator infrastructure, so there was
> a time when there 
> was no "validation framework," except insofar as you
> could set 
> "validate='true'" on your Action Mapping and count
> on Struts 
> validating your form and returning the user to the
> input page before 
> your perform(...) method (as it was known at the
> time) was called...
> 
> A Form Bean is a handy place to put
> request-parameter-to-model-object 
> creation responsibilities, if you have to make
> complicated objects 
> based on the form input.
> 
> With the DynaValidatorFormBean, it's nice not to
> have to write Form 
> Beans... but it's nice to be able to when you need
> to...
> 
> Joe
> 
> 
> >robert
> >>  -Original Message-
> >>  From: Harish Krishnaswamy
> [mailto:[EMAIL PROTECTED]
> >>  Sent: Friday, April 04, 2003 4:24 PM
> >>  To: [EMAIL PROTECTED]
> >>  Subject: FormBean - what is good for?
> >>
> >>
> >>  I have a fundamental question, may be I am just
> being
> >>  a novice here. Anyway the question is, if a
> FormBean
> >>  is primarily used to carry data from the html
> form to
> >>  the action, can we just not use the request
> object or
> >>  a wrapper to it and have the validation
> framework work
> >>  with that? I remember having read something
> along the
> >>  same lines put forth by Ted Husted. Can anyone
> share
> >>  the design motive behind the FormBean?
> >>
> >>  Thanks
> >>  Harish
> >>
> >> 
> __
> >>  Do you Yahoo!?
> >>  Yahoo! Tax Center - File online, calculators,
> forms, and more
> >>  http://tax.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]
> 
> 
> -- 
> --
> Joe Germuska
> [EMAIL PROTECTED]  
> http://blog.germuska.com
> "If nature worked that way, the universe would crash
> all the time." 
>   --Jaron Lanier
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

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



MVC - not!

2003-04-04 Thread Micael
Wouldn't it be better if we stopped talking about MVC patterns when they 
really are not MVC patterns?  The patterns usually called "MVC" are not 
because they have no event structure.  We use, as a rule, a pattern that 
really is just based on minimal coupling, i.e., coupling only to contiguous 
operations.  Isn't that right?  The Model 2 maybe should be called the CD 
pattern, for "Contiguous Dependencies"?

LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank you 



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


RE: FormBean - what is good for?

2003-04-04 Thread Joe Germuska
At 4:48 PM -0500 2003/04/04, Robert Taylor wrote:
The FormBean provides extensibility (not found in
the HttpServletRequest) as a wrapper.
The FormBean also provides a clean model for passing value back *and 
forth* between the browser and the servlet.  How would you use the 
HTML tag library's re-filling the form mechanism without it?  Perhaps 
by populating a whole bunch of request attributes -- but then you 
lose the flexibility of using other values to pre-fill form fields, 
if you should want that.

What if you have complex validation rules that can't be expressed 
readily in the Validator?   You'd have to put those rules someplace 
-- you could put them in the action, but what if you use the same 
form for a few different actions?  (Also note that the FormBean 
predates the validator infrastructure, so there was a time when there 
was no "validation framework," except insofar as you could set 
"validate='true'" on your Action Mapping and count on Struts 
validating your form and returning the user to the input page before 
your perform(...) method (as it was known at the time) was called...

A Form Bean is a handy place to put request-parameter-to-model-object 
creation responsibilities, if you have to make complicated objects 
based on the form input.

With the DynaValidatorFormBean, it's nice not to have to write Form 
Beans... but it's nice to be able to when you need to...

Joe


robert
 -Original Message-
 From: Harish Krishnaswamy [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 04, 2003 4:24 PM
 To: [EMAIL PROTECTED]
 Subject: FormBean - what is good for?
 I have a fundamental question, may be I am just being
 a novice here. Anyway the question is, if a FormBean
 is primarily used to carry data from the html form to
 the action, can we just not use the request object or
 a wrapper to it and have the validation framework work
 with that? I remember having read something along the
 same lines put forth by Ted Husted. Can anyone share
 the design motive behind the FormBean?
 Thanks
 Harish
 __
 Do you Yahoo!?
 Yahoo! Tax Center - File online, calculators, forms, and more
 http://tax.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]


--
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
"If nature worked that way, the universe would crash all the time." 
	--Jaron Lanier

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


RE: 12 month contract - Toronto - immediate start

2003-04-04 Thread Micael
Well, actually, in 1965 I worked in Fortran in a white smock at James Ford 
Bell Research Center in Golden Valley, MN, for General Mills, Inc.  We 
brought that baby through (reels, and cards, and everything else) with a 
lot of stick-to-it-ive-ness.  Once, when we made a million dollar mistake 
by making an incremental search on something that could not be incremented, 
e.g. 1/3, we saved our butt by figuring out a new sort of algebra to solve 
the problem ourselves.  LOL.  My first job was driving a stagecoach for new 
service stations on the brand new Interstate highways, built by that 
President not much mentioned anymore, Dwight David Eisenhower.  There are 
people out there with a lot more qualifications than you might 
think.  Prior to SQL being invented, I was writing papers internationally 
on the First Order Predicate Calculus without Identity, which as you know, 
is the basis for SQL.  (All SQL is, you know, is multiple files instead of 
one.)  I think that clarity in what you want, especially when others are 
wasting their time, is a good thing. Peace.

At 02:32 PM 4/4/03 -0500, you wrote:
Ye, cool. Maybe you know how java developed from stone age (2 mln year B.C.)?
And your university diploma is 'web development in renaissance epoch'?
~nn
- Original Message -
From: "Micael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "'Struts
Users Mailing List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 12:41 PM
Subject: RE: 12 month contract - Toronto - immediate start
Why would anyone be offended because they have special requirements.  What
they need, clearly, is a very well trained and affable Java enterprise
coder.  They are being clear that you should not waste your time if you are
not qualified.  I like that.  I am sort of peripherally qualified for this
position and have appreciated the candor.
Micael

At 10:13 AM 4/4/03 -0500, apachep2 wrote:
>One thing offends me the most is
>
>Excellent communication skills, both oral and written (10/10 essential)
>
>Looks like they are looking for Winston Churchill.
>
>-Original Message-
>From: Scott Barr [mailto:[EMAIL PROTECTED]
>Sent: April 3, 2003 11:16 PM
>To: Struts Users Mailing List
>Subject: Re: 12 month contract - Toronto - immediate start
>
>
>Thats because being males, we can only do one thing at a time!!
>
>Scott
>www.exergonic.com.au
>
>
>On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > I'll be 46 years old before I qualify for that job :) .
> >
> > Andrew Hill wrote:
> >
> > >I see no struts here.
> > >
> > >And their minimum required experience adds up to 21 years...
> > >
> > >
> > >-Original Message-
> > >From: V. Cekvenich [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, 4 April 2003 10:19
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: 12 month contract - Toronto - immediate start
> > >
> > >
> > >Does this have anything to do with Struts?
> > >.V
> > >
> > >
> > >Jack Nodel wrote:
> > >
> > >
> > >>Hi All,
> > >>
> > >>My name is Jack Nodel, I work with ARES consulting. Recently one of
>my
> > >>clients has asked me to locate contractors for a Toronto based 12
>month
> > >>contract.
> > >>
> > >>The following is the list of required technical skills. Excellent
> > >>communication is an absolute must.
> > >>
> > >>
> > >>We are searching for a subject matter expert with extensive
>knowledge of
> > >>
> > >>
> > >BEA
> > >
> > >
> > >>WLI to assist and provide guidance. To qualify, the candidate must
>have:
> > >>£ 5+ years experience in the information technology industry
> > >>£ 3 years of development experience on J2EE platform
> > >>£ Hands on experience with E-Commerce design and application design
> > >>£ Expert technical knowledge of the BEA workflow product
> > >>£ Good technical architecture
> > >>£ Good Java programming skills
> > >>£ Experience with BEA Weblogic and Commerce Server exposure (nice to
>have)
> > >>£ Excellent communication skills, both oral and written (10/10
>essential)
> > >>
> > >>MUST HAVE SKILLS:
> > >>. J2EE development experience (Min. Experience 2-5yrs)
> > >>. Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
> > >>. Oracle 9i (Min. Experience of 2-5 yrs)
> > >>. WLI (Min. Experience of 1-2 yrs)
> > >>. SQL (Min. Experience of 2-5 yrs)
> > >>. XMLSpy (Min. Experience of 2-5 yrs)
> > >>. CVS (Min. Experience of 1-2 yrs)
> > >>. Java IDE: Eclipse (Min. Experience of 1-2 yrs)
> > >>
> > >>If you are interested PLEASE FORWARD RESUMES TO
> > >>[EMAIL PROTECTED]
> > >>
> > >>I can also be reached at 416.480.2700 ext224.
> > >>
> > >>Thanks,
> > >>
> > >>Jack
> > >>
> > >>
> > >
> > >
> > >
> > >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e

Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Micael
No, so I did not waste my time trying to fit into the wrong shaped 
hole.  That is what I meant.  I don't mean you guys and gals are being 
silly, but you might see that there is a plus to what they are asking.

At 02:31 PM 4/4/03 -0500, Daniel Jaffa wrote:
So you have been working with Oracle 9i for 5 years.
- Original Message -
From: "Micael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "'Struts
Users Mailing List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 12:41 PM
Subject: RE: 12 month contract - Toronto - immediate start
Why would anyone be offended because they have special requirements.  What
they need, clearly, is a very well trained and affable Java enterprise
coder.  They are being clear that you should not waste your time if you are
not qualified.  I like that.  I am sort of peripherally qualified for this
position and have appreciated the candor.
Micael

At 10:13 AM 4/4/03 -0500, apachep2 wrote:
>One thing offends me the most is
>
>Excellent communication skills, both oral and written (10/10 essential)
>
>Looks like they are looking for Winston Churchill.
>
>-Original Message-
>From: Scott Barr [mailto:[EMAIL PROTECTED]
>Sent: April 3, 2003 11:16 PM
>To: Struts Users Mailing List
>Subject: Re: 12 month contract - Toronto - immediate start
>
>
>Thats because being males, we can only do one thing at a time!!
>
>Scott
>www.exergonic.com.au
>
>
>On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > I'll be 46 years old before I qualify for that job :) .
> >
> > Andrew Hill wrote:
> >
> > >I see no struts here.
> > >
> > >And their minimum required experience adds up to 21 years...
> > >
> > >
> > >-Original Message-
> > >From: V. Cekvenich [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, 4 April 2003 10:19
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: 12 month contract - Toronto - immediate start
> > >
> > >
> > >Does this have anything to do with Struts?
> > >.V
> > >
> > >
> > >Jack Nodel wrote:
> > >
> > >
> > >>Hi All,
> > >>
> > >>My name is Jack Nodel, I work with ARES consulting. Recently one of
>my
> > >>clients has asked me to locate contractors for a Toronto based 12
>month
> > >>contract.
> > >>
> > >>The following is the list of required technical skills. Excellent
> > >>communication is an absolute must.
> > >>
> > >>
> > >>We are searching for a subject matter expert with extensive
>knowledge of
> > >>
> > >>
> > >BEA
> > >
> > >
> > >>WLI to assist and provide guidance. To qualify, the candidate must
>have:
> > >>£ 5+ years experience in the information technology industry
> > >>£ 3 years of development experience on J2EE platform
> > >>£ Hands on experience with E-Commerce design and application design
> > >>£ Expert technical knowledge of the BEA workflow product
> > >>£ Good technical architecture
> > >>£ Good Java programming skills
> > >>£ Experience with BEA Weblogic and Commerce Server exposure (nice to
>have)
> > >>£ Excellent communication skills, both oral and written (10/10
>essential)
> > >>
> > >>MUST HAVE SKILLS:
> > >>. J2EE development experience (Min. Experience 2-5yrs)
> > >>. Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
> > >>. Oracle 9i (Min. Experience of 2-5 yrs)
> > >>. WLI (Min. Experience of 1-2 yrs)
> > >>. SQL (Min. Experience of 2-5 yrs)
> > >>. XMLSpy (Min. Experience of 2-5 yrs)
> > >>. CVS (Min. Experience of 1-2 yrs)
> > >>. Java IDE: Eclipse (Min. Experience of 1-2 yrs)
> > >>
> > >>If you are interested PLEASE FORWARD RESUMES TO
> > >>[EMAIL PROTECTED]
> > >>
> > >>I can also be reached at 416.480.2700 ext224.
> > >>
> > >>Thanks,
> > >>
> > >>Jack
> > >>
> > >>
> > >
> > >
> > >
> > >-
> > >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]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged.  This information is intended only for the use of the
individual or entity to whom this electronic mail transmission was sent as
indicated above. If you are not the intended recipient, any disclosure,
co

Re: struts vs. JSP/Servlets

2003-04-04 Thread Vinay
What I feel that MVC can be done without using struts too, but when you do
such an application , we will end up doing a framework for our specific
application.I think the developers like Craig might have realized the need
for a framework called struts  which I think is  providing   controller and
other features like configuration files which eventually will be needed in a
JSP/Servlet framework without struts . I also think that Tag Libraries
provide a robust way of writing JSP pages , without the need of writing any
server side Java (scriplets).

These are my thoughts , might not be true, correct me


- Original Message -
From: "James Mitchell" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 4:42 PM
Subject: Re: struts vs. JSP/Servlets


> On Fri, 2003-04-04 at 16:37, Chin, Ed wrote:
> > I want to use JSP and Servlets. Nothing else.
> > What exactly does struts do for me that I can't do with Tomcat alone?
>
> Absolutely nothing.  You can jump right in and (given enough time) do
> everything that Struts does...100%!!!
>
> Do you have that much time?
>
> >
> > I often hear struts/JSP. I also hear that struts allows us to build
> > applications in model 2 MVC form. But I also hear that about JSP and
> > Servlets. So then I started to think that struts is the framework that
> > allows us to use JSP/Servlet technology. But that must be wrong because
I
> > installed Tomcat and it's running JSP/Servlets fine without installing
> > struts. So my question is still the one posed above. What does struts do
for
> > me that I can't do with Tomcat alone (in the world of JSP/Servlets)?
>
> see above.
>
> >
> > - Edward
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://www.open-tools.org
>
>
>
>
> -
> 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: FormBean - what is good for?

2003-04-04 Thread Robert Taylor
The FormBean provides extensibility (not found in
the HttpServletRequest) as a wrapper.

robert
> -Original Message-
> From: Harish Krishnaswamy [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 4:24 PM
> To: [EMAIL PROTECTED]
> Subject: FormBean - what is good for?
> 
> 
> I have a fundamental question, may be I am just being
> a novice here. Anyway the question is, if a FormBean
> is primarily used to carry data from the html form to
> the action, can we just not use the request object or
> a wrapper to it and have the validation framework work
> with that? I remember having read something along the
> same lines put forth by Ted Husted. Can anyone share
> the design motive behind the FormBean?
> 
> Thanks
> Harish
> 
> __
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.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: struts vs. JSP/Servlets

2003-04-04 Thread michael . korolyov
Struts helps build web application that uses JSP/Servlet
it speed up development


-Original Message-
From: Chin, Ed [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: struts vs. JSP/Servlets


I want to use JSP and Servlets. Nothing else. 
What exactly does struts do for me that I can't do with Tomcat alone? 

I often hear struts/JSP. I also hear that struts allows us to build
applications in model 2 MVC form. But I also hear that about JSP and
Servlets. So then I started to think that struts is the framework that
allows us to use JSP/Servlet technology. But that must be wrong because I
installed Tomcat and it's running JSP/Servlets fine without installing
struts. So my question is still the one posed above. What does struts do for
me that I can't do with Tomcat alone (in the world of JSP/Servlets)?

- Edward




-
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: struts vs. JSP/Servlets

2003-04-04 Thread James Mitchell
On Fri, 2003-04-04 at 16:37, Chin, Ed wrote:
> I want to use JSP and Servlets. Nothing else. 
> What exactly does struts do for me that I can't do with Tomcat alone? 

Absolutely nothing.  You can jump right in and (given enough time) do
everything that Struts does...100%!!!

Do you have that much time?

> 
> I often hear struts/JSP. I also hear that struts allows us to build
> applications in model 2 MVC form. But I also hear that about JSP and
> Servlets. So then I started to think that struts is the framework that
> allows us to use JSP/Servlet technology. But that must be wrong because I
> installed Tomcat and it's running JSP/Servlets fine without installing
> struts. So my question is still the one posed above. What does struts do for
> me that I can't do with Tomcat alone (in the world of JSP/Servlets)?

see above.

> 
> - Edward
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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



RE: struts vs. JSP/Servlets

2003-04-04 Thread Miriam Aguirre

 http://jakarta.apache.org/struts/

 http://jakarta.apache.org/struts/faqs/kickstart.html#why

-Original Message-
From: Chin, Ed [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: struts vs. JSP/Servlets


I want to use JSP and Servlets. Nothing else. 
What exactly does struts do for me that I can't do with Tomcat alone? 

I often hear struts/JSP. I also hear that struts allows us to build
applications in model 2 MVC form. But I also hear that about JSP and
Servlets. So then I started to think that struts is the framework that
allows us to use JSP/Servlet technology. But that must be wrong because I
installed Tomcat and it's running JSP/Servlets fine without installing
struts. So my question is still the one posed above. What does struts do for
me that I can't do with Tomcat alone (in the world of JSP/Servlets)?

- Edward




-
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]



struts vs. JSP/Servlets

2003-04-04 Thread Chin, Ed
I want to use JSP and Servlets. Nothing else. 
What exactly does struts do for me that I can't do with Tomcat alone? 

I often hear struts/JSP. I also hear that struts allows us to build
applications in model 2 MVC form. But I also hear that about JSP and
Servlets. So then I started to think that struts is the framework that
allows us to use JSP/Servlet technology. But that must be wrong because I
installed Tomcat and it's running JSP/Servlets fine without installing
struts. So my question is still the one posed above. What does struts do for
me that I can't do with Tomcat alone (in the world of JSP/Servlets)?

- Edward




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



RE: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Miriam Aguirre

 iplanet has a whole slew of its own inadequacies.. for example, we can't
even get struts 1.1 to run unless we add the jar to its classpath (which is
not an option for us) - the class loader says it can't find the
PropertyMessageResourcesFactory even though its under the WEB-INF/lib
directory, so we're stuck with the older version of struts. Deployment is a
pain with iplanet, the deployment tool is really picky and inconsistent with
the command line deploy tool (which we prefer to use with ant, to make
'deploy' another target in the build file), sometimes it reports no errors,
but it doesn't deploy anything! To summarize, Iplanet sucks ( app server 6.0
SP4 and 6.5, still waiting for 7.0 enterprise edition).

-Original Message-
From: Piper, James D CECOM SEC EPS
[mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:56 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] intermittent build and deploy Struts application to
WLS problem


I wondered if your post meant that you had similar problems with
build/deploy giving funny intermittent errors or if you were just fed up
with pricey app servers giving you headaches? 

For me changing app servers is not an option, but I would be fascinated to
know if you were having similar build/deploy intermittent errors - since you
apparently use iPlanet and I use WLS, that would lead me to think my problem
lies more with the ant/javac/jar tools or EAR structure than it does with
the WLS app server.  I really don't think it is the WLS app server, because
when an EAR file works it will continue to work over many deployments, and
when an EAR file fails it will always fail the same way over many deployment
attempts.

- Jim Piper

-Original Message-
From: Miriam Aguirre [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:22 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] intermittent build and deploy Struts application to
WLS pro blem



 we're currently struggling with this as well, I'm all for dumping iplanet
and move to jboss, but other people in the organization do not feel
comfortable with switching over to a non-sun-certified-freeware-app server..
so far, "so what, it's better!" is not working, any suggestions from the
group?? 

-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:10 AM
To: Struts Users Mailing List
Subject: Re: [OT] intermittent build and deploy Struts application to
WLS pro blem


Dump WLS and go over to JBOSS in production.  We are currenly going to save
something like
500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in
production.

- Original Message -
From: "Piper, James D CECOM SEC EPS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:51 AM
Subject: [OT] intermittent build and deploy Struts application to WLS pro
blem


> This is a bit OT (probably has nothing to do with struts), but the problem
> has gone from an irritation to annoying to really starting to tick me off.
I
> hope that since many of you are working with similar environments that you
> may be able to help me out here:
>
> Problem
> ---
> Intermittently when I deploy to WLS I will receive anywhere from 1 to
about
> 40 errors of the form: 'Public class blah blah blah must be defined in a
> file called blah blah blah' (I think these errors are thrown when the WLS
is
> attempting to recompile my EJB JAR within the server, not sure about that
> though).  The clinker is that if I change no source code, recompile and
> redeploy again, then occasionally I will not have the errors and
everything
> will run fine from there on in.
>
> There have been times where I have gone through the hair pulling process
of
> running my ant clean, ant build scripts, and attempting to deploy 10 times
> before all of the sudden Blamo, it works only to fail again the next
> time I need to recompile.
>
> Environment description
> ---
> 1. I edit source, compile and build WAR, EJB JAR, support class JAR, and
EAR
> on Windows 2K using ant.  I use the manifest.update feature to put class
> path info about classes used in both EJBs and Servlets into the EAR file.
> 2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
> 3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
> 4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried
sp2)
> running on a Sun server using WLS browser based admin tool.
> 5. The application uses Struts, log4j, rowtag among other things.
>
> Some Observations
> -
> 1. The size of my EAR file changes each time I run my ant build script.
> Looking inside the EAR I see that the compressed sizes of my WAR and EJB
> JAR, and support class JAR files change each time the EAR build is run
> (while the sizes of the original WAR and JARs remain the same - and the
> original and compressed sizes of all my 3rd party JARs also remain the
> same).
>
> 2. Also I notice that when the size of the EAR 

RE: NewBie Question

2003-04-04 Thread Tai Nguyen
You took the words right out of my mouth!

-Original Message-
From: Karapiperis Dimitris [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 6:56 AM
To: Struts Users Mailing List
Subject: RE: NewBie Question



 Vangeli,
 
 ta Struts framework den einai tpt allo apo thn efarmogh toy MVC design
pattern. Ta Struts soy prosferoyn enan dynato Controller kai aforoyn th
domi ths efarmoghs. Sto view enapokeitai se esena ti tha
xrhsimopoihseis. Sto .jsp alloste mporeis na exeis JavaScript. XSLT
logika tha mporeis  na xrhsimpopoihses, den vlepo to logo gia to
antitheto.

my warmest regards,
-
Dimitrios Karapiperis
Software Engineer
Metropolis Informatics SA
tel: +30 2310 225815 fax +30 2310 256259



-Original Message-
From: Vangelis Konstantinis [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 2:42 PM
To: [EMAIL PROTECTED]
Subject: NewBie Question


Hi to all,

I am new to Struts-Tiles(1-day),

I am new to this technology, i would to use it in a web-application,

My questions is:

Can the Struts-Tile colloborate Ok with JavaScript and XSLT.

In other words can in a Jsp Page use Java Script & XSLT with Tiles and
work OK?


Thanks in advance.

E.K.






-
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]



FormBean - what is good for?

2003-04-04 Thread Harish Krishnaswamy
I have a fundamental question, may be I am just being
a novice here. Anyway the question is, if a FormBean
is primarily used to carry data from the html form to
the action, can we just not use the request object or
a wrapper to it and have the validation framework work
with that? I remember having read something along the
same lines put forth by Ted Husted. Can anyone share
the design motive behind the FormBean?

Thanks
Harish

__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

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



RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Susan Bradeen
I agree this has been a highly entertaining thread! Kept me laughing all 
afternoon. Happy Friday! :)

Susan Bradeen





"Chen, Gin" <[EMAIL PROTECTED]>
04/04/2003 03:41 PM
Please respond to "Struts Users Mailing List"

 
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc: 
Subject:RE: [OT] Re: 12 month contract - Toronto - immediate start


I love this thread.
First we hear about people moaning that they cant find a job.
So what do we do when someone posts a job listing (albeit ill researched 
and
ill worded.. ironic considering they were looking for someone with 
excellent
communication skills).. we bash the post.
But not only that but then somehow it goes into gender bashing and then
observations (true but still OT) on women.
LOL. I think we (the struts community) gets bored a bit too fast. 
Especially
on Fridays.
See how deftly I just inserted my stereotyping?
-Tim

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 3:27 PM
To: Struts Users Mailing List
Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start


Threadsafe? Most likely, but never underestimate the ability of wives to
maintain their own persistence mechanism to track the dequeue rate of
previously loaded honeydews. And never forget the interprocess 
communication
that occurs to their parent process (a.k.a. The Mother-In-Law!) to 
evaluate
your metrics against a known similar working process (a.k.a. The
Father-In-Law).

:-)

>-Original Message-
>From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 1:50 PM
>To: Struts Users Mailing List
>Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
>
>
>
>On Fri, 4 Apr 2003, Chappell, Simon P wrote:
>
>> Date: Fri, 4 Apr 2003 11:21:13 -0600
>> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>>
>> Don't forget their ability to queue tasks as well. They can 
>load a FIFO
>> queue with honeydew's faster than we can unload them! :-)
>>
>
>If I don't use instance variables (i.e. I never write down any honeydew
>items on paper), will I become thread safe?  :-)
>
>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]

-
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] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Daniel Jaffa
But you still need a license for each developer, and for a large project
this is alot of money
- Original Message -
From: "Karr, David" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 1:26 PM
Subject: RE: [OT] intermittent build and deploy Struts application to WLS
pro blem


> Another alternative would be to use WebLogic Express, which is WebLogic
> without the EJB container.  It should be much cheaper than WebLogic
> platform, and will satisfy the suits.
>
> > -Original Message-
> > From: Miriam Aguirre [mailto:[EMAIL PROTECTED]
> >
> >  we're currently struggling with this as well, I'm all for dumping
> iplanet
> > and move to jboss, but other people in the organization do not feel
> > comfortable with switching over to a non-sun-certified-freeware-app
> > server..
> > so far, "so what, it's better!" is not working, any suggestions from
> the
> > group??
> >
> > -Original Message-
> > From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
> >
> > Dump WLS and go over to JBOSS in production.  We are currenly going to
> > save
> > something like
> > 500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss
> in
> > production.
>
> -
> 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]



Duplicate Requests

2003-04-04 Thread Aidan Monroe
For some reason I am getting duplicate requests
whenever I click a certain  button
on one of my web pages. Can someone help me figure out
why? This only happens when I click this one image
button. It does not happen when I click  or hyperlinks that sumbit forms (via
javascript). I've been looking into this for about a
week now and have no clue why it would be happening.

Thanks.

Here is the relevant part of my log file that shows
that RequestProcessor is sending 2 requests to my
Action:

DEBUG (RequestUtils.java:1642) - Get module name for
path /Navigate.do
DEBUG (RequestUtils.java:1664) - Module name found:
default
 INFO (RequestProcessor.java:225) - Processing a
'POST' for path '/Navigate'
DEBUG (RequestUtils.java:675) -  Looking for
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestUtils.java:1642) - Get module name for
path /Navigate.do
DEBUG (RequestUtils.java:1664) - Module name found:
default
 INFO (RequestProcessor.java:225) - Processing a
'POST' for path '/Navigate'
DEBUG (RequestUtils.java:675) -  Looking for
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestUtils.java:751) -  Creating new
ActionForm instance of type
'com.avexus.impresa.client.form.NavigateForm'
DEBUG (RequestUtils.java:756) -  -->
[EMAIL PROTECTED]
DEBUG (RequestProcessor.java:367) -  Storing
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestProcessor.java:790) -  Populating bean
properties from this request
DEBUG (RequestUtils.java:751) -  Creating new
ActionForm instance of type
'com.avexus.impresa.client.form.NavigateForm'
DEBUG (RequestUtils.java:756) -  -->
[EMAIL PROTECTED]
DEBUG (RequestProcessor.java:367) -  Storing
ActionForm bean instance in scope 'request' under
attribute key 'NavigateForm'
DEBUG (RequestProcessor.java:790) -  Populating bean
properties from this request
DEBUG (RequestProcessor.java:305) -  Looking for
Action instance for class
com.avexus.impresa.client.action.NavigateAction
DEBUG (RequestProcessor.java:321) -   Creating new
Action instance
DEBUG (RequestProcessor.java:305) -  Looking for
Action instance for class
com.avexus.impresa.client.action.NavigateAction


__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

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



RE: javascript and Struts

2003-04-04 Thread Niesen, Nathan
Using indexes to access page elements is not a good practice. You should
access the elements by id or through association whenever possible.

In your case, the following should be sufficient:
onchange="this.form.submit();"

If you need to do some preprocessing, I'd recommend the following pattern:

[...]
function onChangeCampaignName(aForm) {
// do preprocessing
aForm.submit();
};
[...]

[...]

Nathan.

 -Original Message-
From:   Oliver Reflé [mailto:[EMAIL PROTECTED] 
Sent:   Friday, April 04, 2003 5:31 AM
To: Struts
Subject:javascript and Struts

Hi Guys,
i have a strange problem. Maybe you can help me. I would like to submit a
form when a select box value
has changed.Here is the code like i try it:



DatenfeldWert
Kampagnenname:






...

I also trid javascript:{document.forms[0].submit()} etc. but nothing worked.
When i try this now on
a normal HTML form it works. But with the struts form i get the message.
Method not supported by object.

But i cannot imagine why this happens, cause javascript is executed on
client side and there the code
is the same.

So do you have any idea ??

Thx in advance

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



RE: Programmatically creating links to Struts forwards

2003-04-04 Thread Chen, Gin
The 'right' way I believe is to use Scaffold's (pre 1.1 b3)
or if ur using the latest builds then set up a ForwardAction that points to
your forward (can also be done for tiles definitions) and use that as you
link href.
ex:

-Tim

-Original Message-
From: Adam Sherman [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 12:41 PM
To: [EMAIL PROTECTED]
Subject: Programmatically creating links to Struts forwards


I have the need to create a link to a Struts Forward in code, is there a 
Right Way to do this?

Should I go dig into the Javadoc for the html taglib?

Thanks,

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819

-
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] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chen, Gin
I love this thread.
First we hear about people moaning that they cant find a job.
So what do we do when someone posts a job listing (albeit ill researched and
ill worded.. ironic considering they were looking for someone with excellent
communication skills).. we bash the post.
But not only that but then somehow it goes into gender bashing and then
observations (true but still OT) on women.
LOL. I think we (the struts community) gets bored a bit too fast. Especially
on Fridays.
See how deftly I just inserted my stereotyping?
-Tim

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 3:27 PM
To: Struts Users Mailing List
Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start


Threadsafe? Most likely, but never underestimate the ability of wives to
maintain their own persistence mechanism to track the dequeue rate of
previously loaded honeydews. And never forget the interprocess communication
that occurs to their parent process (a.k.a. The Mother-In-Law!) to evaluate
your metrics against a known similar working process (a.k.a. The
Father-In-Law).

:-)

>-Original Message-
>From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 1:50 PM
>To: Struts Users Mailing List
>Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
>
>
>
>On Fri, 4 Apr 2003, Chappell, Simon P wrote:
>
>> Date: Fri, 4 Apr 2003 11:21:13 -0600
>> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>>
>> Don't forget their ability to queue tasks as well. They can 
>load a FIFO
>> queue with honeydew's faster than we can unload them! :-)
>>
>
>If I don't use instance variables (i.e. I never write down any honeydew
>items on paper), will I become thread safe?  :-)
>
>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]

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



RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chappell, Simon P
Threadsafe? Most likely, but never underestimate the ability of wives to maintain 
their own persistence mechanism to track the dequeue rate of previously loaded 
honeydews. And never forget the interprocess communication that occurs to their parent 
process (a.k.a. The Mother-In-Law!) to evaluate your metrics against a known similar 
working process (a.k.a. The Father-In-Law).

:-)

>-Original Message-
>From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 1:50 PM
>To: Struts Users Mailing List
>Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
>
>
>
>On Fri, 4 Apr 2003, Chappell, Simon P wrote:
>
>> Date: Fri, 4 Apr 2003 11:21:13 -0600
>> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>>
>> Don't forget their ability to queue tasks as well. They can 
>load a FIFO
>> queue with honeydew's faster than we can unload them! :-)
>>
>
>If I don't use instance variables (i.e. I never write down any honeydew
>items on paper), will I become thread safe?  :-)
>
>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]



RE: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Piper, James D CECOM SEC EPS
I wondered if your post meant that you had similar problems with
build/deploy giving funny intermittent errors or if you were just fed up
with pricey app servers giving you headaches? 

For me changing app servers is not an option, but I would be fascinated to
know if you were having similar build/deploy intermittent errors - since you
apparently use iPlanet and I use WLS, that would lead me to think my problem
lies more with the ant/javac/jar tools or EAR structure than it does with
the WLS app server.  I really don't think it is the WLS app server, because
when an EAR file works it will continue to work over many deployments, and
when an EAR file fails it will always fail the same way over many deployment
attempts.

- Jim Piper

-Original Message-
From: Miriam Aguirre [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:22 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] intermittent build and deploy Struts application to
WLS pro blem



 we're currently struggling with this as well, I'm all for dumping iplanet
and move to jboss, but other people in the organization do not feel
comfortable with switching over to a non-sun-certified-freeware-app server..
so far, "so what, it's better!" is not working, any suggestions from the
group?? 

-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:10 AM
To: Struts Users Mailing List
Subject: Re: [OT] intermittent build and deploy Struts application to
WLS pro blem


Dump WLS and go over to JBOSS in production.  We are currenly going to save
something like
500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in
production.

- Original Message -
From: "Piper, James D CECOM SEC EPS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:51 AM
Subject: [OT] intermittent build and deploy Struts application to WLS pro
blem


> This is a bit OT (probably has nothing to do with struts), but the problem
> has gone from an irritation to annoying to really starting to tick me off.
I
> hope that since many of you are working with similar environments that you
> may be able to help me out here:
>
> Problem
> ---
> Intermittently when I deploy to WLS I will receive anywhere from 1 to
about
> 40 errors of the form: 'Public class blah blah blah must be defined in a
> file called blah blah blah' (I think these errors are thrown when the WLS
is
> attempting to recompile my EJB JAR within the server, not sure about that
> though).  The clinker is that if I change no source code, recompile and
> redeploy again, then occasionally I will not have the errors and
everything
> will run fine from there on in.
>
> There have been times where I have gone through the hair pulling process
of
> running my ant clean, ant build scripts, and attempting to deploy 10 times
> before all of the sudden Blamo, it works only to fail again the next
> time I need to recompile.
>
> Environment description
> ---
> 1. I edit source, compile and build WAR, EJB JAR, support class JAR, and
EAR
> on Windows 2K using ant.  I use the manifest.update feature to put class
> path info about classes used in both EJBs and Servlets into the EAR file.
> 2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
> 3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
> 4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried
sp2)
> running on a Sun server using WLS browser based admin tool.
> 5. The application uses Struts, log4j, rowtag among other things.
>
> Some Observations
> -
> 1. The size of my EAR file changes each time I run my ant build script.
> Looking inside the EAR I see that the compressed sizes of my WAR and EJB
> JAR, and support class JAR files change each time the EAR build is run
> (while the sizes of the original WAR and JARs remain the same - and the
> original and compressed sizes of all my 3rd party JARs also remain the
> same).
>
> 2. Also I notice that when the size of the EAR gets smaller then the app
is
> more likely to deploy ok.
>
> 3. If I attempt to redeploy the same EAR file over and over then I will
get
> the same number of errors each time.  If I recompile and deploy I will get
a
> different number of errors (or none).  If I have an EAR file that works
then
> I can redeploy that EAR file over and over and never get an error.
>
> 4. Have never seen the error when I deploy to JBOSS on my local Win 2K
> machine.
>
> Some Things I've tried
> --
> 1. change time out settings on http within WLS
> 2. deleting the old .ear file from WLS before redeploy
> 3. deleting the .wlnotdelete file from WLS before deploy
> 4. restarting the wls
> 5. undeploying, refreshing wls view, compiling, redeploying all in
different
> orders
> 6. holding my breath and crossing my fingers
> 7. not watching the deployment dos screen
> 8. watching the deployment dos screen
> 9. manually ftping the file to wls
> 10. wls runn

Re: need examples of using indexes ... Pls.

2003-04-04 Thread Vinay
I think the below code should work or similar one,if this is not what you
are looking , let know
This used struts-el's forEach loop.No scriplets and only tag libraries







<%@ page import="net.mdp.hold.*" %>

<%@ taglib uri="/WEB-INF/struts-bean-el.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic-el.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>


<%@ taglib prefix="c" uri="/WEB-INF/c.tld" %>
<%@ taglib prefix="c_rt" uri="/WEB-INF/c-rt.tld" %>









  







 
 
  

 
   
 
 
   
 
 

 







- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 2:00 PM
Subject: need examples of using indexes ... Pls.


> hi,
>
> I have list of beans
> a bean has a list and other fields
> on JSP I need to show list of rows
> where each row has a checkbox and select and other info
>
> then I need to introspect all user selection
>
> would be nice get such example how to do it in JSP, Action and Form
>
> tnx
>
> p.s. looks like everybody does it in diff. ways
> p.p.s. I read how to for indexed.
>
> Best Regards.
> Michael.
>
> -
> 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] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Chappell, Simon P wrote:

> Date: Fri, 4 Apr 2003 11:21:13 -0600
> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
> Don't forget their ability to queue tasks as well. They can load a FIFO
> queue with honeydew's faster than we can unload them! :-)
>

If I don't use instance variables (i.e. I never write down any honeydew
items on paper), will I become thread safe?  :-)

Craig

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



RE: Linked Forwards?

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Adam Sherman wrote:

> Date: Fri, 04 Apr 2003 08:15:52 -0500
> From: Adam Sherman <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: Linked Forwards?
>
> On 04/03/03 19:04:20 -0800 Craig R. McClanahan wrote:
>
> > If you are willing to ensure that all your Actions use the same forward
> > name, you don't have to do anything at all to accomplish this goal.  When
> > you call ActionMapping.findForward(), Struts checks the local forward
> > declarations first, and then the globals.  So, if you say:
> >
> >   return (mapping.findForward("mainMenu");
> >
> > in your doSomethingAction, since you don't have a local definition for
> > this forward you will automatically be using the global one.  That way,
> > you only have to change one path if the URI of the page to be executed
> > changes.
>
> I am using this idea for some projects.
>
> My issue is that I want to be able to map "standard" results to various
> pages. I've been using ActionMessages to give feedback to the user instead
> of forwarding to a seperate "thank you" style page.
>
> So, for example, many of my actions forward back to the "list" page after
> putting something informative in the ActionMessages. If the page authors
> decide that some action needs to be forwarded to a specific page on
> "failure", I want them to be able to simply change the "failure" forward to
> something else.
>

Why don't you just create a local  inside the
 for only those actions that need something different than the
global one?  For all other actions, the global one will be used.

> Would this be difficult to implement?
>

I'm still not understanding why you cannot do what you want with Struts
the way it is.

> Thanks,
>
> A.
>
> --
> Adam Sherman

Craig

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



RE: bean:write / HashMap

2003-04-04 Thread Derek Richardson
If can use the jstl, you can:



It automagically encodes, as well.

> -Original Message-
> From: Rob King [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 2:28 PM
> To: Struts Users Mailing List
> Subject: bean:write / HashMap
> 
> 
> Hi,
> I have checked struts documentation, including the index 
> properties page,
> and cannot find the answer to this.
> I simply want to output some values stored in a hashmap without using
> scriptlets - ideally with the bean:write tag.
> 
> Instead of doing this:
> <%=myHash.get("NAME")%>
> 
> I would like to do something like this, but it doesn't work:
> 
> 
> ( but hopefully it serves to demonstrate what I'm trying to do )
> 
> I also tried this, but I'm just clutching at straws now:
> 
> 
> 
> Using bean:write would be nice becuase it html encodes stuff 
> without me
> needing to do anything.
> Using a bean instead of the HashMap would be a nice solution, but time
> constraints mean that the HashMaps need to stay for now...
> 
> And, I thought I was about to find an answer here, but alas no:
> http://jakarta.apache.org/struts/faqs/indexedprops.html
> 
> Apologies if I missed an obvious piece of documentation
> 
> thanks,
> rob.
> 
> 
> -
> 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: Netscape and struts-html.tld-Eventhandler

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Mouratidis, Georg wrote:

> Date: Fri, 4 Apr 2003 14:14:14 +0200
> From: "Mouratidis, Georg" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Netscape and struts-html.tld-Eventhandler
>
> Hi @ all,
>
> I have aproblem with Netscape 4.7, 6.0 and 6.1 and the eventhandler.
> according to the W3C an eventhandler schould start with lowercase
> characters. The next character should be capitalized. e.g. onClick,
> onBlur.

This is not correct.

The HTML Specification describes all of the event handler attributes in
"pure lower case".  Many browsers are not case sensitive when processing
attribute and element names, but in XHTML they will be required to be in
all lower case -- your page will not be valid if you use "onClick".

> But Struts allows only lowercase characters.  onclick="..."/>. If i use "onClick" an error occurs of course.

Struts follows the standards and will not be changed.

>
> Is there any solution except avoid using STRUTS-tlds. I know i can solve
> the problem by using  but this is not the basic
> idea of STRUTS.
>

If your browser does not understand that "onClick" and "onclick" are the
same, then your browser is broken.  Of course, the versions you describe
all have so many other horrible bugs that I'm glad I don't need to support
them in my apps any longer ;-).


> mit freundlichen Grüßen
>
> Georg XL. Mouratidis
> Web Application Developer
>

Craig McClanahan

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



RE: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread wayne . lesley . lund
I wasn't going to step into this but I've used WLS for years  - since 
Tengah days - and feel its a great product.  I am seeing a growing 
interest in JBoss but I think for large enterprise applications WLS 
platform offers much more.  I think this is even more true of WLS 8.1 
platform which we're just getting into now.  I buy into the single 
programming model provided by Workshop for EAI, Portal and J2EE 
applications.  In this model EAI and Portal are just another J2EE 
application style.  When you need portal and EAI features + solid scaling 
and reliability I would still be hard to convince that JBoss provides the 
kinds of features WLS does.   If you buy into the Application Suites or 
platform story than JBoss isn't really in the game yet. 

Also, I think its to BEA's credit that the Workshop 8.1 is using STRUTS 
1.1 underneath as its implementation. This is a big endorsement for 
STRUTS. 
Wayne Lund
Accenture
Global Architecture and Core Technologies, Seattle
[EMAIL PROTECTED]
(p:) 206.839.2169
(c:) 206 849-6867
(o:) 239/2168




Miriam Aguirre <[EMAIL PROTECTED]>
04/04/2003 10:21 AM
Please respond to "Struts Users Mailing List"

 
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc: 
Subject:RE: [OT] intermittent build and  deploy Struts application to 
WLS pro blem


 we're currently struggling with this as well, I'm all for dumping iplanet
and move to jboss, but other people in the organization do not feel
comfortable with switching over to a non-sun-certified-freeware-app 
server..
so far, "so what, it's better!" is not working, any suggestions from the
group?? 

-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:10 AM
To: Struts Users Mailing List
Subject: Re: [OT] intermittent build and deploy Struts application to
WLS pro blem


Dump WLS and go over to JBOSS in production.  We are currenly going to 
save
something like
500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in
production.

- Original Message -
From: "Piper, James D CECOM SEC EPS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:51 AM
Subject: [OT] intermittent build and deploy Struts application to WLS pro
blem


> This is a bit OT (probably has nothing to do with struts), but the 
problem
> has gone from an irritation to annoying to really starting to tick me 
off.
I
> hope that since many of you are working with similar environments that 
you
> may be able to help me out here:
>
> Problem
> ---
> Intermittently when I deploy to WLS I will receive anywhere from 1 to
about
> 40 errors of the form: 'Public class blah blah blah must be defined in a
> file called blah blah blah' (I think these errors are thrown when the 
WLS
is
> attempting to recompile my EJB JAR within the server, not sure about 
that
> though).  The clinker is that if I change no source code, recompile and
> redeploy again, then occasionally I will not have the errors and
everything
> will run fine from there on in.
>
> There have been times where I have gone through the hair pulling process
of
> running my ant clean, ant build scripts, and attempting to deploy 10 
times
> before all of the sudden Blamo, it works only to fail again the next
> time I need to recompile.
>
> Environment description
> ---
> 1. I edit source, compile and build WAR, EJB JAR, support class JAR, and
EAR
> on Windows 2K using ant.  I use the manifest.update feature to put class
> path info about classes used in both EJBs and Servlets into the EAR 
file.
> 2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
> 3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
> 4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried
sp2)
> running on a Sun server using WLS browser based admin tool.
> 5. The application uses Struts, log4j, rowtag among other things.
>
> Some Observations
> -
> 1. The size of my EAR file changes each time I run my ant build script.
> Looking inside the EAR I see that the compressed sizes of my WAR and EJB
> JAR, and support class JAR files change each time the EAR build is run
> (while the sizes of the original WAR and JARs remain the same - and the
> original and compressed sizes of all my 3rd party JARs also remain the
> same).
>
> 2. Also I notice that when the size of the EAR gets smaller then the app
is
> more likely to deploy ok.
>
> 3. If I attempt to redeploy the same EAR file over and over then I will
get
> the same number of errors each time.  If I recompile and deploy I will 
get
a
> different number of errors (or none).  If I have an EAR file that works
then
> I can redeploy that EAR file over and over and never get an error.
>
> 4. Have never seen the error when I deploy to JBOSS on my local Win 2K
> machine.
>
> Some Things I've tried
> --
> 1. change time out settings on http within WLS
> 2. deleting the old .ear fil

Problem in tomcat's admin application (struts not working ?)

2003-04-04 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
I am using Tomcat 4.1 (java 1.3) and the the its admin application(which
uses struts) doesnt seem to
work.

1) Click on Tomcat Server -> Sercive(Tomcat-Standalone)
2) From the "Available Actions"  on the right side pick something ..say
"Create new logger"
3) Fill in the fileds if you like or directly click on the "Save"
button.

Following error is displayed on the screen.


HTTP Status 404 - /admin/SaveLogger



type Status report
message /admin/SaveLogger
description The requested resource (/admin/SaveLogger) is not available.




Apache Tomcat/4.1


Pretty much most aspects of the admin application seems to be giving
this error.

I tried digging deeper and did notice that web.xml for admin does has
the following entries
linking it to struts-config.xml


.
action
org.apache.webapp.admin.ApplicationServlet


  
 config
/WEB-INF/struts-config.xml
 



And  struts-config.xml has the following entries







This seems all good to me...then whats going wrong ?
These action mappings simply dont seem to take effect !!


--Roshan

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



RE: 12 month contract - Toronto - immediate start

2003-04-04 Thread Nerijus.Navickas
Ye, cool. Maybe you know how java developed from stone age (2 mln year B.C.)?
And your university diploma is 'web development in renaissance epoch'?
~nn

- Original Message -
From: "Micael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "'Struts
Users Mailing List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 12:41 PM
Subject: RE: 12 month contract - Toronto - immediate start


Why would anyone be offended because they have special requirements.  What
they need, clearly, is a very well trained and affable Java enterprise
coder.  They are being clear that you should not waste your time if you are
not qualified.  I like that.  I am sort of peripherally qualified for this
position and have appreciated the candor.

Micael

At 10:13 AM 4/4/03 -0500, apachep2 wrote:
>One thing offends me the most is
>
>Excellent communication skills, both oral and written (10/10 essential)
>
>Looks like they are looking for Winston Churchill.
>
>-Original Message-
>From: Scott Barr [mailto:[EMAIL PROTECTED]
>Sent: April 3, 2003 11:16 PM
>To: Struts Users Mailing List
>Subject: Re: 12 month contract - Toronto - immediate start
>
>
>Thats because being males, we can only do one thing at a time!!
>
>Scott
>www.exergonic.com.au
>
>
>On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > I'll be 46 years old before I qualify for that job :) .
> >
> > Andrew Hill wrote:
> >
> > >I see no struts here.
> > >
> > >And their minimum required experience adds up to 21 years...
> > >
> > >
> > >-Original Message-
> > >From: V. Cekvenich [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, 4 April 2003 10:19
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: 12 month contract - Toronto - immediate start
> > >
> > >
> > >Does this have anything to do with Struts?
> > >.V
> > >
> > >
> > >Jack Nodel wrote:
> > >
> > >
> > >>Hi All,
> > >>
> > >>My name is Jack Nodel, I work with ARES consulting. Recently one of
>my
> > >>clients has asked me to locate contractors for a Toronto based 12
>month
> > >>contract.
> > >>
> > >>The following is the list of required technical skills. Excellent
> > >>communication is an absolute must.
> > >>
> > >>
> > >>We are searching for a subject matter expert with extensive
>knowledge of
> > >>
> > >>
> > >BEA
> > >
> > >
> > >>WLI to assist and provide guidance. To qualify, the candidate must
>have:
> > >>£ 5+ years experience in the information technology industry
> > >>£ 3 years of development experience on J2EE platform
> > >>£ Hands on experience with E-Commerce design and application design
> > >>£ Expert technical knowledge of the BEA workflow product
> > >>£ Good technical architecture
> > >>£ Good Java programming skills
> > >>£ Experience with BEA Weblogic and Commerce Server exposure (nice to
>have)
> > >>£ Excellent communication skills, both oral and written (10/10
>essential)
> > >>
> > >>MUST HAVE SKILLS:
> > >>. J2EE development experience (Min. Experience 2-5yrs)
> > >>. Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
> > >>. Oracle 9i (Min. Experience of 2-5 yrs)
> > >>. WLI (Min. Experience of 1-2 yrs)
> > >>. SQL (Min. Experience of 2-5 yrs)
> > >>. XMLSpy (Min. Experience of 2-5 yrs)
> > >>. CVS (Min. Experience of 1-2 yrs)
> > >>. Java IDE: Eclipse (Min. Experience of 1-2 yrs)
> > >>
> > >>If you are interested PLEASE FORWARD RESUMES TO
> > >>[EMAIL PROTECTED]
> > >>
> > >>I can also be reached at 416.480.2700 ext224.
> > >>
> > >>Thanks,
> > >>
> > >>Jack
> > >>
> > >>
> > >
> > >
> > >
> > >-
> > >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]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged.  This information is intended only for the use of the
individual or entity to whom this electronic mail transmission was sent as
indicated above. If you are not the intended recipient, any disclosure,
copying, distribution, or action taken in reliance on the contents of the
information contained in this transmission is strictly prohibited.  If you
have r

Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Daniel Jaffa
So you have been working with Oracle 9i for 5 years.
- Original Message -
From: "Micael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "'Struts
Users Mailing List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 12:41 PM
Subject: RE: 12 month contract - Toronto - immediate start


Why would anyone be offended because they have special requirements.  What
they need, clearly, is a very well trained and affable Java enterprise
coder.  They are being clear that you should not waste your time if you are
not qualified.  I like that.  I am sort of peripherally qualified for this
position and have appreciated the candor.

Micael

At 10:13 AM 4/4/03 -0500, apachep2 wrote:
>One thing offends me the most is
>
>Excellent communication skills, both oral and written (10/10 essential)
>
>Looks like they are looking for Winston Churchill.
>
>-Original Message-
>From: Scott Barr [mailto:[EMAIL PROTECTED]
>Sent: April 3, 2003 11:16 PM
>To: Struts Users Mailing List
>Subject: Re: 12 month contract - Toronto - immediate start
>
>
>Thats because being males, we can only do one thing at a time!!
>
>Scott
>www.exergonic.com.au
>
>
>On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > I'll be 46 years old before I qualify for that job :) .
> >
> > Andrew Hill wrote:
> >
> > >I see no struts here.
> > >
> > >And their minimum required experience adds up to 21 years...
> > >
> > >
> > >-Original Message-
> > >From: V. Cekvenich [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, 4 April 2003 10:19
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: 12 month contract - Toronto - immediate start
> > >
> > >
> > >Does this have anything to do with Struts?
> > >.V
> > >
> > >
> > >Jack Nodel wrote:
> > >
> > >
> > >>Hi All,
> > >>
> > >>My name is Jack Nodel, I work with ARES consulting. Recently one of
>my
> > >>clients has asked me to locate contractors for a Toronto based 12
>month
> > >>contract.
> > >>
> > >>The following is the list of required technical skills. Excellent
> > >>communication is an absolute must.
> > >>
> > >>
> > >>We are searching for a subject matter expert with extensive
>knowledge of
> > >>
> > >>
> > >BEA
> > >
> > >
> > >>WLI to assist and provide guidance. To qualify, the candidate must
>have:
> > >>£ 5+ years experience in the information technology industry
> > >>£ 3 years of development experience on J2EE platform
> > >>£ Hands on experience with E-Commerce design and application design
> > >>£ Expert technical knowledge of the BEA workflow product
> > >>£ Good technical architecture
> > >>£ Good Java programming skills
> > >>£ Experience with BEA Weblogic and Commerce Server exposure (nice to
>have)
> > >>£ Excellent communication skills, both oral and written (10/10
>essential)
> > >>
> > >>MUST HAVE SKILLS:
> > >>. J2EE development experience (Min. Experience 2-5yrs)
> > >>. Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
> > >>. Oracle 9i (Min. Experience of 2-5 yrs)
> > >>. WLI (Min. Experience of 1-2 yrs)
> > >>. SQL (Min. Experience of 2-5 yrs)
> > >>. XMLSpy (Min. Experience of 2-5 yrs)
> > >>. CVS (Min. Experience of 1-2 yrs)
> > >>. Java IDE: Eclipse (Min. Experience of 1-2 yrs)
> > >>
> > >>If you are interested PLEASE FORWARD RESUMES TO
> > >>[EMAIL PROTECTED]
> > >>
> > >>I can also be reached at 416.480.2700 ext224.
> > >>
> > >>Thanks,
> > >>
> > >>Jack
> > >>
> > >>
> > >
> > >
> > >
> > >-
> > >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]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged.  This information is intended only for the use of the
individual or entity to whom this electronic mail transmission was sent as
indicated above. If you are not the intended recipient, any disclosure,
copying, distribution, or action taken in reliance on the contents of the
information contained in this transmission is strictly prohibited.  If you
have received this transmission in error, please delete the message.  Thank
you




bean:write / HashMap

2003-04-04 Thread Rob King
Hi,
I have checked struts documentation, including the index properties page,
and cannot find the answer to this.
I simply want to output some values stored in a hashmap without using
scriptlets - ideally with the bean:write tag.

Instead of doing this:
<%=myHash.get("NAME")%>

I would like to do something like this, but it doesn't work:


( but hopefully it serves to demonstrate what I'm trying to do )

I also tried this, but I'm just clutching at straws now:



Using bean:write would be nice becuase it html encodes stuff without me
needing to do anything.
Using a bean instead of the HashMap would be a nice solution, but time
constraints mean that the HashMaps need to stay for now...

And, I thought I was about to find an answer here, but alas no:
http://jakarta.apache.org/struts/faqs/indexedprops.html

Apologies if I missed an obvious piece of documentation

thanks,
rob.


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



Re: File upload (multipart forms) on WebSphere. Can or not?

2003-04-04 Thread Susan Bradeen
Sorry, I can't give you much insight to your exception, but I *can* say 
that File upload works. I am using File upload on both WAS 5.0 and 4.0. 
Off the top of my head, I can't think of anything special I had do to make 
it work. 

Susan Bradeen

On 04/04/2003 12:39:07 AM "Andrew Hill" wrote:

> My colleague is trying to make our application run on WebSphere (WAS 
5.0), 
> however we are encountering an error submitting multipart forms. 
(Stacktrace 
> pasted below)
> (Needless to say it all works sweet on TomCat...)
> 
> Ive not had time to experiment with it myself, but it looks like WAS is 
barfing 
> on the org.apache.struts.upload.MultipartRequestWrapper object that 
struts 
> wraps multipart requests in so one can get at the parameters. This 
implements 
> HttpServletRequest but doesnt extend 
> javax.servlet.http.HttpServletRequestWrapper in order to maintain 
compatibility 
> with Servlet2.2
> 
> Is it a requirement in WAS or the Servlet specs that all 
HttpServletRequest 
> implementations extend this?
> 
> (And why would it cause a problem? I thought the struts wrapper is 
ditched 
> before forwarding anyway?)
> 
> 
> 
> 
> [4/4/03 11:18:13:734 GMT+08:00] 691323f4  I UOW= 
> source=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor 
> class=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor method= 

> org=IBM prod=WebSphere component=UNKNOWN
> Processing a 'POST' for path '/sysFoldersDispatchAction'
> [4/4/03 11:18:13:795 GMT+08:00] 691323f4  I UOW= 
> source=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor 
> class=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor method= 

> org=IBM prod=WebSphere component=UNKNOWN
> Looking for ActionForm in OperationContext id=oc1
> [4/4/03 11:18:13:795 GMT+08:00] 691323f4  I UOW= 
> source=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor 
> class=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor method= 

> org=IBM prod=WebSphere component=UNKNOWN
> Found ActionForm in OperationContext
> [4/4/03 11:18:14:305 GMT+08:00] 691323f4  O UOW=  source=SystemOut 
org=IBM 
> prod=WebSphere component=Application Server
> {
> [4/4/03 11:18:14:305 GMT+08:00] 691323f4  I UOW= 
> source=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor 
> class=com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor method= 

> org=IBM prod=WebSphere component=UNKNOWN
> Processing a 'POST' for path '/renderingAction'
> [4/4/03 11:18:16:458 GMT+08:00] 691323f4  E UOW= 
> source=com.ibm.ws.webcontainer.srt.WebGroup org=IBM prod=WebSphere 
> component=Application Server
> SRVE0026E: [Servlet Error]-[action]: java.lang.IllegalArgumentException: 

> Request is not of javax.servlet.ServletRequestWrapper type
> at 
> 
com.ibm.ws.webcontainer.webapp.WebAppDispatcherRequest.getWASProxiedHttpServletR
> equest(WebAppDispatcherRequest.java:155)
> at 
> 
com.ibm.ws.webcontainer.webapp.WebAppDispatcherRequest.getSession(WebAppDispatch
> erRequest.java:234)
> at 
> 
com.ibm.ws.webcontainer.webapp.WebAppDispatcherRequest.getSession(WebAppDispatch
> erRequest.java:219)
> at 
> 
org.apache.struts.upload.MultipartRequestWrapper.getSession(MultipartRequestWrap
> per.java:242)
> at 
> 
com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor.processLocale(GTReque
> stProcessor.java:167)
> at 
> 
com.gridnode.gtas.client.web.strutsbase.GTRequestProcessor.process(GTRequestProc
> essor.java:250)
> at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109)
> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:470)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
> 
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIns
> tance.java:110)
> at 
> 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleS
> ervlet.java:174)
> at 
> 
com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleSer
> vlet.java:333)
> at 
> 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleSe
> rvlet.java:116)
> at 
> 
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258
> )
> at 
> 
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServlet
> ReferenceState.java:42)
> at 
> 
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanc
> eReference.java:40)
> at 
> 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebA
> ppRequestDispatcher.java:867)
> at 
> 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDis
> patcher.java:491)
> at 
> 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDisp
> atcher.java:173)
> at 
> 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:972)
> at 
> 
org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.
> java:408)
> at 
> 

RE: How to do authentication in different way for different action classes

2003-04-04 Thread Rajendra Kadam
Hi Max,

Thanks for a explaining this in great detail.

Still I'm not able to solve my issue.

Here is problem with more description :

My current web.xml looks like :

  
  
CCO
/login.do
/pim/requestAdmin.do
DELETE
POST
GET
PUT
  

  
  *
  
   


   
  
 Public Resources
 /pim/welcome.do
  
   

   
  BASIC
  CCO
   

But now authentication dialog pops up for welcome.do also. Do I missing
something here ?

Also one thing I want to mention here, we don't much care about
role-name. Will that be a problem ?

Thanks again,
raju

-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 04, 2003 3:11 AM
To: Struts Users Mailing List
Subject: Re: How to do authentication in different way for different
action classes


That should work fine. /Content/*.do will still be considered an exact
pattern, and will be matched before the *.do extension pattern (no
matter what order they appear in the web.xml file). Only stuff that
doesn't match /Content/*.do but does match *.do will be secured in the
example. You could use the default mapping / to secure everything by
default, and then explicitly make /Content/*.do and perhaps /images/*,
/styles/*, etc. publicly available by adding url-patterns for them in
the unsecured web-resource-collection. You can put more than one
url-mapping element in a web-resource-collection, so it would be easy to
do.

The Servlet Spec Version 2.3, sections SRV.12 and SRV.11.1 define the
matching behavior. They are pretty short and definitely worth a read for
anyone doing security stuff. I wrote some security constraints before I
read it, and I think I would have benefitted greatly from the short read
had I done it first.

Here are the most important parts (WITH MY OWN NOTES ADDED IN ALL CAPS;
SORRY FOR SHOUTING :-0):

Matching behavior for requests (from the servlet section, but the same
rules are applied for checking url-patterns for security): 1. The
container will try to find an exact match of the path of the request to
the path of the servlet. A successful match selects the servlet. EXACT
PATTERNS WILL BE TRIED FIRST

2. The container will recursively try to match the longest path-prefix:
This is done by stepping down the path tree a directory at a time, using
the '/' character as a path separator. The longest match determines the
servlet selected. NOTE: 'longest' means the most path elements here --
'/a/b/c/d/*' is longer than '/onereallylongdirectoryname/*' THEN THE
PATH PATTERNS WILL BE TRIED, STARTING WITH THE LONGEST ONES

3. If the last segment in the URL path contains an extension (e.g.
.jsp), the servlet container will try to match a servlet that handles
requests for the extension. An extension is defined as the part of the
last segment after the last '.' character. THEN THE EXTENSION PATTERNS
WILL BE TRIED

4. If neither of the previous three rules result in a servlet match, the
container will attempt to serve content appropriate for the resource
requested. If a "default" servlet is defined for the application, it
will be used. AND FINALLY THE DEFAULT PATTERN WILL BE USED IF IT HAS
BEEN SPECIFIED

OTHERWISE, NO MATCH -- ALLOW THE REQUEST


Classification rules for url-patterns in your web.xml file (path,
extension, default, exact):

1. A string beginning with a '/' character and ending with a '/*'
postfix is used for path mapping. PATH (INCLUDES '/*') 2. A string
beginning with a '*.' prefix is used as an extension mapping. EXTENSION

3. A string containing only the '/' character indicates the "default"
servlet of the application. In this case the servlet path is the request
URI minus the context path and the path info is null. DEFAULT

4. All other strings are used for exact matches only. IF IT DOESN'T
MATCH THE DEFINITIONS ABOVE, YOUR PATTERN IS AN EXACT PATTERN


-Max

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 10:33 PM
Subject: RE: How to do authentication in different way for different
action classes


Would this be valid then:

   
  
 Secured Resources
 *.do
  
  
 strutsuser
  
   

   
  
 Public Resources
 /Content/*.do
  
   


Where /Content is a sub directory of the ROOT directory, and that
subDirectory is _NOT_ secured, but everything else _IS_ secured?

This way I do not have to put all my secured pages under /private/* and
I can just intermingle them.


-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 3:25 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: How to do authentication in different way for different
action classes


You should keep *.do for your servlet mapping.

Assuming you are using container-managed security, you can do something
like this for your security constraints:

   
  

RE: need examples of using indexes ... Pls.

2003-04-04 Thread James Turner
I have a powerpoint presentation on using beans with indexed properties
here:

http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt

James

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 04, 2003 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: need examples of using indexes ... Pls.
> 
> 
> hi,
> 
> I have list of beans
> a bean has a list and other fields
> on JSP I need to show list of rows
> where each row has a checkbox and select and other info
> 
> then I need to introspect all user selection
> 
> would be nice get such example how to do it in JSP, Action and Form
> 
> tnx
> 
> p.s. looks like everybody does it in diff. ways
> p.p.s. I read how to for indexed.
> 
> Best Regards.
> Michael.
> 
> -
> 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]



PLEASE HELP...STRUTS JAXP Properties?

2003-04-04 Thread Michael Marrotte
I see how I can set these properties in , but struts seems to
ignore that.

Is there a way to configure the action servlet to use specific JAXP
properties to parse struts-config.xml?

For example is there a way to set the following for struts-config parsing:

javax.xml.parsers.DocumentBuilderFactory="com.caucho.xml.parsers.XmlDocument
BuilderFactory"
javax.xml.parsers.SAXParserFactory="com.caucho.xml.parsers.XmlSAXParserFacto
ry"
javax.xml.transform.TransformerFactory="com.caucho.xsl.Xsl"

Any help is greatly appreciated.

Thanks,

--Mike





-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 7:37 AM
To: Struts Users Mailing List
Subject: Struts and Crimson


I only get the below stack trace when crimson is rolled into the JRE
ext/lib -- the
struts-config.xml file is well formed.  Administrating the JRE is out of my
hands.  Is there a way to tell the container to use it's own XML parser? Any
help is greatly appreciated.

root 20030317 183520.344 ERROR Parse Error at line 13 column -1: Element
"struts-config" does not allow "form-beans" here.
org.xml.sax.SAXParseException: Element "struts-config" does not allow
"form-beans" here.
at org.apache.crimson.parser.Parser2.error(Parser2.java:3013)
at
org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume(Validat
ingParser.java:349)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1303)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at org.apache.commons.digester.Digester.parse(Digester.java:1543)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
44)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
at app.ActionServletTtpayAdmin.init(ActionServletTtpayAdmin.java:15)
at javax.servlet.GenericServlet.init(GenericServlet.java:82)
at
com.caucho.server.http.Application.createServlet(Application.java:3109)
at
com.caucho.server.http.Application.loadServlet(Application.java:3060)
at
com.caucho.server.http.Application.initServlets(Application.java:1921)
at com.caucho.server.http.Application.init(Application.java:1847)
at com.caucho.server.http.VirtualHost.initWars(VirtualHost.java:837)
at
com.caucho.server.http.VirtualHost.restartWarDir(VirtualHost.java:744)
at
com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1215)
at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274
)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:479)


-
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]



need examples of using indexes ... Pls.

2003-04-04 Thread michael . korolyov
hi,

I have list of beans
a bean has a list and other fields
on JSP I need to show list of rows
where each row has a checkbox and select and other info

then I need to introspect all user selection

would be nice get such example how to do it in JSP, Action and Form

tnx

p.s. looks like everybody does it in diff. ways
p.p.s. I read how to for indexed.

Best Regards.
Michael.

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



Re: Advanced Tiles

2003-04-04 Thread David Graham
Another approach is to factor the setup code into a helper class and use 
that class in actions and specific Tiles controller classes.  That way you 
don't need to mess with action chaining.

David



From: Jeff Caddel <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Advanced Tiles
Date: Fri, 04 Apr 2003 11:49:11 -0700
After going thru Cedric's doc 
(http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf) on Advanced 
Tiles Features I came up with something that's a slight derivative of the 
example on page 15, right under where it says, "Example of a controller 
inserted as an URL:".  That example shows how to associate a controller 
with a tile definition.

The point in doing that (as far as my wee little brain can tell) is to try 
and make each tile as autonomous as possible.  Right before each tile 
loads, an action gets invoked by the framework.  This gives you a chance to 
execute business logic and prepare the request for the tile that's about to 
load.

My issue is that I need a set of related actions to execute in an order 
that I can control before any of the tiles start to render.

An example is a split screen where there is a tree of users displayed on 
the left, and a single user displayed on the right.  This screen has 
/tree.do which preps the request for the tree, and /user.do which handles 
all the user updates.  For the tree to display correctly I need /user.do to 
execute first (even though the tile it's associated with renders second), 
so that /tree.do has the updated information when it gets invoked.   Here 
are the relevant snippets I came up with to get this behavior:

At the top of layout.jsp:   

tiles.xml:
  




  

controller.jsp:


  

This combination lets me execute an arbitrary set of actions in whatever 
order I want by simply editing tiles.xml.  Is this a clever thing to be 
doing?  A phenomenally bad idea?  Is there (as there usually is) a 
simpler/different way to get this behavior?  Any and all 
thoughts/comments/suggestions are welcome!



-
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]


Advanced Tiles

2003-04-04 Thread Jeff Caddel
After going thru Cedric's doc 
(http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf) on 
Advanced Tiles Features I came up with something that's a slight 
derivative of the example on page 15, right under where it says, 
"Example of a controller inserted as an URL:".  That example shows how 
to associate a controller with a tile definition. 

The point in doing that (as far as my wee little brain can tell) is to 
try and make each tile as autonomous as possible.  Right before each 
tile loads, an action gets invoked by the framework.  This gives you a 
chance to execute business logic and prepare the request for the tile 
that's about to load.

My issue is that I need a set of related actions to execute in an order 
that I can control before any of the tiles start to render. 

An example is a split screen where there is a tree of users displayed on 
the left, and a single user displayed on the right.  This screen has 
/tree.do which preps the request for the tree, and /user.do which 
handles all the user updates.  For the tree to display correctly I need 
/user.do to execute first (even though the tile it's associated with 
renders second), so that /tree.do has the updated information when it 
gets invoked.   Here are the relevant snippets I came up with to get 
this behavior:

At the top of layout.jsp:   

tiles.xml:
  




  

controller.jsp:


  

This combination lets me execute an arbitrary set of actions in whatever 
order I want by simply editing tiles.xml.  Is this a clever thing to be 
doing?  A phenomenally bad idea?  Is there (as there usually is) a 
simpler/different way to get this behavior?  Any and all 
thoughts/comments/suggestions are welcome! 



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


RE: html:link and array

2003-04-04 Thread Miriam Aguirre

 name/property will append the map values to the URL such as

 page.jsp?param1=someValue¶m2=someOtherValue

 try using paramName and paramProperty if that is what you mean

 http://jakarta.apache.org/struts/userGuide/struts-html.html#link

-Original Message-
From: Brian Buckley [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 10:28 AM
To: Struts Users
Subject: html:link and array


All I want is a single html link created from a single element of the array
(in my example the third element).  I am thinking that I do have the correct
html:link attributes for "name" and/or "property" but I am not sure.

Did you really mean to say  name="foos" property="params.2"?  I tried it and
it did not work either.

Brian




-
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]



html:link and array

2003-04-04 Thread Brian Buckley
All I want is a single html link created from a single element of the array
(in my example the third element).  I am thinking that I do have the correct
html:link attributes for "name" and/or "property" but I am not sure.

Did you really mean to say  name="foos" property="params.2"?  I tried it and
it did not work either.

Brian




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



RE: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Karr, David
Another alternative would be to use WebLogic Express, which is WebLogic
without the EJB container.  It should be much cheaper than WebLogic
platform, and will satisfy the suits.

> -Original Message-
> From: Miriam Aguirre [mailto:[EMAIL PROTECTED]
> 
>  we're currently struggling with this as well, I'm all for dumping
iplanet
> and move to jboss, but other people in the organization do not feel
> comfortable with switching over to a non-sun-certified-freeware-app
> server..
> so far, "so what, it's better!" is not working, any suggestions from
the
> group??
> 
> -Original Message-
> From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
> 
> Dump WLS and go over to JBOSS in production.  We are currenly going to
> save
> something like
> 500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss
in
> production.

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



RE: Tiles Insert tag using EL expression

2003-04-04 Thread Karr, David
The problem is that we haven't built a "tiles-el" library.  That's one
of the things I'd like to accomplish in the 1.2 (1.1.1?) time frame.
It's not that difficult, but I don't want to implement any more major
changes for 1.1.  Until then, I guess that attribute has to take a
scriptlet expression, however you build it.

> -Original Message-
> From: Trevor Nightingale [mailto:[EMAIL PROTECTED]
> 
> The jsp page listed below fails with
> 
> [ServletException in:/tiles/common/sasWizardDataSource.jsp] Error -
Tag
> Insert : Can't get definition '${map["selectedConnection"]}'. Check if
> this name exist in definitions factory.'
> 
> The expression '${map["selectedConnection"]}' is not being resolved
prior
> to the insert tag being actioned. Why is this and does anyone have any
> suggestions on how to work around it ?
> 
> Thanks is advance,
> Trevor
> 
> Here is the page source.
> 
> 
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
> 
> JSTL 
> JSTL  value="${sessionScope.wizardController.wizardParameters}" />
> JSTL 
> 
> 

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



RE: [OT] intermittent build and deploy Struts application to WLS pro blem

2003-04-04 Thread Miriam Aguirre

 we're currently struggling with this as well, I'm all for dumping iplanet
and move to jboss, but other people in the organization do not feel
comfortable with switching over to a non-sun-certified-freeware-app server..
so far, "so what, it's better!" is not working, any suggestions from the
group?? 

-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:10 AM
To: Struts Users Mailing List
Subject: Re: [OT] intermittent build and deploy Struts application to
WLS pro blem


Dump WLS and go over to JBOSS in production.  We are currenly going to save
something like
500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in
production.

- Original Message -
From: "Piper, James D CECOM SEC EPS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:51 AM
Subject: [OT] intermittent build and deploy Struts application to WLS pro
blem


> This is a bit OT (probably has nothing to do with struts), but the problem
> has gone from an irritation to annoying to really starting to tick me off.
I
> hope that since many of you are working with similar environments that you
> may be able to help me out here:
>
> Problem
> ---
> Intermittently when I deploy to WLS I will receive anywhere from 1 to
about
> 40 errors of the form: 'Public class blah blah blah must be defined in a
> file called blah blah blah' (I think these errors are thrown when the WLS
is
> attempting to recompile my EJB JAR within the server, not sure about that
> though).  The clinker is that if I change no source code, recompile and
> redeploy again, then occasionally I will not have the errors and
everything
> will run fine from there on in.
>
> There have been times where I have gone through the hair pulling process
of
> running my ant clean, ant build scripts, and attempting to deploy 10 times
> before all of the sudden Blamo, it works only to fail again the next
> time I need to recompile.
>
> Environment description
> ---
> 1. I edit source, compile and build WAR, EJB JAR, support class JAR, and
EAR
> on Windows 2K using ant.  I use the manifest.update feature to put class
> path info about classes used in both EJBs and Servlets into the EAR file.
> 2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
> 3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
> 4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried
sp2)
> running on a Sun server using WLS browser based admin tool.
> 5. The application uses Struts, log4j, rowtag among other things.
>
> Some Observations
> -
> 1. The size of my EAR file changes each time I run my ant build script.
> Looking inside the EAR I see that the compressed sizes of my WAR and EJB
> JAR, and support class JAR files change each time the EAR build is run
> (while the sizes of the original WAR and JARs remain the same - and the
> original and compressed sizes of all my 3rd party JARs also remain the
> same).
>
> 2. Also I notice that when the size of the EAR gets smaller then the app
is
> more likely to deploy ok.
>
> 3. If I attempt to redeploy the same EAR file over and over then I will
get
> the same number of errors each time.  If I recompile and deploy I will get
a
> different number of errors (or none).  If I have an EAR file that works
then
> I can redeploy that EAR file over and over and never get an error.
>
> 4. Have never seen the error when I deploy to JBOSS on my local Win 2K
> machine.
>
> Some Things I've tried
> --
> 1. change time out settings on http within WLS
> 2. deleting the old .ear file from WLS before redeploy
> 3. deleting the .wlnotdelete file from WLS before deploy
> 4. restarting the wls
> 5. undeploying, refreshing wls view, compiling, redeploying all in
different
> orders
> 6. holding my breath and crossing my fingers
> 7. not watching the deployment dos screen
> 8. watching the deployment dos screen
> 9. manually ftping the file to wls
> 10. wls running in debug mode
> 11. wls running in production mode
> 12. wls update from 6.1 to 6.1.4 something
> 13. removing all dos crlf from java and jsp in ant
> 14. touching all java and jsp files in ant
> 15. browsing ear and jar files for clues
> 16. asking wls admin for help
> 17. tracking size of ear files
> 18. noticing that ear file size changes even when no source has changed
> 19. suspecting something screwey with build process
> 20. stop wls during build
> 21. starting wls duing build
> 22. changed structure of EAR file
> 23. removed common classes from WAR and JAR and put in EAR with Manifest
> 24. put shared classes in a common JAR
> 25. updated from ant version 5.0 to 5.2
>
> I've been living with this for months now, but my patience with it is
> wearing out the closer I get to the due date.
>
> Any help very much appreciated.
>
> - Jim Piper
>
>
>
>
>
>
> -
> To unsubscribe, e-mail

Tiles Insert tag using EL expression

2003-04-04 Thread Trevor Nightingale
The jsp page listed below fails with 

[ServletException in:/tiles/common/sasWizardDataSource.jsp] Error - Tag Insert : Can't 
get definition '${map["selectedConnection"]}'. Check if this name exist in definitions 
factory.' 

The expression '${map["selectedConnection"]}' is not being resolved prior to the 
insert tag being actioned. Why is this and does anyone have any suggestions on how to 
work around it ?

Thanks is advance,
Trevor

Here is the page source.


<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

JSTL 
JSTL 
JSTL 










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



RE: html:link and array

2003-04-04 Thread Miriam Aguirre

 are you trying to create html links for all items in foos ? if so, you'll
need
  tags surrounding your html:link tags.
 And i think you mean name="foos" property="params.2"

-Original Message-
From: Brian Buckley [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:55 AM
To: Struts Users
Subject: html:link and array


Hello,

I've have an array of Foo (Foo[]) in requestScope under the name "foos".
Foo has a getParams() method that returns a Map.

The following is not working.

...

What is the correct syntax to use a specific array element in a html:link ?

Brian




-
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]



html:link and array

2003-04-04 Thread Brian Buckley
Hello,

I've have an array of Foo (Foo[]) in requestScope under the name "foos".
Foo has a getParams() method that returns a Map.

The following is not working.

...

What is the correct syntax to use a specific array element in a html:link ?

Brian




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



Re: Errors/Messages on Redirect

2003-04-04 Thread Cody Sherr
Brian,

I had the same problem. I did the following:

1) save the errors in the session instead of the request

2) wrote a method that takes the messages from the session, and puts it
into the request. I call that after my redirect is done.

I thought about having the .jsp pull it out of the session and display
it, but I was concerned about that being fragile if the user's control
flow somehow didn't lead to the message display page. So instead, I do
it in my controller (we're using tiles, too, so I have more than 1
action being called for every page).

I'd be interested in hearing what approach you took to solving this
problem.

cheers,

--
Cody Sherr

Software Engineer
Covalent Technologies, Inc.


On Fri, 2003-03-28 at 10:47, Brian K Bonner wrote:
> Has anyone else run into this scenario before?  I've searched the archives 
> and couldn't find much on the topic of errors and redirect.
> 
> During an action, I want may encounter an error condition and I want to 
> REDIRECT the user back to the page where they came from and pass along the 
> error.  I need to do a redirect to get the URL of the browser to reflect 
> the page where they came from (in case they bookmark the link).  If I 
> don't do a redirect then the page being displayed reflects the action they 
> were trying to perform and they are out of synch.
> 
> The problem with this is that I can't pass the ActionErrors / 
> ActionMessages on the request as they are lost with the redirect.
> 
> One option I've thought of is to put the data on the session and then 
> strip it off in the jsp--each request in a session would need to put data 
> in via a unique key that's not in the session (in the event of 
> simultaneous requests).
> 
> -
> 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: 12 month contract - Toronto - immediate start

2003-04-04 Thread Micael
Why would anyone be offended because they have special requirements.  What 
they need, clearly, is a very well trained and affable Java enterprise 
coder.  They are being clear that you should not waste your time if you are 
not qualified.  I like that.  I am sort of peripherally qualified for this 
position and have appreciated the candor.

Micael

At 10:13 AM 4/4/03 -0500, apachep2 wrote:
One thing offends me the most is

Excellent communication skills, both oral and written (10/10 essential)

Looks like they are looking for Winston Churchill.

-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: April 3, 2003 11:16 PM
To: Struts Users Mailing List
Subject: Re: 12 month contract - Toronto - immediate start
Thats because being males, we can only do one thing at a time!!

Scott
www.exergonic.com.au
On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> I'll be 46 years old before I qualify for that job :) .
>
> Andrew Hill wrote:
>
> >I see no struts here.
> >
> >And their minimum required experience adds up to 21 years...
> >
> >
> >-Original Message-
> >From: V. Cekvenich [mailto:[EMAIL PROTECTED]
> >Sent: Friday, 4 April 2003 10:19
> >To: [EMAIL PROTECTED]
> >Subject: Re: 12 month contract - Toronto - immediate start
> >
> >
> >Does this have anything to do with Struts?
> >.V
> >
> >
> >Jack Nodel wrote:
> >
> >
> >>Hi All,
> >>
> >>My name is Jack Nodel, I work with ARES consulting. Recently one of
my
> >>clients has asked me to locate contractors for a Toronto based 12
month
> >>contract.
> >>
> >>The following is the list of required technical skills. Excellent
> >>communication is an absolute must.
> >>
> >>
> >>We are searching for a subject matter expert with extensive
knowledge of
> >>
> >>
> >BEA
> >
> >
> >>WLI to assist and provide guidance. To qualify, the candidate must
have:
> >>£ 5+ years experience in the information technology industry
> >>£ 3 years of development experience on J2EE platform
> >>£ Hands on experience with E-Commerce design and application design
> >>£ Expert technical knowledge of the BEA workflow product
> >>£ Good technical architecture
> >>£ Good Java programming skills
> >>£ Experience with BEA Weblogic and Commerce Server exposure (nice to
have)
> >>£ Excellent communication skills, both oral and written (10/10
essential)
> >>
> >>MUST HAVE SKILLS:
> >>… J2EE development experience (Min. Experience 2-5yrs)
> >>… Enterprise Java Bean Development (Min. Experience of 2-5 yrs)
> >>… Oracle 9i (Min. Experience of 2-5 yrs)
> >>… WLI (Min. Experience of 1-2 yrs)
> >>… SQL (Min. Experience of 2-5 yrs)
> >>… XMLSpy (Min. Experience of 2-5 yrs)
> >>… CVS (Min. Experience of 1-2 yrs)
> >>… Java IDE: Eclipse (Min. Experience of 1-2 yrs)
> >>
> >>If you are interested PLEASE FORWARD RESUMES TO
> >>[EMAIL PROTECTED]
> >>
> >>I can also be reached at 416.480.2700 ext224.
> >>
> >>Thanks,
> >>
> >>Jack
> >>
> >>
> >
> >
> >
> >-
> >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]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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


Programmatically creating links to Struts forwards

2003-04-04 Thread Adam Sherman
I have the need to create a link to a Struts Forward in code, is there a 
Right Way to do this?

Should I go dig into the Javadoc for the html taglib?

Thanks,

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


re: HTTP response as XML

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Ted Husted wrote:

> Date: Fri, 04 Apr 2003 09:19:25 -0500
> From: Ted Husted <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: re: HTTP response as XML
>
> You might want to look at the digester for this. It is very good at
> converting JavaBeans to XML and back. See the RSS package for an example.
>
> http://jakarta.apache.org/commons/digester/api/org/apache/commons/digester/rss/package-frame.html
>
> You can then do your response up as a JavaBean, have the Digester
> convert that to XML, return XML as the response just as you would from a
> servlet (and return null to the Struts controller).
>

Digester is pretty good at XML->Java, but doesn't really help do
Java->XML.  However, a sibling Commons project called "betwixt" does a
pretty nice job of that.

>  From what you said, there's little reason to get a page involved, since
> the output is going to another application.
>

The discussed solutions for generating XML directly from your Action are
all viable.  However, if you are doing the XML in a fixed output format
and just need to insert dynamic data, one thing to consider is to use a
JSP page that outputs XML, and use the usual Struts tags for the dynamic
stuff -- say, something like this to generate a customer list:

  <%@ page contentType="text/xml" %>
  <%@ taglib prefix="bean" uri="..." %>
  <%@ taglib prefix="logic" uri="..." %>
  

  

  
  
  ...

  

This works best for simple RPC type environments where the output format
is relatively uncomplicated -- for something like a SOAP response, I'd
definitely use software that knows how to do all the headers and envelope
things.

> -Ted.
>

Craig

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



RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chappell, Simon P
Don't forget their ability to queue tasks as well. They can load a FIFO queue with 
honeydew's faster than we can unload them! :-)

>-Original Message-
>From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 11:16 AM
>To: Struts Users Mailing List
>Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
>
>
>
>On Fri, 4 Apr 2003, Chappell, Simon P wrote:
>
>> Date: Fri, 4 Apr 2003 10:38:40 -0600
>> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> To: Struts Users Mailing List <[EMAIL PROTECTED]>
>> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>>
>> Yup. And then I'm out-numbered ... a wife and two daughters. 
>It's funny
>> how bossy my three year old can be, she told me to stop working on my
>> laptop ("daddy's pewger") and sit on the couch with her while she eat
>> her snack! :-)
>>
>
>I'm outnumbered even when my kids aren't around ... remember, 
>my wife can
>multithread her requests for me to do things :-).
>
>> Simon
>
>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]



RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Chappell, Simon P wrote:

> Date: Fri, 4 Apr 2003 10:38:40 -0600
> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
> Yup. And then I'm out-numbered ... a wife and two daughters. It's funny
> how bossy my three year old can be, she told me to stop working on my
> laptop ("daddy's pewger") and sit on the couch with her while she eat
> her snack! :-)
>

I'm outnumbered even when my kids aren't around ... remember, my wife can
multithread her requests for me to do things :-).

> Simon

Craig

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



Re: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Daniel Jaffa
Dump WLS and go over to JBOSS in production.  We are currenly going to save
something like
500k  by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in
production.

- Original Message -
From: "Piper, James D CECOM SEC EPS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:51 AM
Subject: [OT] intermittent build and deploy Struts application to WLS pro
blem


> This is a bit OT (probably has nothing to do with struts), but the problem
> has gone from an irritation to annoying to really starting to tick me off.
I
> hope that since many of you are working with similar environments that you
> may be able to help me out here:
>
> Problem
> ---
> Intermittently when I deploy to WLS I will receive anywhere from 1 to
about
> 40 errors of the form: 'Public class blah blah blah must be defined in a
> file called blah blah blah' (I think these errors are thrown when the WLS
is
> attempting to recompile my EJB JAR within the server, not sure about that
> though).  The clinker is that if I change no source code, recompile and
> redeploy again, then occasionally I will not have the errors and
everything
> will run fine from there on in.
>
> There have been times where I have gone through the hair pulling process
of
> running my ant clean, ant build scripts, and attempting to deploy 10 times
> before all of the sudden Blamo, it works only to fail again the next
> time I need to recompile.
>
> Environment description
> ---
> 1. I edit source, compile and build WAR, EJB JAR, support class JAR, and
EAR
> on Windows 2K using ant.  I use the manifest.update feature to put class
> path info about classes used in both EJBs and Servlets into the EAR file.
> 2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
> 3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
> 4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried
sp2)
> running on a Sun server using WLS browser based admin tool.
> 5. The application uses Struts, log4j, rowtag among other things.
>
> Some Observations
> -
> 1. The size of my EAR file changes each time I run my ant build script.
> Looking inside the EAR I see that the compressed sizes of my WAR and EJB
> JAR, and support class JAR files change each time the EAR build is run
> (while the sizes of the original WAR and JARs remain the same - and the
> original and compressed sizes of all my 3rd party JARs also remain the
> same).
>
> 2. Also I notice that when the size of the EAR gets smaller then the app
is
> more likely to deploy ok.
>
> 3. If I attempt to redeploy the same EAR file over and over then I will
get
> the same number of errors each time.  If I recompile and deploy I will get
a
> different number of errors (or none).  If I have an EAR file that works
then
> I can redeploy that EAR file over and over and never get an error.
>
> 4. Have never seen the error when I deploy to JBOSS on my local Win 2K
> machine.
>
> Some Things I've tried
> --
> 1. change time out settings on http within WLS
> 2. deleting the old .ear file from WLS before redeploy
> 3. deleting the .wlnotdelete file from WLS before deploy
> 4. restarting the wls
> 5. undeploying, refreshing wls view, compiling, redeploying all in
different
> orders
> 6. holding my breath and crossing my fingers
> 7. not watching the deployment dos screen
> 8. watching the deployment dos screen
> 9. manually ftping the file to wls
> 10. wls running in debug mode
> 11. wls running in production mode
> 12. wls update from 6.1 to 6.1.4 something
> 13. removing all dos crlf from java and jsp in ant
> 14. touching all java and jsp files in ant
> 15. browsing ear and jar files for clues
> 16. asking wls admin for help
> 17. tracking size of ear files
> 18. noticing that ear file size changes even when no source has changed
> 19. suspecting something screwey with build process
> 20. stop wls during build
> 21. starting wls duing build
> 22. changed structure of EAR file
> 23. removed common classes from WAR and JAR and put in EAR with Manifest
> 24. put shared classes in a common JAR
> 25. updated from ant version 5.0 to 5.2
>
> I've been living with this for months now, but my patience with it is
> wearing out the closer I get to the due date.
>
> Any help very much appreciated.
>
> - Jim Piper
>
>
>
>
>
>
> -
> 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] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Daniel Jaffa
But just remember MEN you can always can get the last words with your wife.

yes dear, I will do it right away

or if you are in a hurry

yes dear

well do just fine

Daniel Jaffa
- Original Message -
From: "James Mitchell" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 11:49 AM
Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start


> On Fri, 2003-04-04 at 11:38, Chappell, Simon P wrote:
> > Yup. And then I'm out-numbered ... a wife and two daughters. It's funny
how bossy my three year old can be, she told me to stop working on my laptop
("daddy's pewger") and sit on the couch with her while she eat her snack!
:-)
>
> LOLthat's exactly how my 3 year old says it too!!!
>
> >
> > Simon
> >
> > >-Original Message-
> > >From: Robert Taylor [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, April 04, 2003 10:32 AM
> > >To: Struts Users Mailing List
> > >Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
> > >
> > >
> > >LOL! I learned that I'm it's my fault and I'm wrong.
> > >
> > >robert
> > >
> > >> -Original Message-
> > >> From: James Mitchell [mailto:[EMAIL PROTECTED]
> > >> Sent: Friday, April 04, 2003 11:19 AM
> > >> To: Struts Users Mailing List
> > >> Subject: Re: [OT] Re: 12 month contract - Toronto - immediate start
> > >>
> > >>
> > >>
> > >> On the topic of gender bashing.
> > >>
> > >> When my wife and I married, I knew I was marrying Miss Right, what I
> > >> didn't know was that her first name is 'Always'!!!
> > >>
> > >>
> > >>
> > >>
> > >> On Fri, 2003-04-04 at 11:12, Melissa L Kelley wrote:
> > >> > On 4 Apr 2003, Scott Barr wrote:
> > >> >
> > >> > Being female, I had to chuckle at that one ;)
> > >> >
> > >> > >
> > >> > > Thats because being males, we can only do one thing at a time!!
> > >> > >
> > >> > > Scott
> > >> > > www.exergonic.com.au
> > >> > >
> > >> > >
> > >> > > On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > >> > > > I'll be 46 years old before I qualify for that job :) .
> > >> > > >
> > >> > > > Andrew Hill wrote:
> > >> > > >
> > >> > > > >I see no struts here.
> > >> > > > >
> > >> > > > >And their minimum required experience adds up to 21 years...
> > >> > > > >
> > >> > > > >
> > >> >
> > >> >
> > >> > --> stu: www.stuology.net
> > >> > It just no longer is plain simple safe fun
> > >> > when it's the psycho chimp that has the ray gun
> > >> > 
> > >> > Stuology -- A million monkeys can't be wrong
> > >> >
> > >> >
> > >> >
> > >-
> > >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> > For additional commands, e-mail:
> > >[EMAIL PROTECTED]
> > >> --
> > >> James Mitchell
> > >> Software Developer/Struts Evangelist
> > >> http://www.open-tools.org
> > >>
> > >>
> > >>
> > >>
> > >> -
> > >> 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]
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://www.open-tools.org
>
>
>
>
> -
> 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: Authentication and Authorisation Newbie

2003-04-04 Thread wayne . lesley . lund
Brian,

You may want to look at other options.  For example, although WLS 8.1 
supports JAAS, they enourage the use of their entitlements system through 
their security SPI.  You should check out JSR 115.  Also, this is not a 
bad article:

http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html

I've been through similar experience as Mike below and found it confusing. 
 For WLS 6.1 we need to extended JAAS as it wasn't completely support - no 
authorization - and so wrote some JAAS extensions to support an (Role 
Based Authorization) RBAC model.  We're just working on designs now to see 
if we can deprecate in light of BEA's extensive security support with WLS 
8.1.

Hope that helps,

Wayne Lund
Accenture
Global Architecture and Core Technologies, Seattle
[EMAIL PROTECTED]
(p:) 206.839.2169
(c:) 206 849-6867
(o:) 239/2168




"Brian McSweeney" <[EMAIL PROTECTED]>
04/04/2003 07:16 AM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc: 
Subject:Re: Authentication and Authorisation Newbie

incredibly nice of you Mike.

Thanks so much, I'll read it over the weekend and mail you next week if
I have problems.

But before I start, once you understand JAAS, is it the right way to go in
terms of authentication and authorisation? Is it worth the trouble I mean.

thanks so much,
Brian


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 4:00 PM
Subject: RE: Authentication and Authorisation Newbie


> Let me tell you.Learning JAAS sucks.
> But, now that I have spent 2 months learning it, I will tell you...
> First, read the JavaWorld.com document on JBossSX and JAAS. That is a
start. But there are several things that confused the heck out of me.
> http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-jaas.html
>
> If, after reading that document, you have any questions, email me.
> BTW, Are you going to use the DatabaseServerLoginModule? It is very 
easy.
> Also, email me and I will send you the files I have as an example of 
using
DatabaseServerLoginModule
>
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 4:46 PM
> To: Struts Users Mailing List
> Subject: Authentication and Authorisation Newbie
>
>
> Hi all,
>
> I'm using JBoss and EJBs and struts as my web app.
> I've got some resources that are protected and for the
> moment I've written a Filter which protects them.
>
> However this may not be the best way to do this. I'm
> vaguely aware that J2EE can use JAAS and I can have
> things like roles and principles and that these can
> be propogated from the servlets to methods on the
> session facade and that this is probably the right
> way to go.
>
> However the limited bit of documentation that I've
> read on this seems very non-standard and confusing.
>
> I'd like to know people's experience with this area and
> any advice if possible.
>
> thanks very much,
> Brian
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> -
> 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]





Too many tags

2003-04-04 Thread Susan Bradeen
In a couple of my JSPs I currently define properties from my 
ApplicationResouces.properties file like this ...

  

  

Which is then used for column headings and such in my display like this 
... 

  

The problem is that I have *so* many  tags, and my resulting 
.java files are huge. I would like to pull out these s and 
put this "definition" code somewhere else, outside my JSPs. 

Is my only option to add all the "definitions" as properties to my 
ActionForm, then populate them in the Action with the something like ...

MessageResouces messages = getResouces(request);
myForm.setPriorityHeading(messages.getMessage("priority.heading"));

This will add quite a bit of code to my Action. Is there a way to access 
the ApplicationResources.properties file in an ActionForm? Then perhaps I 
could set these values within a form bean instead?

Perhaps I have made this way too difficult from the beginning?

Thank you,
Susan Bradeen
[EMAIL PROTECTED]

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



Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Jeff Caddel
I'm kinda partial to the 2-5 years required experience with Oracle 9i.

They are looking for a version of Winston Churchill who gained access to 
the Oracle 9i binaries back in April of  '98.  

A time traveling Winston Churchill...

One thing offends me the most is 

Excellent communication skills, both oral and written (10/10 essential)

Looks like they are looking for Winston Churchill.
 



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


[OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Piper, James D CECOM SEC EPS
This is a bit OT (probably has nothing to do with struts), but the problem
has gone from an irritation to annoying to really starting to tick me off. I
hope that since many of you are working with similar environments that you
may be able to help me out here:

Problem
---
Intermittently when I deploy to WLS I will receive anywhere from 1 to about
40 errors of the form: 'Public class blah blah blah must be defined in a
file called blah blah blah' (I think these errors are thrown when the WLS is
attempting to recompile my EJB JAR within the server, not sure about that
though).  The clinker is that if I change no source code, recompile and
redeploy again, then occasionally I will not have the errors and everything
will run fine from there on in.

There have been times where I have gone through the hair pulling process of
running my ant clean, ant build scripts, and attempting to deploy 10 times
before all of the sudden Blamo, it works only to fail again the next
time I need to recompile.

Environment description
---
1. I edit source, compile and build WAR, EJB JAR, support class JAR, and EAR
on Windows 2K using ant.  I use the manifest.update feature to put class
path info about classes used in both EJBs and Servlets into the EAR file.
2. ANT_HOME = \apache-ant-1.5.3Beta1 (also tried 1.5.2  and 1.5.1)
3. JAVA_HOME = \j2sdk_forte\jdk1.4.0 (also tried 1.3.1)
4. Attempting to deploy EAR to BEA Web Logic Server 6.1 sp4 (also tried sp2)
running on a Sun server using WLS browser based admin tool.
5. The application uses Struts, log4j, rowtag among other things.

Some Observations
-
1. The size of my EAR file changes each time I run my ant build script.
Looking inside the EAR I see that the compressed sizes of my WAR and EJB
JAR, and support class JAR files change each time the EAR build is run
(while the sizes of the original WAR and JARs remain the same - and the
original and compressed sizes of all my 3rd party JARs also remain the
same).  

2. Also I notice that when the size of the EAR gets smaller then the app is
more likely to deploy ok.

3. If I attempt to redeploy the same EAR file over and over then I will get
the same number of errors each time.  If I recompile and deploy I will get a
different number of errors (or none).  If I have an EAR file that works then
I can redeploy that EAR file over and over and never get an error.

4. Have never seen the error when I deploy to JBOSS on my local Win 2K
machine.

Some Things I've tried
--
1. change time out settings on http within WLS
2. deleting the old .ear file from WLS before redeploy
3. deleting the .wlnotdelete file from WLS before deploy
4. restarting the wls
5. undeploying, refreshing wls view, compiling, redeploying all in different
orders
6. holding my breath and crossing my fingers
7. not watching the deployment dos screen
8. watching the deployment dos screen
9. manually ftping the file to wls
10. wls running in debug mode
11. wls running in production mode
12. wls update from 6.1 to 6.1.4 something
13. removing all dos crlf from java and jsp in ant
14. touching all java and jsp files in ant
15. browsing ear and jar files for clues
16. asking wls admin for help
17. tracking size of ear files
18. noticing that ear file size changes even when no source has changed
19. suspecting something screwey with build process
20. stop wls during build
21. starting wls duing build
22. changed structure of EAR file
23. removed common classes from WAR and JAR and put in EAR with Manifest
24. put shared classes in a common JAR
25. updated from ant version 5.0 to 5.2

I've been living with this for months now, but my patience with it is
wearing out the closer I get to the due date.

Any help very much appreciated.

- Jim Piper


 

 

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



RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread James Mitchell
On Fri, 2003-04-04 at 11:38, Chappell, Simon P wrote:
> Yup. And then I'm out-numbered ... a wife and two daughters. It's funny how bossy my 
> three year old can be, she told me to stop working on my laptop ("daddy's pewger") 
> and sit on the couch with her while she eat her snack! :-)

LOLthat's exactly how my 3 year old says it too!!!  

> 
> Simon
> 
> >-Original Message-
> >From: Robert Taylor [mailto:[EMAIL PROTECTED]
> >Sent: Friday, April 04, 2003 10:32 AM
> >To: Struts Users Mailing List
> >Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
> >
> >
> >LOL! I learned that I'm it's my fault and I'm wrong.
> >
> >robert
> >
> >> -Original Message-
> >> From: James Mitchell [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, April 04, 2003 11:19 AM
> >> To: Struts Users Mailing List
> >> Subject: Re: [OT] Re: 12 month contract - Toronto - immediate start
> >> 
> >> 
> >> 
> >> On the topic of gender bashing.
> >> 
> >> When my wife and I married, I knew I was marrying Miss Right, what I
> >> didn't know was that her first name is 'Always'!!!
> >> 
> >> 
> >> 
> >> 
> >> On Fri, 2003-04-04 at 11:12, Melissa L Kelley wrote:
> >> > On 4 Apr 2003, Scott Barr wrote:
> >> > 
> >> > Being female, I had to chuckle at that one ;)
> >> > 
> >> > >
> >> > > Thats because being males, we can only do one thing at a time!!
> >> > >
> >> > > Scott
> >> > > www.exergonic.com.au
> >> > >
> >> > >
> >> > > On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> >> > > > I'll be 46 years old before I qualify for that job :) .
> >> > > >
> >> > > > Andrew Hill wrote:
> >> > > >
> >> > > > >I see no struts here.
> >> > > > >
> >> > > > >And their minimum required experience adds up to 21 years...
> >> > > > >
> >> > > > >
> >> > 
> >> > 
> >> > --> stu: www.stuology.net
> >> > It just no longer is plain simple safe fun
> >> > when it's the psycho chimp that has the ray gun
> >> > 
> >> > Stuology -- A million monkeys can't be wrong
> >> > 
> >> > 
> >> > 
> >-
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: 
> >[EMAIL PROTECTED]
> >> -- 
> >> James Mitchell
> >> Software Developer/Struts Evangelist
> >> http://www.open-tools.org
> >> 
> >> 
> >> 
> >> 
> >> -
> >> 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]
-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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



Re: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Becky Norum
On Fri, 2003-04-04 at 11:18, James Mitchell wrote:
> On the topic of gender bashing.
> 
> When my wife and I married, I knew I was marrying Miss Right, what I
> didn't know was that her first name is 'Always'!!!
> 

lol - thanks for the laugh, James.  I need that this morning!

Becky


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



RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chappell, Simon P
Yup. And then I'm out-numbered ... a wife and two daughters. It's funny how bossy my 
three year old can be, she told me to stop working on my laptop ("daddy's pewger") and 
sit on the couch with her while she eat her snack! :-)

Simon

>-Original Message-
>From: Robert Taylor [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 04, 2003 10:32 AM
>To: Struts Users Mailing List
>Subject: RE: [OT] Re: 12 month contract - Toronto - immediate start
>
>
>LOL! I learned that I'm it's my fault and I'm wrong.
>
>robert
>
>> -Original Message-
>> From: James Mitchell [mailto:[EMAIL PROTECTED]
>> Sent: Friday, April 04, 2003 11:19 AM
>> To: Struts Users Mailing List
>> Subject: Re: [OT] Re: 12 month contract - Toronto - immediate start
>> 
>> 
>> 
>> On the topic of gender bashing.
>> 
>> When my wife and I married, I knew I was marrying Miss Right, what I
>> didn't know was that her first name is 'Always'!!!
>> 
>> 
>> 
>> 
>> On Fri, 2003-04-04 at 11:12, Melissa L Kelley wrote:
>> > On 4 Apr 2003, Scott Barr wrote:
>> > 
>> > Being female, I had to chuckle at that one ;)
>> > 
>> > >
>> > > Thats because being males, we can only do one thing at a time!!
>> > >
>> > > Scott
>> > > www.exergonic.com.au
>> > >
>> > >
>> > > On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
>> > > > I'll be 46 years old before I qualify for that job :) .
>> > > >
>> > > > Andrew Hill wrote:
>> > > >
>> > > > >I see no struts here.
>> > > > >
>> > > > >And their minimum required experience adds up to 21 years...
>> > > > >
>> > > > >
>> > 
>> > 
>> > --> stu: www.stuology.net
>> > It just no longer is plain simple safe fun
>> > when it's the psycho chimp that has the ray gun
>> > 
>> > Stuology -- A million monkeys can't be wrong
>> > 
>> > 
>> > 
>-
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: 
>[EMAIL PROTECTED]
>> -- 
>> James Mitchell
>> Software Developer/Struts Evangelist
>> http://www.open-tools.org
>> 
>> 
>> 
>> 
>> -
>> 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] Scaffold:StorageBeanBase Use Cases???

2003-04-04 Thread Mete Kural
Thanks for the useful input Ted.

>I'm now working with transparent approaches now, like that used by 
>Hibernate.

Are you going to include classes to facilitate these approaches in the Scaffold 
package, or are they going to be in a seperate package? 
Do you think using JDO would be a good alternative to Hibernate? Why don't you go the 
JDO way? Is it because there is no good open source JDO implementation out there?

>The Access class was basically a Data Access Object/Repository class. 
>This does seem like the better way to go.

In that case I will use the Access class approach for an upcoming project. Should I 
subclass the AccessBase class for non-SQL data access or should I completely re-write 
my own Access class from scratch? I'm not doing any SQL access so do you think there 
is an incentive for me to subclass AccessBase to avoid some extra work?

Thanks a lot for all the useful information and your wonderful book :-)

Thanks,
Mete

-- Original Message --
From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date:  Fri, 04 Apr 2003 08:59:28 -0500

>The StorageBeanBase was designed for SQL. To employ another storage 
>method, so yes, the idea is that would define another StorageBean 
>implementation.
>
>Though, in practice, I wasn't happy with the way StorageBean deployed. 
>I'm now working with transparent approaches now, like that used by 
>Hibernate.
>
>The Access class was basically a Data Access Object/Repository class. 
>This does seem like the better way to go.
>
>-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] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Robert Taylor
LOL! I learned that I'm it's my fault and I'm wrong.

robert

> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 11:19 AM
> To: Struts Users Mailing List
> Subject: Re: [OT] Re: 12 month contract - Toronto - immediate start
> 
> 
> 
> On the topic of gender bashing.
> 
> When my wife and I married, I knew I was marrying Miss Right, what I
> didn't know was that her first name is 'Always'!!!
> 
> 
> 
> 
> On Fri, 2003-04-04 at 11:12, Melissa L Kelley wrote:
> > On 4 Apr 2003, Scott Barr wrote:
> > 
> > Being female, I had to chuckle at that one ;)
> > 
> > >
> > > Thats because being males, we can only do one thing at a time!!
> > >
> > > Scott
> > > www.exergonic.com.au
> > >
> > >
> > > On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
> > > > I'll be 46 years old before I qualify for that job :) .
> > > >
> > > > Andrew Hill wrote:
> > > >
> > > > >I see no struts here.
> > > > >
> > > > >And their minimum required experience adds up to 21 years...
> > > > >
> > > > >
> > 
> > 
> > --> stu: www.stuology.net
> > It just no longer is plain simple safe fun
> > when it's the psycho chimp that has the ray gun
> > 
> > Stuology -- A million monkeys can't be wrong
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> -- 
> James Mitchell
> Software Developer/Struts Evangelist
> http://www.open-tools.org
> 
> 
> 
> 
> -
> 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: Netscape and struts-html.tld-Eventhandler

2003-04-04 Thread Karr, David
The "onclick" in "" is not a "handler", it is a custom tag
attribute.  The Tag Library Descriptor describes those attributes,
including their exact spelling.  If the TLD specifies a particular
spelling, then you have to use that spelling.  If you want to write
JavaScript functions that follow that convention you describe, then
that's fine.  Reference those function names in the value of the
"onclick" attribute.

> -Original Message-
> From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]
> 
> Hi @ all,
> 
> I have aproblem with Netscape 4.7, 6.0 and 6.1 and the eventhandler.
> 
> according to the W3C an eventhandler schould start with lowercase
> characters. The next character should be capitalized.
> e.g. onClick, onBlur. But Struts allows only lowercase characters.
> . If i use "onClick" an error occurs of
course.
> 
> Is there any solution except avoid using STRUTS-tlds.
> I know i can solve the problem by using  but
this
> is not the basic idea of STRUTS.

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



  1   2   >