Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Julian
Hi all,

I am an avid user of Cocoon and really love the
sitemap concept.  I am wondering if the current
direction of the struts-chain component is to only
manage action chaining.IMHO, Struts is great as a
controller, but not nec. for the View in the MVC
world.  In other words, will it be possible to have an
analogous process to Coccon pipelines in Struts or is
it best to use the Cocoon plugin for "view"
processing?  I really enjoy how the seperation of
concerns has been achieved with Cocoon, but for
similar reasons, I cannot use Cocoon's Forms paradigm
or Java Server Faces yet.

Thanks in advance,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Julian
Don,

  Thanks for the prompt reply.  Comments inline:

> The difference as I see it is struts-chain benefits
> the controller
> process, in other words, the process that is global
> to all requests. 
> The actual handling of the request, the "action", is
> still one class. 
> Cocoon, as I understand it, works the other way
> around with the global
> request processing fixed, but a lot of flexibility
> at the action
> level.  

I feel having flexibility at the action level to be
more desireable for performance reasons and
fine-grained control over particular requests.  For
example, imagine I have a workflow component that
evaluates if a given request is involved in a
workflow.  If this set of requests pertains only to
certain URLs, why should every request have to go
through this command?  The same would apply for a
Authentication command, a controller managing
application integration, and so on...

On the other hand, having a global view is already
achievable via the Servlet's filter model.  Perhaps
the intention is not to rely on this implementaion
specific?

>Even then, Cocoon focuses more on the view
> through the SAX
> pipelines so it has a more robust view processing
> model enabled
> through SAX.  I still think combining Struts and
> Cocoon is the best
> solution to get the best of both worlds - Struts for
> controller
> processing, Cocoon for view rendering.  Throw in
> Struts Flow
> (http://struts.sf.net/flow) and you can still use
> continuations-based
> flowscript.

I agree, although I am skeptical of the javascript
approach.  I have read that the performance is
dramatically less and that the changes to the Rhino
engine exist as a fork.  Again, not sure if this is
FUD, but it is a concern.  My preference would be to
output XML from Struts and pass it to a Coocon
pipeline for processing the view.  I have more
research to do obviously and appreciate any feedback.

That's about it, thanks.

Julian


> That is, at least, how I understand it today.  I
> know Ted was doing
> some work in writing apps where there was no concept
> of an "action",
> but the action implementation simply looked up and
> executed a chain
> itself.  As we get chain into Struts, we will see a
> number of
> possibilities open up that may redefine how we think
> of actions.  If
> you have any ideas of a better way to use struts
> chain, post some code
> and/or thoughts.
> 
> Don
> 
> 
> On Wed, 10 Nov 2004 08:37:36 -0800 (PST), Julian
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > 
> > I am an avid user of Cocoon and really love the
> > sitemap concept.  I am wondering if the current
> > direction of the struts-chain component is to only
> > manage action chaining.IMHO, Struts is great
> as a
> > controller, but not nec. for the View in the MVC
> > world.  In other words, will it be possible to
> have an
> > analogous process to Coccon pipelines in Struts or
> is
> > it best to use the Cocoon plugin for "view"
> > processing?  I really enjoy how the seperation of
> > concerns has been achieved with Cocoon, but for
> > similar reasons, I cannot use Cocoon's Forms
> paradigm
> > or Java Server Faces yet.
> > 
> > Thanks in advance,
> > Julian
> > 
> > =
> > Live simply so others may simply live.
> > 
> > -Ghandi
> > 
> > Pluralitas non est ponenda sine neccesitate.
> > "Entities should not be multiplied unneccesarily"
> > 
> > -William of Occam
> > 
> > __
> > Do you Yahoo!?
> > Check out the new Yahoo! Front Page.
> > www.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]
> 
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: Struts-Chain Roadmap and Inevitable Cocoon Analogy

2004-11-10 Thread Julian
Joe,

I wrote a long email explaining my position and it got
deleted...errrgg!  Anyway, my point came down to a
simple statement:

Struts needs to create a config file analagous to that
of Cocoon's sitemap.

My reasoning is as folllows:
 I see a webapp framework somewhat like message
oriented middleware, but directed to the end client. 
It should be capable of handling various inputs on
several different protocols.  For example, handling
POST requests from HTML browser or a SOAP requests
from a BPEL-WS system...all while being able to
validate input, initiate various processes, and
finally generate a response.  All this activity should
be configurable based on the URL being requested at
both the M and V levels of MVC.  Finally, the Struts
developer should be able to handle each request with
any controller chain they choose and target several
platforms.  Cocoon manages this with the Forms
framework...which is analogous in many ways to JSF. 
My skepticism arises from the constanly chagning face
of the web, emerging protocols, and new target
devices.  I see no way that Cocoon forms or JSF
renderkits can keep up with this change.  In
conclusion, it is a necessity to be able to plugin any
new URL to a webserver and have it produce the desired
view.  I hope this makes sense and is not to broad of
any answer.  I more than happy to clarify.

Comments appreciated,
Julian

--- Joe Germuska <[EMAIL PROTECTED]> wrote:

> At 8:37 AM -0800 11/10/04, Julian wrote:
> >Hi all,
> >
> >I am an avid user of Cocoon and really love the
> >sitemap concept.  I am wondering if the current
> >direction of the struts-chain component is to only
> >manage action chaining.IMHO, Struts is great as
> a
> >controller, but not nec. for the View in the MVC
> >world.  In other words, will it be possible to have
> an
> >analogous process to Coccon pipelines in Struts or
> is
> >it best to use the Cocoon plugin for "view"
> >processing?  I really enjoy how the seperation of
> >concerns has been achieved with Cocoon, but for
> >similar reasons, I cannot use Cocoon's Forms
> paradigm
> >or Java Server Faces yet.
> 
> I don't think that there's any reason to limit
> struts-chain to 
> "action chaining."  There's no reason one couldn't
> define view 
> processing chains as well.  I don't know Cocoon well
> enough to 
> explain how struts-chain would be used to make an
> analogous process, 
> but it certainly sounds like something Struts Chain
> could do.
> 
> There's a lot of other discussion going on the user
> list right now 
> about whether Struts needs a concept of a "view
> controller" or not, 
> and if so, how one might implement it.
> 
> Maybe you could articulate some of the shortcomings
> you see in how 
> Struts fails "for the View in the MVC world" or what
> you'd want to do 
> that it doesn't do now, in use-case terms.
> 
> Joe
> 
> PS as I was writing this, Don Brown responded,
> pointing out correctly 
> that true pipelining won't be what Struts does,
> since it's not using 
> SAX.  However, you could probably approximate the
> behavior by 
> chaining together commands which operate on the
> context.
> 
> --
> Joe Germuska
> [EMAIL PROTECTED]  
> http://blog.germuska.com
> "In fact, when I die, if I don't hear 'A Love
> Supreme,' I'll turn 
> back; I'll know I'm in the wrong place."
> - Carlos Santana


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



[OT] User Preference System Design

2004-11-16 Thread Julian
Hi, I am a Struts Newbie and would appreciate if
anyone could give me some pointers on a user
preferences/ configuration system design.  Perhaps a
link to a good resource?  I have an ASP system with
several levels of "users" that are as broad as an
organization and as fine-grained as an individual
person with one role.  I would like to have a
preference system that can handle configuration and
preference issues for the different levels of the
application.  The information stored in these
configurations range from font colors and alert boxes
to the availability of various modules in the web
application.  Currently the information is stored in
xml files on the server's hard disk, but this will not
suit a distributable environment.  Any suggestions are
greatly appreciated.

Thanks in Advance,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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



Re: [OT] User Preference System Design

2004-11-17 Thread Julian
Hi,

Thanks for the input.  The Properties object is more
inline with what I was thinking.  The problem with it
however, is that there can only be one key/value pair.
 I see no ability to have one key with multiple pairs
other than doing comma delimitation.  This is why XML
was chosen originally.  The problem with it now is
that it is not stored in an RDBMS, and I am unaware of
the scalability of a user preferences system based on
XML.Comments/Suggestions?

Thanks again,
Julian

--- Erik Weber <[EMAIL PROTECTED]> wrote:

> I like java.util.Properties, or, if Strings aren't
> good enough, another 
> wrapper for a Map that allows put/get of Objects but
> that uses a 
> hierarchical default system like Properties does.
> Properties has built 
> in load/save methods that you can use to store your
> properties on disk 
> until you move them to a RDBMS. Base user has colors
> A, B, C. Next 
> higher user needs to have a different color A but
> inherit colors B and 
> C. Create his properties with the Base user
> properties as the default, 
> then just put the new property A. Works nicely for
> that sort of thing.
> 
> Erik
> 
> 
> Julian wrote:
> 
> >Hi, I am a Struts Newbie and would appreciate if
> >anyone could give me some pointers on a user
> >preferences/ configuration system design.  Perhaps
> a
> >link to a good resource?  I have an ASP system with
> >several levels of "users" that are as broad as an
> >organization and as fine-grained as an individual
> >person with one role.  I would like to have a
> >preference system that can handle configuration and
> >preference issues for the different levels of the
> >application.  The information stored in these
> >configurations range from font colors and alert
> boxes
> >to the availability of various modules in the web
> >application.  Currently the information is stored
> in
> >xml files on the server's hard disk, but this will
> not
> >suit a distributable environment.  Any suggestions
> are
> >greatly appreciated.
> >
> >Thanks in Advance,
> >Julian
> >
> >=
> >Live simply so others may simply live. 
> > 
> >-Ghandi 
> > 
> >Pluralitas non est ponenda sine neccesitate.
> >"Entities should not be multiplied unneccesarily" 
> > 
> >-William of Occam
> >
> >
> >
> >
> >
> > 
> >__ 
> >Do you Yahoo!? 
> >The all-new My Yahoo! - Get yours free! 
> >http://my.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]
> 
> 

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: [OT] User Preference System Design

2004-11-17 Thread Julian
Michael,

Very informative article.  What are your thoughts on
storing user preferences as xml in a user preferences
table?  I think your approach would work well, but I
alreay have code for parsing XML files.  Ultimately, I
would like the benefits of storing this data in a
database (security, scalability, distributable), but
also the benefits of XML hierachies (1...*
relationships, code generation tools).

Thanks,
Julian

--- Michael Klaene <[EMAIL PROTECTED]> wrote:

> I would say that 'system' level
> configurations(applying to all users) could easily
> be handled with XML files or properties files.  User
> preferences, since they are tied to a specific user,
> IMO belong in the database, probably in a user
> preferences table.  I know XML is a popular choice -
> you could create a seperate folder, for each user,
> to hold user settings (like a preferences.xml file),
> or you could store all user info in one monolithic 
> file.  I don't much like either of these approaches.
>  I prefer to store application-specific
> configurations in the database, using 'codelist'
> tables.  I wrote an article about it a few months
> ago, have a look if you want:
>  
> http://www.developer.com/db/article.php/3413151
> 
> I wrote an app where I stored all preferences in
> codelist tables.  Then, I had a user_preferences
> table that, instead of referencing a preference_id
> in a preference table, referenced a preference in a
> codelist name which was about 5 characters in
> length.
>  
> Mike
> 
> Daniel Perry <[EMAIL PROTECTED]> wrote:
> The most common way to store more than one element
> in a properties file is
> to have more than one entry like the following:
> 
> colour.count=3
> colour.0=red
> colour.1=green
> colour.2=blue
> 
> So your code loads the property for colour.count and
> loops through the other
> properties. Not very elegant, but it works.
> 
> Daniel.
> 
> > -Original Message-
> > From: Julian [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 14:08
> > To: Struts Users Mailing List
> > Subject: Re: [OT] User Preference System Design
> >
> >
> > Hi,
> >
> > Thanks for the input. The Properties object is
> more
> > inline with what I was thinking. The problem with
> it
> > however, is that there can only be one key/value
> pair.
> > I see no ability to have one key with multiple
> pairs
> > other than doing comma delimitation. This is why
> XML
> > was chosen originally. The problem with it now is
> > that it is not stored in an RDBMS, and I am
> unaware of
> > the scalability of a user preferences system based
> on
> > XML. Comments/Suggestions?
> >
> > Thanks again,
> > Julian
> >
> > --- Erik Weber wrote:
> >
> > > I like java.util.Properties, or, if Strings
> aren't
> > > good enough, another
> > > wrapper for a Map that allows put/get of Objects
> but
> > > that uses a
> > > hierarchical default system like Properties
> does.
> > > Properties has built
> > > in load/save methods that you can use to store
> your
> > > properties on disk
> > > until you move them to a RDBMS. Base user has
> colors
> > > A, B, C. Next
> > > higher user needs to have a different color A
> but
> > > inherit colors B and
> > > C. Create his properties with the Base user
> > > properties as the default,
> > > then just put the new property A. Works nicely
> for
> > > that sort of thing.
> > >
> > > Erik
> > >
> > >
> > > Julian wrote:
> > >
> > > >Hi, I am a Struts Newbie and would appreciate
> if
> > > >anyone could give me some pointers on a user
> > > >preferences/ configuration system design.
> Perhaps
> > > a
> > > >link to a good resource? I have an ASP system
> with
> > > >several levels of "users" that are as broad as
> an
> > > >organization and as fine-grained as an
> individual
> > > >person with one role. I would like to have a
> > > >preference system that can handle configuration
> and
> > > >preference issues for the different levels of
> the
> > > >application. The information stored in these
> > > >configurations range from font colors and alert
> > > boxes
> > > >to the availability of various modules in the
> web
> > > >application. Currently the information is
> stored
> > > in
> > > >xml files on the server's hard

Re: [OT] User Preference System Design

2004-11-17 Thread Julian
Comments inline:

--- Dakota Jack <[EMAIL PROTECTED]> wrote:

> You received several answers about security, but
> that is not what you
> want, right?  You want to be able to set and to
> deliver user
> preferences.  

Exactly.

>As part of any suggestion about how
> you should do this,
> one would need to know what the app is all about. 
> Different solutions
> for different problems is key, no?

There are two types of data that I would want to
access.  One is user preferences and the other is
user's application configuration.  The preferences
would include information about alert boxes, GUI
skins, "favorites" information.  The "favorites"
information is related to the data that entered into
frequently filed out forms (enabling the user to
quickly auto-fill a form).  The application
configuration indicates what functionalities of the
application are available for a particular user. A
user would be able to inherit configurations and
preferences from the group they belong to based on
their role(s - this is a one-to-many relationship - 1
user --- * role(s)).  The group would in turn inherit
from the organization's (global) configurations and
preferences.  There are several organizations, each
isolated from another, so the configurations would
have to be uniquely associated with an organization
and inspected at runtime.  I currently am loading XML
configs directly from the file system, but this will
not work in a distributed environment serving several
independent organizations.  Users will be able to
update some of the information in these configurations
and preferences.  Thanks a ton. Julian

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: [OT] User Preference System Design

2004-11-17 Thread Julian
I forgot to mention:
1) I cannot use Xindice since I do not feel it is
viable.
2) I expect to have thousands of users with a moderate
load.
3) I am leaning towards Michael's suggestion:
http://www.developer.com/db/print.php/10920_3413151_1
Comment appreciated :)


Thanks again, Julian



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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



Re: [OT] User Preference System Design

2004-11-17 Thread Julian
Hey Michael,

Thanks for the input, you've offered me some great
insight.  I was wondering if you may know a good
resource that discusses database design patterns like
the codelist or a line table?  Otherwise, afaik I have
stored XML in the database and it's great if you just
transform it to an outputstream.  However, trying to
make some decisions based on the xml requires parsing
into the application's domain model.  This issue
concerns me when it comes to using XML for user
preferences.  It sounds like your approach may be more
scalable.  Ok, I have to think about it.

thanks again,

Julian

--- Michael Klaene <[EMAIL PROTECTED]> wrote:

> I'd like to learn more about storing XML in the
> database myself.  I really haven't had much
> experience there so I couldn't say if it is
> beneficial or not.  I started out as a database
> developer so I tend to rely heavily on the database
> for a number of things, system prefs being one of
> those things.  Oracle( as I'm sure other vendors do
> as well) uses 'codelist' tables for storing a great
> deal of application metadata and I've always liked
> that approach.  
>  
> As I said, I wrote/am still writing a system where I
> define codelists that define different preferences
> ('show_x', 'hide_a'). A user preferences table
> contains user_id, but also columns name and value
> which would include 'show_x'/'true',
> 'hide_a'/'false'). 
>  
> Mike
>   
> 
> Julian <[EMAIL PROTECTED]> wrote:
> I forgot to mention:
> 1) I cannot use Xindice since I do not feel it is
> viable.
> 2) I expect to have thousands of users with a
> moderate
> load.
> 3) I am leaning towards Michael's suggestion:
>
http://www.developer.com/db/print.php/10920_3413151_1
> Comment appreciated :)
> 
> 
> Thanks again, Julian
> 
> 
> 
> __ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>   
> -
> Do you Yahoo!?
>  The all-new My Yahoo! – Get yours free!


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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



Validator PlugIn and PDAs

2004-11-19 Thread Julian
Hi all,

I am sorry if this has been answered before, but the
search functionality on the mailing list is down.  So
here it goes:

Does the validator plugin have support for handheld
browsers such as PocketPC or Palm?  AFAIK, pocketPC
only supports JScript so this may be a problem since
all the files for scripting are written in Javascript.
 If PocketPC, etc. is not supported, is it possible to
send different scripts to different clients types
(e.g. Javascript to "normal" browsers and JScript to
pocketPC IE)? 

Thanks in advance,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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



Common Chain 1.0 and Struts Chain

2004-12-10 Thread Julian
Hi,

I was wondering if the release of Commons Chain 1.0
will enable a "Best Available" release of Struts with
struts-chain?  If not, how stable is the COR stuff in
Struts?

Thanks,
Julian



__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

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



Struts-Chain Nightly Build Is Empty

2004-12-15 Thread Julian
Hi,

 I am trying to download a build of struts-chain from
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-chain/
 , but when I try to unzip any of the files, they are
empty.  Is this the wrong location for nightly builds
or are they not available?

Thanks,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

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



[Struts-Chain] Only one chain for entire request lifecycle?

2004-12-15 Thread Julian
Hi,

I was looking at the struts-chain config
(http://cvs.apache.org/viewcvs.cgi/jakarta-struts/contrib/struts-chain/src/conf/chain-config.xml?rev=1.10&view=markup)
 and was wondering if one can apply different chains
depending on the request URI?  From what is available
in the SVN repository it looks like all requests go
through the "servlet-standard" chain.  This leads me
to presume one cannot define "servlet-standardA",
"servlet-standardB", and so on...that would map to
different requests.  My hopes is that the chain
mapping would be synonymous with Cocoon's sitemap
concepts with several "pipelines".

Thanks in advance,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam







__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

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



RE: [Struts-Chain] Only one chain for entire request lifecycle?

2004-12-16 Thread Julian
David,

  Comments inline:

--- "David G. Friedman" <[EMAIL PROTECTED]> wrote:

> Julian,
> 
> If you just need to invoke a chain, you can make
> your action be
> "org.apache.struts.chain.legacy.ChainAction".  

 Great thanks

>If
> you need some actions to
> do chain "A" and some to do chain "B" THEN do
> execute other logic in the
> action, subclassing ChainAction might be the best
> course.  Your subclass
> could have an execute() which calls super.execute(),
> then calls your own
> Java statements.

 Invoking different chains based on Action code is not
what I had in mind.  I think maybe I did not explain
myself well enough.  If I needed some actions to do
chain "A" and some to do chain "B", why would I not do
the following?





I think we are on the same page and this is how one
would do this.  Correct me if I am wrong, but it seems
the wonders of email have distorted the conversation
;)

Thanks,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



[Struts-Chain] Correct Me If I'm Wrong

2004-12-16 Thread Julian
Hi,

ok, I've been looking at the struts-chain stuff and
have been trying to figure out how to do sub-chains. 
The reason I wanted to do this was b/c I thought one
had to start from the servlet-standard chain example
in the SVN repository and insert more commands (or
copy the whole to start a new chain).  I know believe
that it is only nec. if I want legacy support. 
However there is another request processor that would
let me define my own chains from scratch that don't
include all the steps in the "servlet-standard" chain.
 For example:

  
  


So, I don't need ValidateActionForm, ExecuteAction, or
any other commands in my chain (from SVN
chain-config.xml), right?  And the above chain will
work perfectly fine.  Also, what significance does the
catalogName attribute have in the command tag?  Are
there any docs on struts-chain?

Thanks,
Julian

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Julian
Joe,

Thanks a lot.  I will plan on implementing the chain
after a bit more due dilligence.  btw, I agree on
making a seperate jar for the set of commands which
provide legacy support.  Thanks.

-Julian

--- Joe Germuska <[EMAIL PROTECTED]> wrote:

> At 6:28 AM -0800 12/10/04, Julian wrote:
> >Hi,
> >
> >I was wondering if the release of Commons Chain 1.0
> >will enable a "Best Available" release of Struts
> with
> >struts-chain?  If not, how stable is the COR stuff
> in
> >Struts?
> 
> The struts-chain was working just fine against
> pre-1.0 releases of 
> Struts Chain.  If you're interested, there's no
> reason to wait.  It 
> will be longer before you can download a nightly
> build of Struts 
> which uses the Chain request processor, but work on
> that was mostly 
> waiting for the 1.0 release (and for time, which
> unfortunately I've 
> had a short supply of, and this time of year, it
> will continue that 
> way.)
> 
> I have a few pending questions on the dev list that
> I may need to 
> re-raise about a few implementation details, but now
> that 1.0 is 
> fully released, I do hope to begin making changes to
> the core code 
> base to use commons-chain and the Composable Request
> Processor.  I 
> don't see the point of just merging struts-chain
> into the 'core' 
> project and cutting a release; rather, we'll want to
> obsolete the 
> PlugIn which configures the command catalogs in
> struts-chain in favor 
> of direct support in the ActionServlet.  I am also
> inclined to 
> package the set of commands which provide legacy
> Struts support as a 
> separate JAR, rather than pushing a few dozen
> classes into the core 
> which in some sense are legacy bound.  (Whether
> there's consensus on 
> that is one of the questions to re-raise on the dev
> list.)
> 
> I've been using struts-chain in a production project
> for close to a 
> year now (including original development time).  We
> flushed a few 
> bugs out along the way, but it's fundamentally
> stable with Struts 
> 1.2.x.
> 
> Joe
> 
> -- 
> Joe Germuska
> [EMAIL PROTECTED]  
> http://blog.germuska.com
> "Narrow minds are weapons made for mass destruction"
>  -The Ex
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


RE: [Struts-Chain] Only one chain for entire request lifecycle?

2004-12-16 Thread Julian
Joe,

I am including a list of things from the top of my
head that I like about Cocoon sitemaps, and how it
translates into struts-chain.  I would like to say
that maybe this is a great area for cross-pollination.
   Why reinvent the wheel?  Perhaps a commons package
shared by the Cocoon developers and Struts developers
for these webapp request processor configurations.  On
the other hand maybe it is too late for this type of
activity?  Anyway, here it goes:

1) The ability to declare variables that can be used
throughout all chains (e.g. a variable defining a root
jndi context name).  The variable could be used in the
chain to affect very basic flow.  The variable also
could be passed into the Command objects.

2) A reload attribute on the entire chain config or
may be individual chains.  This would enable faster
development...if the config is changed, it is visible
without a servlet container restart.

3) Chain definitions bound to a variable name (I
believe Craig proposed this).  This would be similar
to Cocoon's cocoon.xconf's input/output modules in the
WEB-INF dir:

This particular snippet binds the string
"request-param" to an object that allows one to access
the request object of the servlet container...e.g.
request-param:userID

4) URI protocol handling for initializing, pulling
sources from, or redirecting to other chains.  Similar
to Cocoon's "cocoon:/" and "cocoon://" protocols.
>From Cocoon's site:
 context://  - get a resource using the servlet
context
 cocoon:/ - get a pipeline from the current sitemap
 cocoon:// - get a pipeline using the root sitemap
 resource:// - get a resource from the context
classloader

Well I think it is clear by now that I really like
some of the Cocoon architecture ;).  Anyway, I think
the Cocoon sitemap paradigm is a developer's dream and
nightmare at once.  The dream is the URI handling with
regex matching, sub-sitemaps, and the array of
generators, transformers, and serializers.  However,
the nightmare is the learning curve and the bloat.  I
hope that by writing this email...this newbie can
translate some Cocoon experience into something
valuable for all.

regards,
Julian

p.s. some resources
http://cocoon.apache.org/2.1/userdocs/concepts/index.html
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


[Struts-Chain] Exception loading resources chain-config.xml

2004-12-20 Thread Julian
Hi,

I cannot seem to load the struts-chain config
properly.  I have tried packaging it in the root
directory of my jar, placing it in /WEB-INF/classes,
and just in plain old WEB-INF...but to no avail.  I
keep getting an servletexception thrown at
org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn.init(CatalogConfiguratorPlugIn.java:147)
  I have tried the following:

  

  

  

  

  

  

  

  

Thanks in advance,
Julian

=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

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



Re: [Struts-Chain] Exception loading resources chain-config.xml

2004-12-20 Thread Julian
btw, I have also tried the config with the "property"
attribute of the "set-property" tag set as "path"
instead of resource.

 wrote:

> Hi,
> 
> I cannot seem to load the struts-chain config
> properly.  I have tried packaging it in the root
> directory of my jar, placing it in /WEB-INF/classes,
> and just in plain old WEB-INF...but to no avail.  I
> keep getting an servletexception thrown at
>
org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn.init(CatalogConfiguratorPlugIn.java:147)
>   I have tried the following:
> 
>   
className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
>  value="/chain-config.xml"/>
>   
> 
>   
className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
>  value="chain-config.xml"/>
>   
> 
>   
className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
>  value="/WEB-INF/chain-config.xml"/>
>   
> 
>   
className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
>  value="WEB-INF/chain-config.xml"/>
>   
> 
> Thanks in advance,
> Julian
> 
> =
> Live simply so others may simply live. 
>  
> -Ghandi 
>  
> Pluralitas non est ponenda sine neccesitate.
> "Entities should not be multiplied unneccesarily" 
>  
> -William of Occam
> 
> 
> 
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile
> phone. 
> http://mobile.yahoo.com/maildemo 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 

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



Re: [Struts-Chain] Exception loading resources chain-config.xml

2004-12-20 Thread Julian
Hi again :)

well, i wrapped the class and had it print out the
variables for the path, resource, and configResource
to the logswell no surprise they were all null.  I
used your config below and placed the chain-config.xml
in the WEB-INF dirroot cause:
java.lang.NullPointerException.  So perhaps I do not
have the right struts-chain jar?  It is titled
struts-chain-0.5-dev.jar.  I find this
doubtful...since it seems that the properties are just
not getting set.  any ideas?  could this be some crazy
classpath issue?

Thanks again,
Julian

--- Joe Germuska <[EMAIL PROTECTED]> wrote:

> Here's one which works in my application:
> 
>
className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
>   value="/WEB-INF/chain-config.xml" />
>
> 
> If the "path" property is set, then the file is 
> sought in the servlet context.  It sounds as 
> though you've tried this, but thought I'd give 
> you an example anyway.
> 
> if the "resource" property is set, then the file 
> is sought on the classpath, and if it's in the 
> root of a JAR or WEB-INF/classes, I'd think this 
> would work:
> 
> >  >>  >
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="chain-config.xml"/>
> >>
> 
> Technically, "resource" is evaluated first.
> 
> Is it possible to catch the exception and call 
> ex.getRootCause() ?  Perhaps you could write a 
> very simple subclass of CatalogConfiguratorPlugIn 
> which just catches the exception and inspects the 
> root cause?  Maybe it's a parsing error or 
> something instead of a file-not-found problem?
> 
> Joe
> 
> 
> 
> 
> At 11:34 AM -0800 12/20/04, Julian wrote:
> >btw, I have also tried the config with the
> "property"
> >attribute of the "set-property" tag set as "path"
> >instead of resource.
> >
> > >
> >
> >-Julian
> >
> >--- Julian <[EMAIL PROTECTED]> wrote:
> >
> >>  Hi,
> >>
> >>  I cannot seem to load the struts-chain config
> >>  properly.  I have tried packaging it in the root
> >>  directory of my jar, placing it in
> /WEB-INF/classes,
> >>  and just in plain old WEB-INF...but to no avail.
>  I
> >>  keep getting an servletexception thrown at
> >>
>
>org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn.init(CatalogConfiguratorPlugIn.java:147)
> >>I have tried the following:
> >>
> >> >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="/chain-config.xml"/>
> >>
> >>
> >  >>  >
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="chain-config.xml"/>
> >>
> >  >
> >> >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="/WEB-INF/chain-config.xml"/>
> >>
> >>
> >> >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="WEB-INF/chain-config.xml"/>
> >>
> >>
> >>  Thanks in advance,
> >>  Julian
> >>
> >>  =
> >>  Live simply so others may simply live.
> >>
> >>  -Ghandi
> >>
> >>  Pluralitas non est ponenda sine neccesitate.
> >>  "Entities should not be multiplied
> unneccesarily"
> >>
> >>  -William of Occam
> >>
> >>
> >>
> >>
> >>
> >>
> >>  __
> >>  Do you Yahoo!?
> >>  Take Yahoo! Mail with you! Get it on your mobile
> >>  phone.
> >>  http://mobile.yahoo.com/maildemo
> >>
> >>
>
>-
> >>  To unsubscribe, e-mail:
> >>  [EMAIL PROTECTED]
> >>  For additional commands, e-mail:
> >>  [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >=
> >Live simply so others may simply live.
> >
> >-Ghandi
> >
> >Pluralitas non est ponenda sine neccesitate.
> >"Entities should not be multiplied unneccesarily"
> >
> >-William of Occam
> >
> >
> >
> >
> >
> >
> >__
> >Do you Yahoo!?
> >All your favorites on one personal page ñ Try My
> Yahoo!
> >http://my.yahoo.com
> >
>
>-
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> --
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
> "Narrow minds are weapons made for mass destruction"
>  -The Ex
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: [Struts-Chain] Exception loading resources chain-config.xml

2004-12-20 Thread Julian
ok here is some more info.  In my subclass of
CatalogConfiguratorPlugIn, I logged any calls to
setPath or setResource.  So when the server starts the
values are never set b/c the methods are never called.
 When I harcode the value, I get an error message that
the catalog "struts" cannot be found.  This seems to
me that despite hardcoding the file path, it still is
not found.

-Julian

--- Joe Germuska <[EMAIL PROTECTED]> wrote:

> Here's one which works in my application:
> 
>
className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
>   value="/WEB-INF/chain-config.xml" />
>
> 
> If the "path" property is set, then the file is 
> sought in the servlet context.  It sounds as 
> though you've tried this, but thought I'd give 
> you an example anyway.
> 
> if the "resource" property is set, then the file 
> is sought on the classpath, and if it's in the 
> root of a JAR or WEB-INF/classes, I'd think this 
> would work:
> 
> >  >>  >
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="chain-config.xml"/>
> >>
> 
> Technically, "resource" is evaluated first.
> 
> Is it possible to catch the exception and call 
> ex.getRootCause() ?  Perhaps you could write a 
> very simple subclass of CatalogConfiguratorPlugIn 
> which just catches the exception and inspects the 
> root cause?  Maybe it's a parsing error or 
> something instead of a file-not-found problem?
> 
> Joe
> 
> 
> 
> 
> At 11:34 AM -0800 12/20/04, Julian wrote:
> >btw, I have also tried the config with the
> "property"
> >attribute of the "set-property" tag set as "path"
> >instead of resource.
> >
> > >
> >
> >-Julian
> >
> >--- Julian <[EMAIL PROTECTED]> wrote:
> >
> >>  Hi,
> >>
> >>  I cannot seem to load the struts-chain config
> >>  properly.  I have tried packaging it in the root
> >>  directory of my jar, placing it in
> /WEB-INF/classes,
> >>  and just in plain old WEB-INF...but to no avail.
>  I
> >>  keep getting an servletexception thrown at
> >>
>
>org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn.init(CatalogConfiguratorPlugIn.java:147)
> >>I have tried the following:
> >>
> >> >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="/chain-config.xml"/>
> >>
> >>
> >  >>  >
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="chain-config.xml"/>
> >>
> >  >
> >> >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="/WEB-INF/chain-config.xml"/>
> >>
> >>
> >> >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>   >>  value="WEB-INF/chain-config.xml"/>
> >>
> >>
> >>  Thanks in advance,
> >>  Julian
> >>
> >>  =
> >>  Live simply so others may simply live.
> >>
> >>  -Ghandi
> >>
> >>  Pluralitas non est ponenda sine neccesitate.
> >>  "Entities should not be multiplied
> unneccesarily"
> >>
> >>  -William of Occam
> >>
> >>
> >>
> >>
> >>
> >>
> >>  __
> >>  Do you Yahoo!?
> >>  Take Yahoo! Mail with you! Get it on your mobile
> >>  phone.
> >>  http://mobile.yahoo.com/maildemo
> >>
> >>
>
>-
> >>  To unsubscribe, e-mail:
> >>  [EMAIL PROTECTED]
> >>  For additional commands, e-mail:
> >>  [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >=
> >Live simply so others may simply live.
> >
> >-Ghandi
> >
> >Pluralitas non est ponenda sine neccesitate.
> >"Entities should not be multiplied unneccesarily"
> >
> >-William of Occam
> >
> >
> >
> >
> >
> >
> >__
> >Do you Yahoo!?
> >All your favorites on one personal page ñ Try My
> Yahoo!
> >http://my.yahoo.com
> >
>
>-
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> --
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
> "Narrow minds are weapons made for mass destruction"
>  -The Ex
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam






__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

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



Re: [Struts-Chain] Exception loading resources chain-config.xml

2004-12-20 Thread Julian
Joe, 
 I told a lie...I actually took the code from the SVN
repository, and just added some logging.  The logging
is showing up and indicates that the path or resource
Strings are not being set.  I am also using the
validator plugin.  I am using Struts-1.2.4.  Thanks
for your help, but I do not have the time to play with
this anymore.  I will revisit this problem in a week
or so.  I have a feeling that something is not working
right...so I am going to do a clean install (on the
server :( ) when I next have the time.  At that point,
I hope to trek forward with the COR implementation.

Thanks for all,
Julian


--- Joe Germuska <[EMAIL PROTECTED]> wrote:

> At 12:43 PM -0800 12/20/04, Julian wrote:
> >ok here is some more info.  In my subclass of
> >CatalogConfiguratorPlugIn, I logged any calls to
> >setPath or setResource.  So when the server starts
> the
> >values are never set b/c the methods are never
> called.
> >  When I harcode the value, I get an error message
> that
> >the catalog "struts" cannot be found.  This seems
> to
> >me that despite hardcoding the file path, it still
> is
> >not found.
> 
> Is anything at all being logged by your subclass 
> of the plugin?  Did you remember to call 
> super.init(...) in your subclass? ;-)
> 
> Are you using any other plugins?  Are you using 
> set-property anywhere else?  Which version of 
> Struts are you using?
> 
> This is exceedingly strange...
> 
> Joe
> 
> 
> >-Julian
> >
> >--- Joe Germuska <[EMAIL PROTECTED]> wrote:
> >
> >>  Here's one which works in my application:
> >>
> >>  >>
>
>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>>>  value="/WEB-INF/chain-config.xml" />
> >> 
> >>
> >>  If the "path" property is set, then the file is
> >>  sought in the servlet context.  It sounds as
> >>  though you've tried this, but thought I'd give
> >>  you an example anyway.
> >>
> >>  if the "resource" property is set, then the file
> >>  is sought on the classpath, and if it's in the
> >>  root of a JAR or WEB-INF/classes, I'd think this
> >>  would work:
> >>
> >>  >  >>>  >  >
> >>
>
>>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>  >>   >>  >>  value="chain-config.xml"/>
> >>  >>
> >>
> >>  Technically, "resource" is evaluated first.
> >>
> >>  Is it possible to catch the exception and call
> >>  ex.getRootCause() ?  Perhaps you could write a
> >>  very simple subclass of
> CatalogConfiguratorPlugIn
> >>  which just catches the exception and inspects
> the
> >>  root cause?  Maybe it's a parsing error or
> >>  something instead of a file-not-found problem?
> >>
> >>  Joe
> >>
> >>
> >>
> >>
> >>  At 11:34 AM -0800 12/20/04, Julian wrote:
> >>  >btw, I have also tried the config with the
> >>  "property"
> >>  >attribute of the "set-property" tag set as
> "path"
> >>  >instead of resource.
> >>  >
> >>  > >>  >
> >>  >
> >>  >-Julian
> >>  >
> >>  >--- Julian <[EMAIL PROTECTED]> wrote:
> >>  >
> >>  >>  Hi,
> >>  >>
> >>  >>  I cannot seem to load the struts-chain
> config
> >>  >>  properly.  I have tried packaging it in the
> root
> >>  >>  directory of my jar, placing it in
> >>  /WEB-INF/classes,
> >>  >>  and just in plain old WEB-INF...but to no
> avail.
> >>   I
> >>  >>  keep getting an servletexception thrown at
> >>  >>
> >>
>
>>org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn.init(CatalogConfiguratorPlugIn.java:147)
> >>  >>I have tried the following:
> >>  >>
> >>  >> >>  >>
> >>
>
>>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">
> >>  >>   >>  >>  value="/chain-config.xml"/>
> >>  >>
> >>  >>
> >>  >  >>>  >  >
> >>
>
>>className="org.apache.struts.chain.legacy.CatalogConfiguratorPlugIn">

How to disable URL rewriting for session id?

2005-06-30 Thread Julian Kerr

Dear All,

The html:link tag automatically applies URL rewriting to maintain 
session state in the absence of cookies. Is it possible to disable this 
feature?


[I'm using Resin in a shared environment. Resin considers the sessionid 
as part of the URL address, and hence I get 404 errors.]


Also, as an aside, even if cookies are accepted by the browser, I've 
noticed that sessionid still periodically appears in the URL. Is this to 
be expected??


Cheers.

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



Re: How to disable URL rewriting for session id?

2005-07-01 Thread Julian Kerr

Michael Jouravlev wrote:


On 6/30/05, Julian Kerr <[EMAIL PROTECTED]> wrote:
 


The html:link tag automatically applies URL rewriting to maintain
session state in the absence of cookies. Is it possible to disable this
feature?
   



Have you tried   <%@ page session="false" %>   ?

Michael.
 



I am using sessions, but track them with cookies.

I'd like to disable url rewriting because of the combination of:
1) empirical testing shows that url rewriting sometimes occurs even when 
cookies are enabled
2) my context doesn't deal with rewritten url's (as described in the 
initial post)


If I can turn url rewriting off, the application will work in the given 
context for people with cookies enabled.


A plain old html link would do the trick, but I'm keen to know if there 
is a way to control the behaviour struts tags.


-- Julian

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



Re: How to disable URL rewriting for session id?

2005-07-03 Thread Julian Kerr
Ahh, the problem spreadeth... also need to use plain old forms, which 
means no struts help there either.


Guess this boils down to either finding a way to tell struts to stop 
rewriting url's, or another moving to another context...


Julian


Wendy Smoak wrote:


From: "Julian Kerr" <[EMAIL PROTECTED]>
 


A plain old html link would do the trick, but I'm keen to know if there
is a way to control the behaviour struts tags.

   



Just based on the docs, I'd say no... but I haven't looked any further than
that.

http://struts.apache.org/userGuide/struts-html.html#link
says
" URL rewriting will be applied automatically, to maintain session state in
the absence of cookies. "

Can you do URL-rewriting-in-reverse on the front end, and strip off the
;jsessionid on the way in, before it causes a problem?

Otherwise a plain old HTML link sounds like the way to go.

 




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



Re: How to disable URL rewriting for session id?

2005-07-04 Thread Julian Kerr

David G. Friedman wrote:


I just skimmed through cvs and have this idea for you:

Edit a copy of the Html Taglib's helper class,
org.apache.struts.taglibs.TagUtils, so any methods
that would pull in the session variable to append to
the new URL don't do that.  When it's built, put
it under WEB-INF/classes/org/apache/struts/taglibs
so Struts calls YOUR class, not the original.
 



David,

Nice plan!

I basically did as you suggested, and automatic URL rewriting no longer 
takes place.


(Removed calls to HttpServletResponse.encodeURL within 
org.apache.struts.taglib.TagUtils and org.apache.struts.taglib.html.FormTag)


Thanks,
Julian

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



Re: ActionForm Stringvariables

2006-03-16 Thread Julian Tillmann
ah, ok, well thanks, that was rather illuminating :) 

thanks a thousand 
Julian

> --- Ursprüngliche Nachricht ---
> Von: "Leon Rosenberg" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List" 
> Betreff: Re: ActionForm Stringvariables
> Datum: Thu, 16 Mar 2006 14:19:41 +0100
> 
> well, two reasons, the practical one:
> checks for null are annoying, and people tend to lazily forget them.
> 
> the more theoretical reason, is that null is not a truly OO concept
> (at least according to some authors), and you should use a NullObject
> concept (being of same type as your normal Object expected by the
> code) instead. In opposite to the NullObject the null misses important
> semantics about the objects structure.
> 
> Using null for string initialization is an entry point to bad
> practices, absolutely 'bad' are following practices:
> 
>  putting null in lists/maps
>  transporting null over network (rmi,corba,soap etc)
>  putting null beans in scopes (not sure this works, but should never
> bin tried :-))
>  returning null from functions instead of more meaningfull reply:
>For example getUser(String userName) should throw a
> NotSuchUserException if there is no corresponding User object instead
> of returning null. There are very few scenarios (mostly high
> performance, where null is actually expected - i.e. caches) where this
> rule can be broken.
> 
> I think you can find more examples in a good pattern book :-)
> 
> HTH
> Leon
> 
> 
> On 3/16/06, manny Calaverra <[EMAIL PROTECTED]> wrote:
> > hi Leon,
> >
> > is this rule because of the NullPointerException you get when, for
> example
> > you check the Strings ".length()" or is there (also) another reason for
> this
> > practice?
> >
> > thanks in advance
> > Julian
> >
> > > --- Ursprüngliche Nachricht ---
> > > Von: "Leon Rosenberg" <[EMAIL PROTECTED]>
> > > An: "Struts Users Mailing List" 
> > > Betreff: Re: ActionForm Stringvariables
> > > Datum: Thu, 16 Mar 2006 11:06:50 +0100
> > >
> > > 1. The general rule is: never use null.
> > > 2. The specific rule for your application must be given by your
> > > application, but in doubt the general rule applies.
> > >
> > > regards
> > > leon
> > >
> > > On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > > Hi there,
> > > >
> > > > I'm a newbie to struts and I have a question concerning ActionForms.
> > > > What's more clever: to initialize the String-parameters with "null"
> or
> > > with
> > > > "" (empty strings)?
> > > >
> > > > thx & ciao 4 now
> > > > Julian
> > > >
> > > >
> > > > --
> > > > "Feel free" mit GMX FreeMail!
> > > > Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
> > > >
> > > >
> -
> > > > 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]
> > >
> >
> > --
> > Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> > "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
> >
> > -
> > 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]
> 

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
Hi 

Can someone give me advice how to control and clean

the amount of Collections (HashTables/ArrayList)

that are stored in the session.

My first consideration goes in the direction to

use a naming-strategy for all lists to be used in a session

(eg session.setAttribute("collection_name",

and always when an action is executed

to look 

for all parameters if session.getAttribute.equals("collection_name

and to remove all last Action's Collection_data in order to minimalize my 

session data. 

 

Regarding to you, does it make sense to control the session-size

within a struts application this way.

 

Thanks a lot for your opinion!!

-- 
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net

-- 
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net

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



Re: Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
Hi
Thank you for your answer!

Basically we have to save
collections in the session because
we use displaytag and both the export-function
and the sort function requires the lists 
to be safed in session.
I think a kind of pool cannot solve the problem
because of that.
This listener sounds very interesting I'll
take a look.
As a last resort would my proposal be an
acceptable alternative?

greetings

> --- Ursprüngliche Nachricht ---
> Von: "Mark Lowe" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List" 
> Betreff: Re: Strategy for Controlling the Session Size
> Datum: Wed, 22 Mar 2006 11:34:31 +0100
> 
> On 3/22/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Can someone give me advice how to control and clean
> >
> > the amount of Collections (HashTables/ArrayList)
> >
> > that are stored in the session.
> 
> If you do find you need collections stored in httpsession, i wouldn't
> use hashtable.
> 
> >
> > My first consideration goes in the direction to
> >
> > use a naming-strategy for all lists to be used in a session
> >
> > (eg session.setAttribute("collection_name",
> >
> > and always when an action is executed
> >
> > to look
> >
> > for all parameters if session.getAttribute.equals("collection_name
> >
> > and to remove all last Action's Collection_data in order to minimalize
> my
> >
> > session data.
> >
> >
> >
> > Regarding to you, does it make sense to control the session-size
> >
> > within a struts application this way.
> 
> The size of the session can effect clustering, and is also expensive
> in a standalone envionment. But that aside it becomes harder to
> maintain applications when developers are using session at each and
> every oppertunity. You can use a session attribute listener to see
> where things are being added, but life is generally easier if session
> is used as little as possible. I recently worked on some legacy apps
> where session had been used over liberally and performance issues
> aside you couldn't work out what the state the application was in.
> 
> For data you need to store across lots of requests, you can create a
> simple javaclass to hold the data you need. Something like a StateBean
> or even a hashmap, the point is that if you have one object that your
> storing things in you know where to look if and when you find you need
> to address session size. If you have folk adding the world into the
> session all over the place, its going to be harder to address any
> issues later in the day. e.g. Map state = (Map)
> session.getAttribute("state")
> 
> Your post will probably provoke some fanaticism claiming "sessions are
> evil" , "never use sessions" and such like. IMO you want to use it as
> little as possible, and when you do know where its been used.
> 
> I guess the question is, what are you thinking of putting in your session?
> 
> Mark
> 
> >
> >
> >
> > Thanks a lot for your opinion!!
> >
> > --
> > "Feel free" mit GMX FreeMail!
> > Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
> >
> > --
> > "Feel free" mit GMX FreeMail!
> > Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
> >
> > -
> > 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]
> 

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Re: Strategy for Controlling the Session Size

2006-03-23 Thread Julian Tillmann
thanks for all your ideas and advice especially the one with the filter was
very helpful. :)

ciao 4 now
Julian

> --- Ursprüngliche Nachricht ---
> Von: "Mark Lowe" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List" 
> Betreff: Re: Strategy for Controlling the Session Size
> Datum: Wed, 22 Mar 2006 23:56:20 +0100
> 
> On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> > > Population of indexed properties is a nice gift, but then I cant think
> > > of many situations where needing to scope anything that extreme is
> > > required. A bean with simple properties will do
> > >
> > > 
> > > 
> > >
> > > takes care of any simple properties
> >
> > I don't want to argue with you either :) I use session-scoped
> > actionforms, so it is simpler for me to stick everything related to a
> > resource in an actionform.
> >
> > > Another consideration is the increased popularity of xmlhttprequest to
> > > have the client make requests, if a front end updates from the server
> > > at any intervals. All you need is are users leaving a browser window
> > > open to increase the amount of active sessions on the container.
> >
> > I don't use Ajax autoupdate. But even if I did I would use session to
> > store Ajax-related stuff. Otherwise when a user hits Reload button,
> > all stuff is gone. Check out Backbase Pet Shop demo. Apparently these
> > guys don't use session. Pet Shop is a demo, but I would not want to
> > lose my shopping cart because of accidental refresh.
> 
> Yeah, i'd store ajax related requests the same as I would for non ajax
> requests as well.. And better an actionform than having n amount of
> attributes that are hard to keep track of. Cant say i see the value in
> a ajax shopping cart but interesting link.
> 
> >
> > 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]
> 

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer

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



User Restriction in a web application?

2006-03-26 Thread Julian Tillmann
Hi, 

I'd like to implement the following: 

In a web application a function should only be used by ONE user and if 
another user comes along it should show him the first user's name and give
him the choice whether to kick the first user out or not. 
Is there perhaps something like that in Java? 

thx & ciao 4 now
Julian


-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Replacing Validator 1.2 with 1.3?

2006-03-30 Thread Julian Tillmann
Hi again, 

just a quick question: what's your experience with replacing Validator V1.2
with V1.3, what problems did occur, what did you have to keep an eye on or
did it just work fine? 

ciao 4 now
Julian

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer

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



Re: Replacing Validator 1.2 with 1.3?

2006-03-30 Thread Julian Tillmann
Oh that sounds great, thanks :)

Julian 

> --- Ursprüngliche Nachricht ---
> Von: "Niall Pemberton" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List" 
> Betreff: Re: Replacing Validator 1.2 with 1.3?
> Datum: Thu, 30 Mar 2006 14:32:07 +0100
> 
> It worked just fine - in fact it works better IMO because there are a
> number of bugs fixed :-)
> 
> Niall
> 
> On 3/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > Hi again,
> >
> > just a quick question: what's your experience with replacing Validator
> V1.2
> > with V1.3, what problems did occur, what did you have to keep an eye on
> or
> > did it just work fine?
> >
> > ciao 4 now
> > Julian
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
E-Mails und Internet immer und überall!
1&1 PocketWeb, perfekt mit GMX: http://www.gmx.net/de/go/pocketweb

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



"Valid when"-Example

2006-04-03 Thread Julian Tillmann
Hi,

would someone be so kind to help me with the following problem:
 
A date field should only be validated 
if another checkbox isn't selected.
 
I'm not sure how to do it:
Do I have to use validwhen or reiqired-if??
I cannot find any good examples or references concerning my problem.

Here is my code snippet:





var
//-->this is the property that should decide if a check
is necessary or not (the bean-property of a html-checkbox)
(selectionForShift==false)



Help would be highly appreciated as this is really driving me crazy 

Thanks a lot
Julian


-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

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



Validwhen

2006-04-03 Thread Julian Tillmann
Hi I tried now for several hours to fix my validwhen-example.

The property time should only be validated if the checkbox (property
calculatingShift)

Is not checked.

How can help me? Thank you so much!

 

 



  

 

 

   

test

(calculatingShift==false)

  

 

   

datePatternStrict

HH:mm

  

  

   

   

   

 

On tomcat the error message is: No input attribute for mapping path 

-- 
E-Mails und Internet immer und überall!
1&1 PocketWeb, perfekt mit GMX: http://www.gmx.net/de/go/pocketweb

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



Any relation imaginable between Struts and HiveMind?

2006-04-06 Thread Julian Tillmann
Hi,

today I stumbled across the jakarta

project "HiveMind", where you can 

develop services, that work

between your application code and the underlying J2EE.

 

Has someone an idea on or any experience from practicing a combination 

between HiveMind and struts? I haven't got a clue on how I could use this, 

but perhaps anyone can give me an idea ... 

 
regards

Julian

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

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



Extracting MessageResources from Struts

2006-04-24 Thread Julian Tillmann
Hi everyone, 

this question is not entirely a question about struts but just about a part
of it, which I would like to extract 
from the rest of the framework. It's like this: 
I have my own framework for creating dynamic SVGs and in one Class I
have tooltip-messages hardcoded in German. I don't want to destroy the
structure of the method-calls
and so I thought about Struts 
MessageResources where I can use different language packages in form
of property files. So far so good, 
but I don't want to add the whole struts to my framework but just the
MessageRessources-part and so my question is:
can I just extract the MessageResources.class or is there substitution
I can use for this? 

thanks very much in advance
Julian

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Re: Extracting MessageResources from Struts

2006-04-24 Thread Julian Tillmann
hi, 

thank you very much your answer has been very helpful :)

ciao 4 now 
Julian

> --- Ursprüngliche Nachricht ---
> Von: David Delbecq <[EMAIL PROTECTED]>
> An: Struts Users Mailing List 
> Betreff: Re: Extracting MessageResources from Struts
> Datum: Mon, 24 Apr 2006 13:37:45 +0200
> 
> Using message ressources is not struts specific. What struts does beside
> using message ressources is maintaining the user language in user http
> session and use it when it need a message ressouce use. If all you need
> to do is have multi language support for your messages, i suggest you
> take a look at how ressource bundles are used for i18n in the sun java
> documentations http://java.sun.com/docs/books/tutorial/i18n/index.html
> 
> Please note basically the MessageResources is a front end to this
> allowing configuration of ressources in struts xml configuration file.
> 
> Julian Tillmann a écrit :
> 
> >Hi everyone, 
> >
> >this question is not entirely a question about struts but just about a
> part
> >of it, which I would like to extract 
> >>from the rest of the framework. It's like this: 
> >I have my own framework for creating dynamic SVGs and in one Class I
> >have tooltip-messages hardcoded in German. I don't want to destroy the
> >structure of the method-calls
> >and so I thought about Struts 
> >MessageResources where I can use different language packages in form
> >of property files. So far so good, 
> >but I don't want to add the whole struts to my framework but just the
> >MessageRessources-part and so my question is:
> >can I just extract the MessageResources.class or is there substitution
> >I can use for this? 
> >
> >thanks very much in advance
> >Julian
> >
> >  
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

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



How to create a Waiting Page for long requests?

2006-05-02 Thread Julian Tillmann
Hi 

I want to prevent a user from submitting

long during database queries twice.

Therefore I try to include a waiting page.

Can someone name me an example or give me

a tip how to implement it?

 

Thanks a lot
Julian

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

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



Re: How to create a Waiting Page for long requests?

2006-05-03 Thread Julian Tillmann
Hi again, 

thanks for the suggestions, but I'd rather not use JavaScript, so any advice
besides that? 

ciao 4 now
Julian

> --- Ursprüngliche Nachricht ---
> Von: "Shshank Jain" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List" 
> Betreff: Re: How to create a Waiting Page for long requests?
> Datum: Wed, 3 May 2006 12:34:08 +0530
> 
> Hii
> 
> One way could be to dynamically create a full page size div and place it
> over the whole page on the higher z-index this will disable the access
> to the  underlying buttons etc. If you have select list with submission on
> onchange event then you may have to disable them manually using javascript
> as browser places them on the highest z-index exposing them during the
> request.
> 
> - Shanky
> 
> 
> On 5/3/06, Roy, Ansuman <[EMAIL PROTECTED]> wrote:
> >
> > when a user submits anything on the jsp page you can try and disable the
> > submit button and display a message for please wait.
> > all this can be achieved with the help of java script.
> > regards,
> > Roy
> >
> > -Original Message-
> > From: Julian Tillmann [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 03, 2006 11:44 AM
> > To: [EMAIL PROTECTED]; user@struts.apache.org
> > Subject: How to create a Waiting Page for long requests?
> >
> >
> > Hi
> >
> > I want to prevent a user from submitting
> >
> > long during database queries twice.
> >
> > Therefore I try to include a waiting page.
> >
> > Can someone name me an example or give me
> >
> > a tip how to implement it?
> >
> >
> >
> > Thanks a lot
> > Julian
> >
> > --
> > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > This e-mail and any attachment is for authorised use by the intended
> > recipient(s) only. It may contain proprietary material, confidential
> > information and/or be subject to legal privilege. It should not be
> copied,
> > disclosed to, retained or used by, any other party. If you are not an
> > intended recipient then please promptly delete this e-mail and any
> > attachment and all copies and inform the sender. Thank you.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

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



Finalize back hitting the "back"-button?

2006-05-17 Thread Julian Tillmann
Hello 

my question is simple: is an action finalized when the user hits the "back"
button of the browser?

thanks &
ciao 4 now
Julian

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



RE: Finalize back hitting the "back"-button?

2006-05-17 Thread Julian Tillmann
Hi 

I'm sorry, I wasn't being specific, I meant a struts action. You see, we've
got some actions which get data from a database and sometimes it takes a
while, so some of the users hit the back button and I'd like to know whether
this ends the connection by itself (if implemented so in finalize) or, as
I'm guessing after your answer, how to do it otherwise. 

thanks again
Julian

> --- Ursprüngliche Nachricht ---
> Von: "Emilia Ipate" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List" 
> Betreff: RE: Finalize back hitting the "back"-button?
> Datum: Wed, 17 May 2006 09:31:44 +0200
> 
> Hello!
> 
> Could you be more explicit? What do you understand when saying action? Are
> you referring to a HTTP request action?
> 
> Anyway, you should remember that, when the user hits the "back" button of
> the browser, there is no interaction (no request sent) between the client
> (browser) and the server. So, when the "back" button of the browser is
hit,
> the browser retrieves from the user's PC cache the previous html page and
> shows it again (so, it's just the old page, not a new request to server --
> but you can trick this). Because there is no request sent by the user to
the
> server, the session (if there is one) is not lost.
> 
> I hope this clears your problem! If it doesn't, please explain what do you
> mean by "action"!
> 
> Kind regards,
> Emilia
> 

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

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



How to lock the access of methods within an action?

2006-05-30 Thread Julian Tillmann
Hello everyone, 

 

Within our struts web application in which we have edit-actions within a user 
can be busy editing data in the form for several minutes. 

The problem is, if another user is also editing the data at the same time, one 
of the is eventually going to overwrite the changes of the other and the other 
will have worked completely in vain. So my question would be whether there's 
some way to prevent this from happening, some kind of "lock down" method for 
edit-actions? I think this problem is not uncommon, can someone give me a tip?

 

thanks in advance 
Julian

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
  Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


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



Re: Re: How to lock the access of methods within an action?

2006-05-30 Thread Julian Tillmann
Thanks a lot for your answer!

My thinking behind is the application level!

I’m not sure but the goal is (my hope..)to solve

this problem using aspect oriented programming or Spring

although I’m not very aware of it.

For example it would be nice to have one central configuration there you 

can say:

this method -max-users 1- 

rule: throw error ….

Should be done then a second users wants access to the method.

Can you help me?

Thanks a lot!


>  Original-Nachricht 
> Datum: Tue, 30 May 2006 10:55:17 +0200
> Von: The Jasper <[EMAIL PROTECTED]>
> An: Struts Users Mailing List 
> Betreff: Re: How to lock the access of methods within an action?
> 
> Hi,
> 
> this sounds like a common database problem. You might want to consider
> some kind of pessimistic locking. Basically you lock the object when
> you start editing and prevent all access to it for the duration of the
> lock. You could also do an optimistic lock which means that when you
> change an object it will only be committed if the object hasn't
> changed between the time you got your lock and the time you want to
> commit it. This doens't prevent you from having done unnecessary work
> however. Most db's support optimistic locking, but not pessimistic
> locking.
> 
> If you want to use this at the application level you will have to do
> it yourself. You could put a variable somewhere to track wether an
> object is being edited and base access restrictions off of that.
> However you have to be very carefull about making sure you don't get
> any deadlock or race conditions.
> 
> I suggest you delve into database world and read about how other
> people have solved this problem.
> 
> mvg,
> Jasper
> 
> On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > Hello everyone,
> >
> >>> Within our struts web application in which we have edit-actions within
> a user can be busy editing data in the form for several minutes.
> >
> > The problem is, if another user is also editing the data at the same
> time, one of the is eventually going to overwrite the changes of the other and
> the other will have worked completely in vain. So my question would be
> whether there's some way to prevent this from happening, some kind of "lock
> down" method for edit-actions? I think this problem is not uncommon, can
> someone give me a tip?
> >
> >>> thanks in advance
> > Julian
> >
> > --
> >
> >> Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
> >   Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
> >
> >> -
> > 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]

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
  Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


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



Re: Re: Re: How to lock the access of methods within an action?

2006-05-30 Thread Julian Tillmann
thx

hmm, where can I find it, is it part of Spring? 

>  Original-Nachricht 
> Datum: Tue, 30 May 2006 18:36:06 +0800
> Von: Lixin Chu <[EMAIL PROTECTED]>
> An: Struts Users Mailing List 
> Betreff: Re: Re: How to lock the access of methods within an action?
> 
> i think transaction manager will take care of this.
> 
> On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> >
> > Thanks a lot for your answer!
> >
> > My thinking behind is the application level!
> >
> > I'm not sure but the goal is (my hope..)to solve
> >
> > this problem using aspect oriented programming or Spring
> >
> > although I'm not very aware of it.
> >
> > For example it would be nice to have one central configuration there you
> >
> > can say:
> >
> > this method -max-users 1-
> >
> > rule: throw error ….
> >
> > Should be done then a second users wants access to the method.
> >
> > Can you help me?
> >
> > Thanks a lot!
> >
> >> > Original-Nachricht 
> > >Datum: Tue, 30 May 2006 10:55:17 +0200
> > >Von: The Jasper <[EMAIL PROTECTED]>
> > >An: Struts Users Mailing List 
> > >Betreff: Re: How to lock the access of methods within an action?
> > >
> Hi,
> > >
> > > this sounds like a common database problem. You might want to consider
> > > some kind of pessimistic locking. Basically you lock the object when
> > > you start editing and prevent all access to it for the duration of the
> > > lock. You could also do an optimistic lock which means that when you
> > > change an object it will only be committed if the object hasn't
> > > changed between the time you got your lock and the time you want to
> > > commit it. This doens't prevent you from having done unnecessary work
> > > however. Most db's support optimistic locking, but not pessimistic
> > > locking.
> > >
> > > If you want to use this at the application level you will have to do
> > > it yourself. You could put a variable somewhere to track wether an
> > > object is being edited and base access restrictions off of that.
> > > However you have to be very carefull about making sure you don't get
> > > any deadlock or race conditions.
> > >
> > > I suggest you delve into database world and read about how other
> > > people have solved this problem.
> > >
> > > mvg,
> > > Jasper
> > >
> > > On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > > > Hello everyone,
> > > >
> > > >>> Within our struts web application in which we have edit-actions
> > within
> > > a user can be busy editing data in the form for several minutes.
> > > >
> > > > The problem is, if another user is also editing the data at the same
> > > time, one of the is eventually going to overwrite the changes of the
> > other and
> > > the other will have worked completely in vain. So my question would be
> > > whether there's some way to prevent this from happening, some kind of
> > "lock
> > > down" method for edit-actions? I think this problem is not uncommon,
> can
> > > someone give me a tip?
> > > >
> > > >>> thanks in advance
> > > > Julian
> > > >
> > > > --
> > > >
> > > >> Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
> > > >   Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
> > > >
> > > >>
> -
> > > > 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]
> >
> > --
> >
> >> Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
> >   Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
> >
> >> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
  Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


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



Re: Re: Re: Re: How to lock the access of methods within an action?

2006-05-30 Thread Julian Tillmann

Hi Miguel, 

thanks for the tip, is it possible to use this in a struts action which is not 
thread save?

ciao 4 now
Julian 

>  Original-Nachricht 
> Datum: Tue, 30 May 2006 09:28:36 -0300
> Von: Miguel Galves <[EMAIL PROTECTED]>
> An: Struts Users Mailing List 
> Betreff: Re: Re: Re: How to lock the access of methods within an action?
> 
> Julian,
> 
> you can use the lock provided by Java 1.5 API...they are very simple to
> use.
> For istance, I use java.util.concurrent.Semaphore.
> The code above sho how to use it:
> private Semaphore sceneryLock = new Semaphore(1, true);
> 
>   public void removeScenery() throws Exception {
> 
> try {
> sceneryLock.acquire();
> 
>  do your critical stuff here ...
> } catch (InterruptedException e) {
> 
> } finally {
> sceneryLock.release();
> }
> }
> 
> Hope it helps ...
> 
> []s
> 
> Miguel
> 
> On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> >
> > thx
> >
> > hmm, where can I find it, is it part of Spring?
> >
> > > Original-Nachricht 
> > >Datum: Tue, 30 May 2006 18:36:06 +0800
> > >Von: Lixin Chu <[EMAIL PROTECTED]>
> > >An: Struts Users Mailing List 
> > >Betreff: Re: Re: How to lock the access of methods within an action?
> > >
> i think transaction manager will take care of this.
> > >
> > > On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Thanks a lot for your answer!
> > > >
> > > > My thinking behind is the application level!
> > > >
> > > > I'm not sure but the goal is (my hope..)to solve
> > > >
> > > > this problem using aspect oriented programming or Spring
> > > >
> > > > although I'm not very aware of it.
> > > >
> > > > For example it would be nice to have one central configuration there
> > you
> > > >
> > > > can say:
> > > >
> > > > this method -max-users 1-
> > > >
> > > > rule: throw error ….
> > > >
> > > > Should be done then a second users wants access to the method.
> > > >
> > > > Can you help me?
> > > >
> > > > Thanks a lot!
> > > >
> > > >> > Original-Nachricht 
> > > > >Datum: Tue, 30 May 2006 10:55:17 +0200
> > > > >Von: The Jasper <[EMAIL PROTECTED]>
> > > > >An: Struts Users Mailing List 
> > > > >Betreff: Re: How to lock the access of methods within an action?
> > > > >
> Hi,
> > > > >
> > > > > this sounds like a common database problem. You might want to
> > consider
> > > > > some kind of pessimistic locking. Basically you lock the object
> when
> > > > > you start editing and prevent all access to it for the duration of
> > the
> > > > > lock. You could also do an optimistic lock which means that when
> you
> > > > > change an object it will only be committed if the object hasn't
> > > > > changed between the time you got your lock and the time you want
> to
> > > > > commit it. This doens't prevent you from having done unnecessary
> > work
> > > > > however. Most db's support optimistic locking, but not pessimistic
> > > > > locking.
> > > > >
> > > > > If you want to use this at the application level you will have to
> do
> > > > > it yourself. You could put a variable somewhere to track wether an
> > > > > object is being edited and base access restrictions off of that.
> > > > > However you have to be very carefull about making sure you don't
> get
> > > > > any deadlock or race conditions.
> > > > >
> > > > > I suggest you delve into database world and read about how other
> > > > > people have solved this problem.
> > > > >
> > > > > mvg,
> > > > > Jasper
> > > > >
> > > > > On 5/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > > > > > Hello everyone,
> > > > > >
> > > > > >>> Within our struts web application in which we have
> edit-actions
> > > > within
> > > > > a user can be busy editing data in the form for several minu

Form shared between 2 Action, how to change bool-value?

2006-05-31 Thread Julian Tillmann
Hello, 

I've two actions which share the same form in with session scope.
In the first action one boolean value of the form will be set to false,
but in the next action the form will be retireved an the value is still true.
There is the error?

I tried (int Action 1):

form.setValue(false);

and I also implemented the reset method

with reset(...)

{
  boolean value = false;
} 

both doesn't work so what is the common way to achieve this?
Or may this be correct and the error should be found somewhere else?

thanks
Julian

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


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



Extending Struts with Spring

2006-06-07 Thread Julian Tillmann
Hello, 

I've read that you can use Spring to make your Struts Actions thread safe. Is 
someone using this or has experience with it? 

Are there other arguments for using Spring with Struts like, for example
an easy implemented Interceptor that might improve the application and is not 
as easily achieved with a filter?

I'm thinking about using this extension but I don't have any kind of practical 
experience with it. Could someone help me with this? 

ciao & thx
Julian

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: Re: Extending Struts with Spring

2006-06-08 Thread Julian Tillmann

Thank you for your replies!

When I understand this right:
- Giving Actions a state using Spring makes no sence
- It cannot be recommended to overwrite the request processor
  with Spring (we already have our own)
- But the spring Context offers some new possibilites
  like IOC but to be honest I'm not expert enough
  to understand this up to date!

Thanks I watched this example of IBM with the interceptor.
Which other business-cases (aspects) could you reasonable use this way?
Isn't this a performance problem, because interceptors always have
to use refelection? 
 
Thank you!
Julian
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: Re: Extending Struts with Spring

2006-06-08 Thread Julian Tillmann

Thanks very much for all your answers, I'd be very keen to learn more about 
this soon. 

-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Starting a Struts-Intranet Applikation from the Client

2006-06-20 Thread Julian Tillmann
Hello everyone, 

I was wondering whether it's possible to start a Struts application from a 
Client Progam made with Visual Basic , with a Link and 
how you could pass parameters via this link that are availible in the 
web-applikation.
Has anybody done this before, can you give me some advice on this subject? 


thank you very much
Julian
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Using the c-tag with Struts?!

2006-07-05 Thread Julian Tillmann
Hi 

I’d like to use the
c-tag of the core tag library as it seems
to be powerful.
For example "else if" is not implemented in
Struts-logic and this is often needed. 
Are there any disadvantages of doing so
or can also you recommend it?

 
Thanks for your suggestions!
Julian

 

 

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: Re: Using the c-tag with Struts?!

2006-07-05 Thread Julian Tillmann

thanks for the good information :)

Julian

 Original-Nachricht 
Datum: Wed, 5 Jul 2006 06:55:33 -0700
Von: Wendy Smoak <[EMAIL PROTECTED]>
An: Struts Users Mailing List 
Betreff: Re: Using the c-tag with Struts?!

> On 7/5/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> 
> > I'd like to use the
> > c-tag of the core tag library as it seems
> > to be powerful.
> > For example "else if" is not implemented in
> > Struts-logic and this is often needed.
> > Are there any disadvantages of doing so
> > or can also you recommend it?
> 
> No disadvantages, in fact the documentation recommends using JSTL
> instead of the Struts tags whenever possible.
> 
> If you're on Servlet 2.3, use the 'Struts EL' taglib with JSTL 1.0.
> For Servlet 2.4, configure web.xml to use the 2.4 schema and use the
> normal Struts tags with JSTL 1.1.
> 
>   * http://wiki.wsmoak.net/cgi-bin/wiki.pl?StrutsAndJSTL
> 
> -- 
> Wendy
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Short Validation Pattern Question

2006-07-06 Thread Julian Tillmann
Hi

I hava two fields where a user should
enter a time between 00:00 and 23:59.
Is it right that HH:mm is the right pattern to
check this?

Thanks a lot 
Julian
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Performance Tests on Action Level

2006-07-11 Thread Julian Tillmann
Hi everybody, 

we need a performance test on the actions level in our rather big Struts 
Application which contains many database queries. for example to find out which 
Action takes the longest or which actions might cause a high CPU usage .. 
Is there a tool how to implement it? Or is it possible via filter? 
The problem is that there's a constant, high CPU usage on our Tomcat and we'd 
like to find out why. 
I’m sure that it’s because of the struts-application.

thanks very much 
Julian

 

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: Re: Performance Tests on Action Level

2006-07-11 Thread Julian Tillmann

HI!

 

Thank you for your link!

I tried to deploy the war-file on tomcat 4 and tomcat 5 but always get the same 
exception "major-minor version".
Does it require JDK 1.5? 
I hope not because I would be very interested in this tool!

Thanks
Julian

 Original-Nachricht 
Datum: Tue, 11 Jul 2006 13:21:59 +0200
Von: Leon Rosenberg <[EMAIL PROTECTED]>
An: Struts Users Mailing List 
Betreff: Re: Performance Tests on Action Level

> http://moskito.anotheria.net is probably what you want.
> 
> try
> http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
> 
> The project is (yet) rather bad documented (working on it) so ask me
> directly if you have any questions :-)
> 
> regards
> Leon
> 
> On 7/11/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
> > Hi everybody,
> >
> > we need a performance test on the actions level in our rather big Struts
> Application which contains many database queries. for example to find out
> which Action takes the longest or which actions might cause a high CPU
> usage ..
> > Is there a tool how to implement it? Or is it possible via filter?
> > The problem is that there's a constant, high CPU usage on our Tomcat and
> we'd like to find out why.
> > I'm sure that it's because of the struts-application.
> >
> > thanks very much
> > Julian
> >
> >
> >
> > --
> >
> >
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> > -
> > 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]

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

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



Comparing beans

2006-07-26 Thread Julian Tillmann
Hi everyone, 

does someone know of a good way to check a java bean whether a certain value 
has already been added or not? 

thanks 
Julian
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl

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