Re: Multiple forms in JSP using struts

2004-11-04 Thread Koushik
U can use multiple forms in ur jsp and for each action in ur form,i.e. when
u  r posting it, u need to have a separate set of mappings in the
struts-config.xml.

- Original Message -
From: "Asim Ghosh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 12:45 PM
Subject: Multiple forms in JSP using struts


> hello all,
>
>   how can i manage multiple forms in on jsp using struts. In
struts-config.xml can I mention two form names in . If no how can
this be achieved ?
>
> Regards,
> Asim
>
>
> -
>  ALL-NEW Yahoo! Messenger - all new features - even more fun!


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



Multiple forms in JSP using struts

2004-11-04 Thread Asim Ghosh
hello all,
 
  how can i manage multiple forms in on jsp using struts. In struts-config.xml can I 
mention two form names in . If no how can this be achieved ?
 
Regards,
Asim


-
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  

Re: Struts Best Practices

2004-11-04 Thread Koushik
follow the link
http://javaboutique.internet.com/tutorials/Dynaform/

nice tutorial on DynaAction form

- Original Message -
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 12:02 PM
Subject: RE: Struts Best Practices


Ok...Fine..
In DynaActionForm we create all properteis in configuration file.
and the default scope of the form is session(i believe). if we have a form
that is created dynamically on the first page (Say only 2 fields (name &
Pwd)), isn't it overhead to carry
the object which contains field properties which is not required for the
particular form?

Hope i am clear what i mean !!!

Can u pls clear my doubt...

Regds
Rajagopal



-Original Message-
From: Koushik [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 11:59 AM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


With the help of DynaActionForm u can create your form dynamically.
for example if u r building a Purchase Order form where there are multiple
line items,the above is best suitable to dynamically generate your form

- Original Message -
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 11:53 AM
Subject: RE: Struts Best Practices


Is there any other Advantage ?
Do u find any disadvantage of using the DynaActionForm

Regds
Rajagoapl


-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 7:05 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


Hi rajagopal,
When you use the DynaForm or DynaValidatorForm you create less code in
you system, and is more easy you

And i remember more one best pratice,

Use the LookUpDispachAction




On Thu, 4 Nov 2004 18:48:10 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Can any one let me know what's the advantage of using DynaForm rather than
> ActionForm or FormBean.
>
>
>
>
> -Original Message-
> From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 6:47 PM
> To: Struts Users Mailing List
> Subject: Re: Struts Best Practices
>
> I sugest some pratice:
>
> Use plugin validador
> Extends TilesRequestProcessor
> Use DynaForm
> Use Tiles
> Use ExceptionHandler
> Use Designer Partnner
>
> I think that this,
>
> If any folk has more comments, please go shared.
>
> Sory my english, I'm braziliam
>
> Gabriel F Campolina
> SCJP
>
> On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
> <[EMAIL PROTECTED]> wrote:
> > Ted Husted has a good set of  resources and hints
> > (http://www.husted.com/struts/)  though these may be too specific?
> > You should also check out the StrutsCatalog in the Wiki
> > (http://wiki.apache.org/struts/StrutsCatalog)
> >
> > Regards
> >
> > Duncan Mills
> > www.groundside.com/blog
> >
> >
> >
> >
> > Tushar Agrawal wrote:
> >
> > >Hi Folks,
> > >
> > >I am handling a web project and using struts framework. Can any one
tell
> me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
> Standards for a struts Application".
> > >
> > >I request to please share your experinces on "Struts Application Design
> Guidelines".
> > >
> > >Million Thanks in Advance
> > >
> > >Tushar Agrawal
> > >
> > >
> > >
> > >//
> > >   Tushar Agrawal
> > > Software Engineer
> > >  Seclore Technology Pvt Ltd.
> > >IIT Powai, Bombay (Mah)
> > > Cell : +919819804870
> > >   website:www.seclore.com
> > >/*/
> > >
> > >-
> > >Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
>
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
--
Gabriel França Campolina
Sun Certified Programmer for the Java 2 Plataform

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

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


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

---

RE: Struts Best Practices

2004-11-04 Thread Y, Rajagopal
Ok...Fine..
In DynaActionForm we create all properteis in configuration file. 
and the default scope of the form is session(i believe). if we have a form
that is created dynamically on the first page (Say only 2 fields (name &
Pwd)), isn't it overhead to carry 
the object which contains field properties which is not required for the
particular form?

Hope i am clear what i mean !!!

Can u pls clear my doubt...

Regds
Rajagopal



-Original Message-
From: Koushik [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 11:59 AM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


With the help of DynaActionForm u can create your form dynamically.
for example if u r building a Purchase Order form where there are multiple
line items,the above is best suitable to dynamically generate your form

- Original Message -
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 11:53 AM
Subject: RE: Struts Best Practices


Is there any other Advantage ?
Do u find any disadvantage of using the DynaActionForm

Regds
Rajagoapl


-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 7:05 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


Hi rajagopal,
When you use the DynaForm or DynaValidatorForm you create less code in
you system, and is more easy you

And i remember more one best pratice,

Use the LookUpDispachAction




On Thu, 4 Nov 2004 18:48:10 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Can any one let me know what's the advantage of using DynaForm rather than
> ActionForm or FormBean.
>
>
>
>
> -Original Message-
> From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 6:47 PM
> To: Struts Users Mailing List
> Subject: Re: Struts Best Practices
>
> I sugest some pratice:
>
> Use plugin validador
> Extends TilesRequestProcessor
> Use DynaForm
> Use Tiles
> Use ExceptionHandler
> Use Designer Partnner
>
> I think that this,
>
> If any folk has more comments, please go shared.
>
> Sory my english, I'm braziliam
>
> Gabriel F Campolina
> SCJP
>
> On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
> <[EMAIL PROTECTED]> wrote:
> > Ted Husted has a good set of  resources and hints
> > (http://www.husted.com/struts/)  though these may be too specific?
> > You should also check out the StrutsCatalog in the Wiki
> > (http://wiki.apache.org/struts/StrutsCatalog)
> >
> > Regards
> >
> > Duncan Mills
> > www.groundside.com/blog
> >
> >
> >
> >
> > Tushar Agrawal wrote:
> >
> > >Hi Folks,
> > >
> > >I am handling a web project and using struts framework. Can any one
tell
> me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
> Standards for a struts Application".
> > >
> > >I request to please share your experinces on "Struts Application Design
> Guidelines".
> > >
> > >Million Thanks in Advance
> > >
> > >Tushar Agrawal
> > >
> > >
> > >
> > >//
> > >   Tushar Agrawal
> > > Software Engineer
> > >  Seclore Technology Pvt Ltd.
> > >IIT Powai, Bombay (Mah)
> > > Cell : +919819804870
> > >   website:www.seclore.com
> > >/*/
> > >
> > >-
> > >Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
>
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
--
Gabriel França Campolina
Sun Certified Programmer for the Java 2 Plataform

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

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


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

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



Re: Struts Best Practices

2004-11-04 Thread Koushik
With the help of DynaActionForm u can create your form dynamically.
for example if u r building a Purchase Order form where there are multiple
line items,the above is best suitable to dynamically generate your form

- Original Message -
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 11:53 AM
Subject: RE: Struts Best Practices


Is there any other Advantage ?
Do u find any disadvantage of using the DynaActionForm

Regds
Rajagoapl


-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 7:05 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


Hi rajagopal,
When you use the DynaForm or DynaValidatorForm you create less code in
you system, and is more easy you

And i remember more one best pratice,

Use the LookUpDispachAction




On Thu, 4 Nov 2004 18:48:10 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Can any one let me know what's the advantage of using DynaForm rather than
> ActionForm or FormBean.
>
>
>
>
> -Original Message-
> From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 6:47 PM
> To: Struts Users Mailing List
> Subject: Re: Struts Best Practices
>
> I sugest some pratice:
>
> Use plugin validador
> Extends TilesRequestProcessor
> Use DynaForm
> Use Tiles
> Use ExceptionHandler
> Use Designer Partnner
>
> I think that this,
>
> If any folk has more comments, please go shared.
>
> Sory my english, I'm braziliam
>
> Gabriel F Campolina
> SCJP
>
> On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
> <[EMAIL PROTECTED]> wrote:
> > Ted Husted has a good set of  resources and hints
> > (http://www.husted.com/struts/)  though these may be too specific?
> > You should also check out the StrutsCatalog in the Wiki
> > (http://wiki.apache.org/struts/StrutsCatalog)
> >
> > Regards
> >
> > Duncan Mills
> > www.groundside.com/blog
> >
> >
> >
> >
> > Tushar Agrawal wrote:
> >
> > >Hi Folks,
> > >
> > >I am handling a web project and using struts framework. Can any one
tell
> me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
> Standards for a struts Application".
> > >
> > >I request to please share your experinces on "Struts Application Design
> Guidelines".
> > >
> > >Million Thanks in Advance
> > >
> > >Tushar Agrawal
> > >
> > >
> > >
> > >//
> > >   Tushar Agrawal
> > > Software Engineer
> > >  Seclore Technology Pvt Ltd.
> > >IIT Powai, Bombay (Mah)
> > > Cell : +919819804870
> > >   website:www.seclore.com
> > >/*/
> > >
> > >-
> > >Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
>
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
--
Gabriel França Campolina
Sun Certified Programmer for the Java 2 Plataform

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

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


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



RE: Struts Best Practices

2004-11-04 Thread Y, Rajagopal
Is there any other Advantage ? 
Do u find any disadvantage of using the DynaActionForm

Regds
Rajagoapl


-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 7:05 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


Hi rajagopal,
When you use the DynaForm or DynaValidatorForm you create less code in
you system, and is more easy you

And i remember more one best pratice,

Use the LookUpDispachAction




On Thu, 4 Nov 2004 18:48:10 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Can any one let me know what's the advantage of using DynaForm rather than
> ActionForm or FormBean.
> 
> 
> 
> 
> -Original Message-
> From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 6:47 PM
> To: Struts Users Mailing List
> Subject: Re: Struts Best Practices
> 
> I sugest some pratice:
> 
> Use plugin validador
> Extends TilesRequestProcessor
> Use DynaForm
> Use Tiles
> Use ExceptionHandler
> Use Designer Partnner
> 
> I think that this,
> 
> If any folk has more comments, please go shared.
> 
> Sory my english, I'm braziliam
> 
> Gabriel F Campolina
> SCJP
> 
> On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
> <[EMAIL PROTECTED]> wrote:
> > Ted Husted has a good set of  resources and hints
> > (http://www.husted.com/struts/)  though these may be too specific?
> > You should also check out the StrutsCatalog in the Wiki
> > (http://wiki.apache.org/struts/StrutsCatalog)
> >
> > Regards
> >
> > Duncan Mills
> > www.groundside.com/blog
> >
> >
> >
> >
> > Tushar Agrawal wrote:
> >
> > >Hi Folks,
> > >
> > >I am handling a web project and using struts framework. Can any one
tell
> me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
> Standards for a struts Application".
> > >
> > >I request to please share your experinces on "Struts Application Design
> Guidelines".
> > >
> > >Million Thanks in Advance
> > >
> > >Tushar Agrawal
> > >
> > >
> > >
> > >//
> > >   Tushar Agrawal
> > > Software Engineer
> > >  Seclore Technology Pvt Ltd.
> > >IIT Powai, Bombay (Mah)
> > > Cell : +919819804870
> > >   website:www.seclore.com
> > >/*/
> > >
> > >-
> > >Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> 
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
--
Gabriel França Campolina
Sun Certified Programmer for the Java 2 Plataform

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

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



RE: Using Tiles outside of an ActionServlet

2004-11-04 Thread David G. Friedman
William,

For Section 2, IF you are using the same webapp, you can make a tile show up
in a JSP without using the Actionservlet (you just need to have the Struts
plugIn initialize the tiles from the tiles xml configuration.  Try creating
a JSP with this type of syntax:

<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>


Now, to get the *.html mapping to work, you'd have to reonfigure yout
application server to map *.html pages so they are handled by the JSP
engine.  In tomcat, you can do that like this:


   jsp
   *.jsp


Regards,
David

-Original Message-
From: William Ferguson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 10:36 PM
To: [EMAIL PROTECTED]
Subject: Using Tiles outside of an ActionServlet


I'm trying to create a WebApp with 2 sections.

Section1 consists of Struts Actions managed by an ActionServlet and using
Tiles for consistent layout. The incoming requests will always be '*.do'.

Section2 is a bunch of generated html fragments (each is a page's worth)
that I would like to embed in the Tiles I'm already using in Section1. Ie
Request for html page comes in and it is forwarded to the Tile page which
embeds the originally requested page. The incoming requests will always be
'foo/.html'

I thought I had it nailed.

Attempt1: Have the request for Section2 be handled by its own ActionServlet,
with a very simple custom RequestProcessor. But Struts only allows a single
instance of ActionServlet (or subclass) within a WebApp.

Atempt2: Use a single ActionServlet and either use a separate Module for
each section, or use a wildcard ActionMapping to catch all of Section2's
html requests. But Struts only allows a single servlet-mapping element for
the controller-servlet and I would need 2 (*.do and foo/*.html). NB further
Struts restriction is that when using Modules you can only use extension
paths in your servlet-mappings.


Attempt3: ??? I'm looking for ideas.
At the moment the only solution I can see is to implement my own Servlet
(not an ActionServlet subclass) which then uses the Tiles config and
mechanism to render the Section2 response with the required layout.

Is there a better way?

thanks in advance.

William


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



Re: Need an alternative to bean:define

2004-11-04 Thread Eddie Bush
My condolences :-(  I now see your rock and hard spot.
It's not about bleeding edge though.  Of course, what counts in that regard 
is your clients' opinion of what bleeding edge is.

Best of luck!
Eddie
- Original Message - 
From: "Janice" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 12:25 PM
Subject: RE: Need an alternative to bean:define

I should point out that it isn't my company that has the restrictions.  My
employer would quite happily move to the bleeding edge of any technology if
there were any benefit to do so.  In this case the client has very definite
parameters we need to work within.  Their servers are set up in a certain
way and they have standards that must be followed or else we don't get paid.
I don't have to agree with their standards in order to take their money.  ;)
Thanks for the input all the same.
J
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 03, 2004 5:17 PM
To: Struts Users Mailing List
Subject: Re: Need an alternative to bean:define
I would question anyone who told me I had to use something that is going
away in the future (most of Struts' taglibs), instead of using a standard
technology (the JSTL).
Are they fully-aware of the decision they're making?  Are you running within
a container that supports Servlet Specification 2.3 and JSP Specification
1.2?
I can't conceive of anyone being so narrow-minded.  If I told my boss I
wanted to use the JSTL over Struts' taglibs (a conversation that would never
take place because I'm able to do whatever I feel is best), citing that the
JSTL was a standard technology and that the Struts taglibs would be going
away, he'd thank me for the FYI and tell me to do what I felt was best.
We're very into using standards-compliant methodologies where it makes sense
to do so though.
Eddie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0445-1, 11/03/2004
Tested on: 11/4/2004 10:43:32 PM
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


javax.servlet.ServletException:BeanUtils.populate

2004-11-04 Thread Koushik
Hi All
I am using DynaAction from struts 1.1 in building a form dynamically.
Say I have a purchase order form where there are multiple line items and
which are being added dynamically.
I have added couple of line items and then after a brief period when i try
to add more line items I get
the above error (mentioned in the subject matter).
This occurs if there is session timeout which if I remove does not give the
above error,but which is
not a viable solution.

Is there any way to get rid of this problem.

Looking forward to yours reply.

Thanks in advance

Koushik




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



RE: Connection Pooling With Struts

2004-11-04 Thread David G. Friedman
Hibernate (it has a Struts plugIn) can set those up automatically for you
and connect to both using the same API.
http://www.hibernate.org

Regards,
David

-Original Message-
From: Tushar Agrawal [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 11:08 PM
To: Struts Mailing List
Subject: Connection Pooling With Struts



Hi Freinds,

I am using struts-config default connection pooling with mysql. In future we
may migrate to Oracle or SQL Server 2000 . Can you please tell me the best
way of implementing connection pooling in struts with database as MySQL and
Oracle 9i.

Thanks

Tushar Agrawal




-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a


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



Connection Pooling With Struts

2004-11-04 Thread Tushar Agrawal

Hi Freinds,

I am using struts-config default connection pooling with mysql. In future we may 
migrate to Oracle or SQL Server 2000 . Can you please tell me the best way of 
implementing connection pooling in struts with database as MySQL and Oracle 9i. 

Thanks 

Tushar Agrawal 

 


-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a

RE: Install Question

2004-11-04 Thread David G. Friedman
My win32 system variable for JAVA_HOME does NOT include the \bin.  Try
removing that then rebooting.  The path is correct and should have the bin,
but not the JAVA_HOME.

Regards,
David

-Original Message-
From: Us Mn [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 10:36 AM
To: [EMAIL PROTECTED]
Subject: Install Question


Hi,
I installed Tomcat 5.xx and it works. Then I installed struts 1.2.4.
I copied the struts-blank.war to the webapps folder. When I tried
http://localhost:8088/struts-blank then I get the following error:

"exception
org.apache.jasper.JasperException: Unable to compile class for JSP
...
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
..."

I have the following system variables:
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.0
CLASSPATH=c:\jakarta-struts-1.2.4\lib\struts.jar
JAVA_HOME=C:\Program Files\Java\jdk1.5.0\bin
Path=C:\Program Files\Java\jdk1.5.0\bin

Any ideas would be appreciated.
Thanx,
Usi

_
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


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



re: Install Question

2004-11-04 Thread Gao Ye Wei
I think the JAVA_HOME should set to  "C:\Program Files\Java\jdk1.5.0", not
the bin folder. You can try this.

-邮件原件-
发件人: Us Mn [mailto:[EMAIL PROTECTED] 
发送时间: 2004年11月4日 23:36
收件人: [EMAIL PROTECTED]
主题: Install Question

Hi,
I installed Tomcat 5.xx and it works. Then I installed struts 1.2.4.
I copied the struts-blank.war to the webapps folder. When I tried
http://localhost:8088/struts-blank then I get the following error:

"exception
org.apache.jasper.JasperException: Unable to compile class for JSP ...
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK ..."

I have the following system variables:
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.0
CLASSPATH=c:\jakarta-struts-1.2.4\lib\struts.jar
JAVA_HOME=C:\Program Files\Java\jdk1.5.0\bin Path=C:\Program
Files\Java\jdk1.5.0\bin

Any ideas would be appreciated.
Thanx,
Usi

_
Don? just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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



Install Question

2004-11-04 Thread Us Mn
Hi,
I installed Tomcat 5.xx and it works. Then I installed struts 1.2.4.
I copied the struts-blank.war to the webapps folder. When I tried
http://localhost:8088/struts-blank then I get the following error:
"exception
org.apache.jasper.JasperException: Unable to compile class for JSP
...
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
..."
I have the following system variables:
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.0
CLASSPATH=c:\jakarta-struts-1.2.4\lib\struts.jar
JAVA_HOME=C:\Program Files\Java\jdk1.5.0\bin
Path=C:\Program Files\Java\jdk1.5.0\bin
Any ideas would be appreciated.
Thanx,
Usi
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


Re: PageFlow

2004-11-04 Thread Eddie Bush
Perhaps you meant to be looking at :
http://struts.sourceforge.net/struts-flow/
I guess Google likes me more than it does you :-)
- Original Message - 
From: "Ben" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 6:24 AM
Subject: Re: PageFlow


That's the only link I found for PageFlow on Google and since it's in
Struts CVS I thought it was reasonable to ask that here.
I would like to know whether it is stable enough to use.
Thanks,
Ben
On Thu, 4 Nov 2004 17:10:58 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
Hi Ben,
   i too didn't get and the link takes me to some directory structure.
   Can u pls let us know what's u'r Intent
Cheeers!!!
RAJA GOPAL Y
PerotSystems TSI (India) Ltd
Ph: 91-80-8413000 - 9 Extn: 2033
Fax: +91 80 28412857

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 5:01 PM
To: Struts Users Mailing List; Ben
Subject: Re: PageFlow
Why would you ask that here?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Ben" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 1:18 AM
Subject: PageFlow
> Hi
>
> What is the current status of PageFlow?
>
> http://cvs.sourceforge.net/viewcvs.py/struts/pageFlow/
>
> Thanks
> Ben
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0445-1, 11/03/2004
Tested on: 11/4/2004 9:54:42 PM
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Using Tiles outside of an ActionServlet

2004-11-04 Thread William Ferguson
I'm trying to create a WebApp with 2 sections.

Section1 consists of Struts Actions managed by an ActionServlet and using Tiles for 
consistent layout. The incoming requests will always be '*.do'.

Section2 is a bunch of generated html fragments (each is a page's worth) that I would 
like to embed in the Tiles I'm already using in Section1. Ie Request for html page 
comes in and it is forwarded to the Tile page which embeds the originally requested 
page. The incoming requests will always be 'foo/.html'

I thought I had it nailed. 

Attempt1: Have the request for Section2 be handled by its own ActionServlet, with a 
very simple custom RequestProcessor. But Struts only allows a single instance of 
ActionServlet (or subclass) within a WebApp.

Atempt2: Use a single ActionServlet and either use a separate Module for each section, 
or use a wildcard ActionMapping to catch all of Section2's html requests. But Struts 
only allows a single servlet-mapping element for the controller-servlet and I would 
need 2 (*.do and foo/*.html). NB further Struts restriction is that when using Modules 
you can only use extension paths in your servlet-mappings.


Attempt3: ??? I'm looking for ideas.
At the moment the only solution I can see is to implement my own Servlet (not an 
ActionServlet subclass) which then uses the Tiles config and mechanism to render the 
Section2 response with the required layout.

Is there a better way?

thanks in advance.

William

RE: [****] Including a Struts action in a JSP - IllegalStateException / truncated response issue

2004-11-04 Thread Parke Jeff
I'm still having trouble including a Struts action into a JSP ().  

I've tried using absolute URLs, passing the jsessionid to ensure that
the session is not lost, but the request context is different between
the JSP and the included action, so this not suitable for many
situations.  I've also tried upgrading to Struts 1.2.4.  This does not
resolve the "Response has already been committed" issue when including
more than one Struts action in a JSP.

The app server is using JRE 1.4.1_03-b02.  

Can anyone tell me whether they have seen this situation before?  How
common is it?  Is it unusual to include Struts actions in JSPs?  Anyone?

Thanks,
Jeff

-Original Message-
From: Parke Jeff 
Sent: Tuesday, November 02, 2004 3:23 PM
To: [EMAIL PROTECTED]
Subject: [] Including a Struts action in a JSP -
IllegalStateException / truncated response issue

Hello,

 

I've seen a few posts on this subject, through this and other resources,
but I haven't seen any appealing workarounds.  I'd like to try to bring
all the relevant information from these posts together and then ask for
help in identifying a viable workaround.  I apologize in advance if this
issue is well known and understood and I just missed the best resources
on the subject.

 

Goals:

1)   To build a Struts application where _every_ request to the
application goes through a Struts action that collects and packages data
then forwards (using Struts ActionForward's) to a JSP.

2)   To be able to include one or more Struts actions in any given
JSP (ie: ).

 

Behavior when implementing these goals:

1)   Usually, when executing a single include of a Struts action on
a JSP, everything works fine though sometimes there are problems (as
listed below).

2)   When including more than one Struts action on a JSP I get an
IllegalStateException - Response has already been committed.

3)   Sometimes, when a JSP only includes one Struts action, the
first x bytes of the response will be missing when it is returned
(without exception) to the client.

 

Relevant issues (correct me where I'm wrong):

1)   Including (, , etc.) a JSP/Servlet on a
JSP sometimes (always?) causes the response to be committed because
includes use RequestDispatcher.include() which in turn commits the
response.

2)   Forwarding a request using an ActionForward from a Struts
action to a JSP can not be done when a response has been committed.

3)   Increasing the response buffer size has no effect on these
issues.

4)   Using the include directive (<%@ include file="filename" %>)
won't work because that includes source a translation time.

5)   It has been reported that using  does not
(fully/always?) resolve the problematic behavior.

6)   Using absolute URLs with  prevents the response from
being committed because the context of the request is assumed to be
independent.  The visibility of an authenticated, populated session can
be affected by passing the jsessionid in on the URL.  This seems to be
the only viable workaround though I haven't tested it thoroughly yet.

 

Reference:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg13284.html

http://www.jguru.com/faq/view.jsp?EID=501393

http://www.mail-archive.com/[EMAIL PROTECTED]/msg05711.htm
l

http://www.mail-archive.com/[EMAIL PROTECTED]/msg15194.html

http://forum.java.sun.com/thread.jsp?thread=484731&forum=45&message=2266
277

http://www.mail-archive.com/[EMAIL PROTECTED]/msg15189.html

http://jguru.com/forums/view.jsp?EID=1204797

http://forum.java.sun.com/thread.jsp?thread=461644&forum=45&message=2115
900

http://www.mail-archive.com/[EMAIL PROTECTED]/msg18018.html

http://www.mail-archive.com/[EMAIL PROTECTED]/msg74816.html

http://www.mail-archive.com/[EMAIL PROTECTED]/msg29073.html

 

My setup:

-  Oracle AS 10g (OC4J) app server

-  Struts 1.1

-  JSTL 1.0.6

 

Is there any clean way to meet the two goals listed above without error?

 

Thanks,

Jeff

 

 

 














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



Strange problem with null-value

2004-11-04 Thread Joakim Olsson
Hi all,

I have a strange problem that I just stumbled across that I don't really
understand.

I populate a bean with information from the database with iBatis, I then
use BeanUtils.copyProperties to get the information to the action form
(Niall Pembertons LazyValidatorForm) and then forward to the JSP.

If the information is presented in the JSP with c:out, null-values are
presented as nothing as expected. If the information is presented with
bean:write or html:text, null-values are presented as the text
[EMAIL PROTECTED] for example.

Does anyone have a clue on what might cause this?

Best regards,
Joakim



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



Re: Why can't I do or with no explicit action

2004-11-04 Thread Dakota Jack
If you will excuse me, Mark, I wonder why you would want your response
object to determine the flow by injecting a dynamic action?  You sure
that is what you want?

You sure you don't want to determine what the response object is based
on the flow rather than on what the request object says based on the
response object options?  Your way of approaching this seems odd to
me.

You can do either, of course.  But, if you do it the way you are
suggesting, then you are locked in when the request is submitted and
you will have to have decided on that lock the previous request.  This
seems unwieldy to me, but if that is what you like, sobeit.

Jack


On Thu, 4 Nov 2004 20:47:48 + (UTC), Mark <[EMAIL PROTECTED]> wrote:
> 
> Thanks Erik,
> That's exactly what I am asking.  There MUST be some standard
> struts bean that I can access that has the current action the page flow "is
> in".  I can see the taglib to look up a set of action forwards based on a URL.
> What I want is the the "action part" of the current URL so that I can make that
> the form action.  If not, I can setup my own as you suggest.  Maybe that's a
> better idea anyways, as it gives me more control other the situation.
> 
> Mark
> 
> 
> 
> 
> Erik Weber  mindspring.com> writes:
> 
>  I may not fully understand your problem, but won't using a variable to
>  render your form action solve your problem?
> 
>  For example:
> 
>  
> 
>  someBean being some object in some scope that is available to the JSP
>  page, someProperty being the action URL which was set by logic in the
>  page prep (Action) code?
> 
>  Erik
> 
>  Mark wrote:
> 
>  Hi Folks,
>  Struts newbie here.  In "standard" html, a form action is optional.
> If not specified, when you hit submit, that form's action "goes to" that same
> URL, thus returns back to that same form.  I effectively want to do the same
> thing in struts.  The reason is I want to reuse some pages for different
> struts action "flows".
> 
> To be clearer, imagine I have 5 pages A.jsp thru E.jsp.  I sometimes want to
> process them A, B, C, D, E.  Other times I want B,C,E,D,A or whatever.  Those
> 2 flows are controlled by 2 different (struts) actions, let's call them act1
> and act2.  If I hardcode the (HTML) form action as act1 in the page, the page
> would go to act1, even through I may be "in" the act2 (struts) action (flow).
> I realize that the first page needs to choose an action, but the rest should
> just keep the same context/URL/whatever without having to hardcode it
> (i.e "leave it blank").  I CAN get this info from the (HTTP) request object,
> but it sure seems like that doing it the hard way. I guess that I could be
> missing some fundamental "strutsism" here, but it sure seems like it would be
> very useful to do what I described.  I have searched all the FAQ's I can find,
> but no luck.
> 
> Please explain to me what "I am not getting".
> 
> -
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Re: BeanUtils.populate Exception

2004-11-04 Thread Wendy Smoak
From: "Christian Weber" <[EMAIL PROTECTED]>
> i have a great problem. I am in a project with struts 1.2.4. I can only
> use 50 action-mappings. Everything works fine, but when I add a new
> action-mapping, i can not use it!

It would be helpful to see the  tag that's causing the problem.  My
bet is on a typo, I've never heard of Struts restricting you to only 50
mappings.

-- 
Wendy Smoak


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



Help: BeanUtils.populate Exception

2004-11-04 Thread Christian Weber
Hello,
 
i have a great problem. I am in a project with struts 1.2.4. I can only
use 50 action-mappings. Everything works fine, but when I add a new
action-mapping, i can not use it! 
I got this error all the time, but only for the new action-mapping:
type Exception report
message 
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception 
javax.servlet.ServletException: BeanUtils.populate
 
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:497)
 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
or.java:798)
 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
205)
 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
root cause 
java.lang.IllegalArgumentException: argument type mismatch
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
 
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUti
ls.java:1789)
 
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUti
ls.java:1684)
 
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.jav
a:1713)
 
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
 
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
 
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
or.java:798)
 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
205)
 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 
 
I use Eclipse 3.0.1, struts 1.2.4, jboss 3.2.5. Have anybody a idea,
what this is? The action class works fine in all action-mapping before.
 
Best Regards Chris


Re: how to get back where I came form?

2004-11-04 Thread Wendy Smoak
From: "Johannes Wolfgang Woger" <[EMAIL PROTECTED]>
> I have jsp page (say pageA) that can be reached form two other pages.
> A success message should be send back to the page which invoked
> pageA, when some work was successfully done.
> How can the user get back to the right page, from which he initially
> forwarded to pageA ?

Check the archives, this is a common problem in Struts, as it's all about
FORWARD and has no inherent way to go back.

Some people have come up with elaborate breadcrumb systems, Filters that
push and pop values from a Stack kept in session scope, etc.  I just place a
Session Attribute and use that to figure out where to go next.

-- 
Wendy Smoak


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



Re: how to get back where I came form?

2004-11-04 Thread Vic Cekvenich
http://www.jguru.com/faq/view.jsp?EID=446592
Johannes Wolfgang Woger wrote:
Hi,
I have jsp page (say pageA) that can be reached form two other pages.
A success message should be send back to the page which invoked
pageA, when some work was successfully done.
How can the user get back to the right page, from which he initially
forwarded to pageA ?
Wolfgang

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


Re: Why can't I do or with no explicit action

2004-11-04 Thread Mark

Thanks Erik,
That's exactly what I am asking.  There MUST be some standard 
struts bean that I can access that has the current action the page flow "is 
in".  I can see the taglib to look up a set of action forwards based on a URL.  
What I want is the the "action part" of the current URL so that I can make that 
the form action.  If not, I can setup my own as you suggest.  Maybe that's a 
better idea anyways, as it gives me more control other the situation.  

Mark


Erik Weber  mindspring.com> writes:

 
 I may not fully understand your problem, but won't using a variable to 
 render your form action solve your problem?
 
 For example:
 
 
 
 someBean being some object in some scope that is available to the JSP 
 page, someProperty being the action URL which was set by logic in the 
 page prep (Action) code?
 
 Erik
 
 
 Mark wrote:
 
 Hi Folks,
 Struts newbie here.  In "standard" html, a form action is optional.  
If not specified, when you hit submit, that form's action "goes to" that same 
URL, thus returns back to that same form.  I effectively want to do the same 
thing in struts.  The reason is I want to reuse some pages for different 
struts action "flows".

To be clearer, imagine I have 5 pages A.jsp thru E.jsp.  I sometimes want to 
process them A, B, C, D, E.  Other times I want B,C,E,D,A or whatever.  Those 
2 flows are controlled by 2 different (struts) actions, let's call them act1 
and act2.  If I hardcode the (HTML) form action as act1 in the page, the page 
would go to act1, even through I may be "in" the act2 (struts) action (flow).  
I realize that the first page needs to choose an action, but the rest should 
just keep the same context/URL/whatever without having to hardcode it 
(i.e "leave it blank").  I CAN get this info from the (HTTP) request object, 
but it sure seems like that doing it the hard way. I guess that I could be 
missing some fundamental "strutsism" here, but it sure seems like it would be 
very useful to do what I described.  I have searched all the FAQ's I can find, 
but no luck.  

Please explain to me what "I am not getting".

-






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



how to get back where I came form?

2004-11-04 Thread Johannes Wolfgang Woger
Hi,
I have jsp page (say pageA) that can be reached form two other pages.
A success message should be send back to the page which invoked
pageA, when some work was successfully done.
How can the user get back to the right page, from which he initially
forwarded to pageA ?
Wolfgang
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Map-backed form property and multi-select

2004-11-04 Thread Salvador Morant
Not if it will be useful to you but when I generate dynamic forms I do
the following thing:

The form definition:

   
   ...


And then

The select:
 
 
 

If option is selected String[] contains the Value else contains null.
The String[] size is the select options size.

I hope to have helped for you!! 


On Thu, 4 Nov 2004 20:22:45 +0200, Radu Badita <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm using a map-backed property to get the data from a run-time
> generated form. If one of the controls in the form is a multi-select,
> I only get the first selected option.
> 
> The form definition:
> 
> 
> ...
> 
> 
> Setter method:
> public void setParamValue(String paramId, Object value)
> 
> The select:
>   
>labelProperty="value"/>
>   
> 
> The setter is called only once having a String for value, even if  I
> select multiple options.
> Can anyone please give me a hint?
> 
> Thanks
> --
> Radu
> 
> -
> 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]



Independent: What framework to use write up preview of ApacheCon

2004-11-04 Thread Vic Cekvenich
http://raibledesigns.com/page/rd?anchor=comparing_web_frameworks_presentation
.V  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Need an alternative to bean:define

2004-11-04 Thread Janice
I should point out that it isn't my company that has the restrictions.  My
employer would quite happily move to the bleeding edge of any technology if
there were any benefit to do so.  In this case the client has very definite
parameters we need to work within.  Their servers are set up in a certain
way and they have standards that must be followed or else we don't get paid.
I don't have to agree with their standards in order to take their money.  ;)

Thanks for the input all the same.

J

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 03, 2004 5:17 PM
To: Struts Users Mailing List
Subject: Re: Need an alternative to bean:define


I would question anyone who told me I had to use something that is going 
away in the future (most of Struts' taglibs), instead of using a standard 
technology (the JSTL).

Are they fully-aware of the decision they're making?  Are you running within

a container that supports Servlet Specification 2.3 and JSP Specification 
1.2?

I can't conceive of anyone being so narrow-minded.  If I told my boss I 
wanted to use the JSTL over Struts' taglibs (a conversation that would never

take place because I'm able to do whatever I feel is best), citing that the 
JSTL was a standard technology and that the Struts taglibs would be going 
away, he'd thank me for the FYI and tell me to do what I felt was best. 
We're very into using standards-compliant methodologies where it makes sense

to do so though.

Eddie


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



Map-backed form property and multi-select

2004-11-04 Thread Radu Badita
Hi,

I'm using a map-backed property to get the data from a run-time
generated form. If one of the controls in the form is a multi-select,
I only get the first selected option.

The form definition:


...


Setter method:
public void setParamValue(String paramId, Object value)

The select:
  
  
  

The setter is called only once having a String for value, even if  I
select multiple options.
Can anyone please give me a hint?

Thanks
-- 
Radu

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



Re: anon cvs pserver

2004-11-04 Thread Matt Bathje
Seetamraju, Uday wrote:
This will be my first attempt to directly add to an FOSS project.
Even tho' I am very comfortable with CVS command line (and eclipse/gcvs too)
I wanted to know whether I can do the following :-
use anon pserver login to checkout the latest src.
Try something.
If it works, request non-anon access in this mailing list.
merge.
and ci.
--
Now I still haven't even started working on how to implement global level validation.
So, if I can't come up with something **soon**, I won't.
Also if my attempts at mastering latest Validator succeeds, I may end up doing nothing 
(other than send another email to this list ;-) ).
So, any important tips? especially on the merge part above (which many should have 
winced when they saw it).

If you are going to contribute stuff to validator, you need to take a 
look at the Jakarta Commons Validator project as well. Struts handles 
some of it, but Commons Validator is where the meat and potatoes of 
validation are handled.

Struts recently converted its source repository to SVN from CVS, so you 
will need to start using that instead to contribute to Struts. Commons 
Validator still uses CVS as far as I know though.

For now your process will be to checkout the latest source, make the 
change, create a patch using diff, submit a bug report to bugzilla with 
a description of the change and the patch. If you do that enough you may 
someday get non-anonymous access to the repository (they'll let you know 
:) )

Take a look at subscribing to the Jakarta Commons user and dev lists, as 
well as the Struts dev list, and search around on the Apache, Struts and 
Jakarta pages for information about helping out.

All I can think of for now...
Matt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Example about DynaForm extends other and referencing other DynaForm

2004-11-04 Thread Adam Hardy
Hi Gabriel,
normally what you would do is make the field String type, and then set a 
struts validation to ensure it is of Date type before casting it.

hth
Adam
On 11/04/2004 01:45 PM Gabriel França Campolina wrote:
Hi,
SomeOne Know if I can do it? And How work with java.sql.Date in
DynaForm?Please post any example with action and struts config, I need
more this ???

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


Re: anon cvs pserver

2004-11-04 Thread James Mitchell
Could you please rephrase your question?
Struts is no longer using cvs, it now resides in an svn (Subversion) 
repository.
You will not be allowed to check in code unless you are a committer.  To get 
your changes added, submit a patch in diff -u format (svn diff) to a 
bugzilla ticket.


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message - 
From: "Seetamraju, Uday" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 12:57 PM
Subject: anon cvs pserver

This will be my first attempt to directly add to an FOSS project.
Even tho' I am very comfortable with CVS command line (and eclipse/gcvs 
too)
I wanted to know whether I can do the following :-

use anon pserver login to checkout the latest src.
Try something.
If it works, request non-anon access in this mailing list.
merge.
and ci.
--
Now I still haven't even started working on how to implement global level 
validation.
So, if I can't come up with something **soon**, I won't.
Also if my attempts at mastering latest Validator succeeds, I may end up 
doing nothing (other than send another email to this list ;-) ).
So, any important tips? especially on the merge part above (which many 
should have winced when they saw it).

Thanks.


The information contained in this message is intended only for the 
recipient, and may be a confidential attorney-client communication or may 
otherwise be privileged and confidential and protected from disclosure. If 
the reader of this message is not the intended recipient, or an employee or 
agent responsible for delivering this message to the intended recipient, 
please be aware that any dissemination or copying of this communication is 
strictly prohibited. If you have received this communication in error, 
please immediately notify us by replying to the message and deleting it from 
your computer.

Thank you,
Standard & Poor's



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


anon cvs pserver

2004-11-04 Thread Seetamraju, Uday
This will be my first attempt to directly add to an FOSS project.
Even tho' I am very comfortable with CVS command line (and eclipse/gcvs too)
I wanted to know whether I can do the following :-

use anon pserver login to checkout the latest src.
Try something.
If it works, request non-anon access in this mailing list.
merge.
and ci.
--
Now I still haven't even started working on how to implement global level validation.
So, if I can't come up with something **soon**, I won't.
Also if my attempts at mastering latest Validator succeeds, I may end up doing nothing 
(other than send another email to this list ;-) ).
So, any important tips? especially on the merge part above (which many should have 
winced when they saw it).

Thanks.
 
 
 

The information contained in this message is intended only for the recipient, and may 
be a confidential attorney-client communication or may otherwise be privileged and 
confidential and protected from disclosure. If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, please be aware that any dissemination or copying of this 
communication is strictly prohibited. If you have received this communication in 
error, please immediately notify us by replying to the message and deleting it from 
your computer.
 
Thank you,
 
Standard & Poor's
 


 
 
 

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



Re: Help me with connection pool of tomcat

2004-11-04 Thread klute
dbConnectionBroker can be downloaded from
http://www.javaexchange.com/

--- klute <[EMAIL PROTECTED]> wrote:

> take a look at 
>
http://www.stanford.edu/group/coursework/stanfordoki/javaexchange/com.javaexchange.dbConnectionBroker.DbConnectionBroker.html
> 
> not sure where it can be downloaded though. look
> around.
> 
> james
> 
> --- Milson Fredy Cardona Echeverri
> <[EMAIL PROTECTED]> wrote:
> 
> > hi
> > 
> > my problem with the Connection Pool of Tomcat is
> > that when entering several 
> > users to system (2 or 3), unexpectedly falls the
> > connection pool and I must 
> > reinitiate the service of tomcat. I have tested
> > several configurations in 
> > the SERVER.XML file and I could't solve the
> problem.
> > 
> > I'm trying to develop my own POOL OF CONNECTIONS,
> > but also I have problems.
> > 
> > I want to know if you can give me a POOL
> developed,
> > that i can test and 
> > implement in my applications.
> > 
> > thanks in advance
> > 
> > excuse me my english.
> > 
> >
>
_
> > Charla con tus amigos en línea mediante MSN
> > Messenger: 
> > http://messenger.latam.msn.com/
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>   
> __ 
> 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]
> 
> 




__ 
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: Help me with connection pool of tomcat

2004-11-04 Thread klute
take a look at 
http://www.stanford.edu/group/coursework/stanfordoki/javaexchange/com.javaexchange.dbConnectionBroker.DbConnectionBroker.html

not sure where it can be downloaded though. look
around.

james

--- Milson Fredy Cardona Echeverri
<[EMAIL PROTECTED]> wrote:

> hi
> 
> my problem with the Connection Pool of Tomcat is
> that when entering several 
> users to system (2 or 3), unexpectedly falls the
> connection pool and I must 
> reinitiate the service of tomcat. I have tested
> several configurations in 
> the SERVER.XML file and I could't solve the problem.
> 
> I'm trying to develop my own POOL OF CONNECTIONS,
> but also I have problems.
> 
> I want to know if you can give me a POOL developed,
> that i can test and 
> implement in my applications.
> 
> thanks in advance
> 
> excuse me my english.
> 
>
_
> Charla con tus amigos en línea mediante MSN
> Messenger: 
> http://messenger.latam.msn.com/
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




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



Help me with connection pool of tomcat

2004-11-04 Thread Milson Fredy Cardona Echeverri
hi
my problem with the Connection Pool of Tomcat is that when entering several 
users to system (2 or 3), unexpectedly falls the connection pool and I must 
reinitiate the service of tomcat. I have tested several configurations in 
the SERVER.XML file and I could't solve the problem.

I'm trying to develop my own POOL OF CONNECTIONS, but also I have problems.
I want to know if you can give me a POOL developed, that i can test and 
implement in my applications.

thanks in advance
excuse me my english.
_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/

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


Re: Help with connection pool

2004-11-04 Thread Salvador Morant
http://www.richardsonpublications.com/dbpool/index.jsp

Perhaps be able to be useful to you !


On Thu, 04 Nov 2004 09:25:16 -0500, Milson Fredy Cardona Echeverri
<[EMAIL PROTECTED]> wrote:
> hi friends
> 
> I'm working with the POOL OF TOMCAT, but I have problems with him.
> 
> I'm trying to develop my own POOL OF CONNECTIONS, but also I have problems.
> 
> I want to know if you can give me a POOL developed, that i can test and
> implement in my applications.
> 
> thanks in advance
> 
> _
> Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
> YupiMSN Compras: http://latam.msn.com/compras/
> 
> -
> 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]



Validator requiredif throws java.lang.reflect.InvocationTargetException

2004-11-04 Thread Mark Benussi
Afternoon.
Have the following problem which is throwing an invocation exception which I 
assume means that a Null Pointer Exception occurred. WOuld appreciate some 
assistance as its doing my nut

Properties.
errors.requiredif = Please enter the {0} here or another required field.
customerAddressForm.buildingNumber = building number
customerAddressForm.buildingName = building name
Validator rules.

	
		
	


Struts validation





field[0]
buildingNumber


fieldTest[0]
NULL





field[0]
buildingName


fieldTest[0]
NULL



Throws the following when I enter nothing in either buildingName or 
buildingNumber
[04/11/04 16:38:21:086 GMT] 681bd507 RequestProces I 
org.apache.struts.action.RequestProcessor  Processing a 'POST' for path 
'/registration/stage2'

[04/11/04 16:38:21:086 GMT] 681bd507 Validator E 
org.apache.commons.validator.Validator  reflection: null

[04/11/04 16:38:21:096 GMT] 681bd507 Validator E 
org.apache.commons.validator.Validator  TRAS0014I: The following exception 
was logged java.lang.reflect.InvocationTargetException: 
java.lang.NullPointerException
	at 
org.apache.struts.validator.FieldChecks.validateRequiredIf(FieldChecks.java:190)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.apache.commons.validator.Validator.validateFieldForRule(Validator.java:435)
	at org.apache.commons.validator.Validator.validateField(Validator.java:512)
	at org.apache.commons.validator.Validator.validate(Validator.java:551)
	at 
org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:152)
	at 
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:912)
	at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
	at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
	at 
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
	at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
	at 
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
	at 
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
	at 
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
	at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
	at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
	at 
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
	at 
com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
	at 
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:187)
	at 
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
	at 
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
	at 
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
- Begin backtrace for targetException
java.lang.NullPointerException
	at 
org.apache.struts.validator.FieldChecks.validateRequiredIf(FieldChecks.java:190)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.apache.commons.validator.Validator.validateFieldForRule(Validator.java:435)
	at org.apache.commons.validato

Re: Recursive navitation on beans

2004-11-04 Thread Hubert Rabago
Take a look at the nested taglibs.  


On Thu, 04 Nov 2004 14:20:27 -0200, Vinicius Carvalho
<[EMAIL PROTECTED]> wrote:
> Hi there!
> I have a bean, that is recursively created it has a child attribute that
> maps to a collection of its childs.
> I'd like to know if is there a taglib to display it. Cause
>  doesn't seem to allow this, once I don't know how deep
> the graph of objects could get.
> 
> Thanks
> 
> Vinicius
>

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



Recursive navitation on beans

2004-11-04 Thread Vinicius Carvalho
Hi there!
I have a bean, that is recursively created it has a child attribute that 
maps to a collection of its childs.
I'd like to know if is there a taglib to display it. Cause 
 doesn't seem to allow this, once I don't know how deep 
the graph of objects could get.

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


Re: LookUpDispatchAction weakness?

2004-11-04 Thread Dakota Jack
LUDA is just too complex and too outmoded, as Paul says.  

However, since you want to use LUDA, I don't get what your problem is.
 Can you provide the code?

Here is what I understand: A. you are using javascript to set the
action.  B. then you have "separate methods" for each action.  You
need to spell out what B means, if we are to assist you.

At any rate, I cannot tell what B means in your case.  So, either
change to something other than LUDA (recommended) or let us know what
you are doing in more detail?

Presumably, since you are using LUDA, you have a set number of methods
no matter what action is being set by your javascript and this set
number have the same names in each action.  (This architectrue seems
suspect to me.  But, I don't know what you are doing, so it might make
a lot of sense that is not obvious.)

I hope I am not being obtuse.  If so, please advise.  Thanks.

Jack


On Thu, 4 Nov 2004 14:47:28 +0100, Václavík Radek
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I wanted to follow best practices and thus using LUDA, but I found the
> following weekness: I have to rewrite code common to all of the actions in
> every action method.
> 
> When using JavaScript to set e.g. the action attribute, I can do some common
> stuff in the execute method and then decide (if) what specific code to do
> based on the action. However, if there are separate methods for each action,
> I would have to either rewrite that code or make some common method and move
> the code there (then there is problem with returning variables, or having
> them as class variables - both doesn't seem very nice).
> 
> Am I missing something here? How are you guys dealing with this?
> 
> Thx for tips.
> 
> Radek
> 
> 


-- 
"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Tiles Security?

2004-11-04 Thread Steven Leija
Hey All,

I'm currenly using tomcat's security realm for my authentication and authorization and 
running into an issue with tiles and security.  I have a directory called secure and 
in a tiles element, I have a page referenced to one of the pages in the secure 
directory.  I assumed that tomcat would pick up the fact it's in a secure location and 
would force a login.Is this not the case?  Is there something I'm missing to force 
it to a login screen, and once authenticated, then reroute to the tiles layout 
defined?  When I bring up only the secure page, it forces the login.

Thanks for any help!

Steven

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

Re: Why can't I do or with no explicit action

2004-11-04 Thread Dakota Jack
First, as you describe the problem, the problem is not with the action
but with the forwarding.  That is, on the first example you want the
action for C to forward to D but in the second example you want the
action for C to forward to E.  Right?  That's what it says anyway.


Second, no matter what the form action attribute says in the struts
 tag, you can do anything you want with the forwarding in
your action.


Consequently, according to your description, you have no problem.

Jack

On Thu, 4 Nov 2004 05:25:51 + (UTC), Mark <[EMAIL PROTECTED]> wrote:
> 
> Hi Folks,
>  Struts newbie here.  In "standard" html, a form action is optional.
> If not specified, when you hit submit, that form's action "goes to" that same
> URL, thus returns back to that same form.  I effectively want to do the same
> thing in struts.  The reason is I want to reuse some pages for different
> struts action "flows".
> 
> To be clearer, imagine I have 5 pages A.jsp thru E.jsp.  I sometimes want to
> process them A, B, C, D, E.  Other times I want B,C,E,D,A or whatever.  Those
> 2 flows are controlled by 2 different (struts) actions, let's call them act1
> and act2.  If I hardcode the (HTML) form action as act1 in the page, the page
> would go to act1, even through I may be "in" the act2 (struts) action (flow).
> I realize that the first page needs to choose an action, but the rest should
> just keep the same context/URL/whatever without having to hardcode it
> (i.e "leave it blank").  I CAN get this info from the (HTTP) request object,
> but it sure seems like that doing it the hard way. I guess that I could be
> missing some fundamental "strutsism" here, but it sure seems like it would be
> very useful to do what I described.  I have searched all the FAQ's I can find,
> but no luck.
> 
> Please explain to me what "I am not getting".
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Re: LookUpDispatchAction weakness?

2004-11-04 Thread Jeff Beal
You can override the execute method in your action and do your common 
stuff, then just call super.execute() to let LUDA do it's thing (which 
will include dispatching to your action-specific methods, of course).

-- Jeff
Václavík Radek wrote:
Hi,
I wanted to follow best practices and thus using LUDA, but I found the
following weekness: I have to rewrite code common to all of the actions in
every action method.
When using JavaScript to set e.g. the action attribute, I can do some common
stuff in the execute method and then decide (if) what specific code to do
based on the action. However, if there are separate methods for each action,
I would have to either rewrite that code or make some common method and move
the code there (then there is problem with returning variables, or having
them as class variables - both doesn't seem very nice).
Am I missing something here? How are you guys dealing with this?
Thx for tips.
Radek

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


[OT] Re: Help with connection pool

2004-11-04 Thread James Mitchell
What's wrong with Tomcat's connection pooling?  What (specifically) problem 
are you having?


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message - 
From: "Milson Fredy Cardona Echeverri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 9:25 AM
Subject: Help with connection pool


hi friends
I'm working with the POOL OF TOMCAT, but I have problems with him.
I'm trying to develop my own POOL OF CONNECTIONS, but also I have 
problems.

I want to know if you can give me a POOL developed, that i can test and 
implement in my applications.

thanks in advance
_
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, 
YupiMSN Compras: http://latam.msn.com/compras/

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


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


Re: Help with connection pool

2004-11-04 Thread Peng Tuck
If you can describe your problem with tomcat's connection pool, maybe 
the people on the list
can better help you out.  Do you have problems with configuration or such ?

Milson Fredy Cardona Echeverri wrote:
hi friends
I'm working with the POOL OF TOMCAT, but I have problems with him.
I'm trying to develop my own POOL OF CONNECTIONS, but also I have 
problems.

I want to know if you can give me a POOL developed, that i can test 
and implement in my applications.

thanks in advance
_
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, 
YupiMSN Compras: http://latam.msn.com/compras/

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




smime.p7s
Description: S/MIME Cryptographic Signature


Help with connection pool

2004-11-04 Thread Milson Fredy Cardona Echeverri
hi friends
I'm working with the POOL OF TOMCAT, but I have problems with him.
I'm trying to develop my own POOL OF CONNECTIONS, but also I have problems.
I want to know if you can give me a POOL developed, that i can test and 
implement in my applications.

thanks in advance
_
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, 
YupiMSN Compras: http://latam.msn.com/compras/

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


RE: LookUpDispatchAction weakness?

2004-11-04 Thread Paul McCulloch
I've come round to Michael McGrady's way of thinking. LUDA is far more
complex than it needs to be.

See http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions

Paul

> -Original Message-
> From: Vaclavik Radek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 1:47 PM
> To: '[EMAIL PROTECTED]'
> Subject: LookUpDispatchAction weakness?
> 
> 
> Hi,
> 
> I wanted to follow best practices and thus using LUDA, but I found the
> following weekness: I have to rewrite code common to all of 
> the actions in
> every action method.
> 
> When using JavaScript to set e.g. the action attribute, I can 
> do some common
> stuff in the execute method and then decide (if) what 
> specific code to do
> based on the action. However, if there are separate methods 
> for each action,
> I would have to either rewrite that code or make some common 
> method and move
> the code there (then there is problem with returning 
> variables, or having
> them as class variables - both doesn't seem very nice).
> 
> Am I missing something here? How are you guys dealing with this?
> 
> Thx for tips.
> 
> Radek
> 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.
**


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



LookUpDispatchAction weakness?

2004-11-04 Thread Václavík Radek
Hi,

I wanted to follow best practices and thus using LUDA, but I found the
following weekness: I have to rewrite code common to all of the actions in
every action method.

When using JavaScript to set e.g. the action attribute, I can do some common
stuff in the execute method and then decide (if) what specific code to do
based on the action. However, if there are separate methods for each action,
I would have to either rewrite that code or make some common method and move
the code there (then there is problem with returning variables, or having
them as class variables - both doesn't seem very nice).

Am I missing something here? How are you guys dealing with this?

Thx for tips.

Radek


Example about DynaForm extends other and referencing other DynaForm

2004-11-04 Thread Gabriel França Campolina
Hi,
SomeOne Know if I can do it? And How work with java.sql.Date in
DynaForm?Please post any example with action and struts config, I need
more this ???

-- 
--
Gabriel França Campolina
Sun Certified Programmer for the Java 2 Plataform

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



Re: Struts Best Practices

2004-11-04 Thread Nishant
goto site
http://www.developer.com/java/web/article.php/2214681
will find example of Dynaform compared with ActionForm
Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel: 91-20-4041700  -355
Email: [EMAIL PROTECTED]
Website: www.cybage.com
There's a difference between knowing the path, and walking the path
- Original Message - 
From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 7:02 PM
Subject: RE: Struts Best Practices


Then can you give me an example of dynamic view?




-Original Message-
From: Nishant [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 8:26 AM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices



Once you've been using Struts for a while, you'll begin to notice that you
spend a lot of time creating ActionForm classes. While these classes are
critical to the MVC architecture of Struts (as they implement the view
portion), they are usually simply a collection of bean properties and a
validate method (also sometimes a reset method.)

With the Struts 1.1 release, developers have a new set of options to create
their view objects, based around DynaBeans. DynaBeans are dynamically
configured Java Beans, which means that they take their properties from some
variety of external configuration (usually XML) rather than by explicit
methods defined in the class.

Thus they give improved performance over ActionForm.It doesnot means that
you should always use Dynaform .When Static view is required use ActioForm
and when Dynamic view is use DynaForm.

regards

Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel: 91-20-4041700  -355
Email: [EMAIL PROTECTED]
Website: www.cybage.com
There's a difference between knowing the path, and walking the path
- Original Message - 
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 6:48 PM
Subject: RE: Struts Best Practices


Can any one let me know what's the advantage of using DynaForm rather than
ActionForm or FormBean.



-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 6:47 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


I sugest some pratice:

Use plugin validador
Extends TilesRequestProcessor
Use DynaForm
Use Tiles
Use ExceptionHandler
Use Designer Partnner

I think that this,

If any folk has more comments, please go shared.

Sory my english, I'm braziliam

Gabriel F Campolina
SCJP




On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills <[EMAIL PROTECTED]>
wrote:
> Ted Husted has a good set of  resources and hints
> (http://www.husted.com/struts/)  though these may be too specific? You
> should also check out the StrutsCatalog in the Wiki
> (http://wiki.apache.org/struts/StrutsCatalog)
>
> Regards
>
> Duncan Mills
> www.groundside.com/blog
>
>
>
>
> Tushar Agrawal wrote:
>
> >Hi Folks,
> >
> >I am handling a web project and using struts framework. Can any one
> >tell
me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
Standards for a struts Application".
> >
> >I request to please share your experinces on "Struts Application
> >Design
Guidelines".
> >
> >Million Thanks in Advance
> >
> >Tushar Agrawal
> >
> >
> >
> >//
> >   Tushar Agrawal
> > Software Engineer
> >  Seclore Technology Pvt Ltd.
> >IIT Powai, Bombay (Mah)
> > Cell : +919819804870
> >   website:www.seclore.com
> >/*/
> >
> >-
> >Do you Yahoo!?
> > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

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


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


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


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



Re: Struts Best Practices

2004-11-04 Thread Gabriel França Campolina
Hi rajagopal,
When you use the DynaForm or DynaValidatorForm you create less code in
you system, and is more easy you

And i remember more one best pratice,

Use the LookUpDispachAction




On Thu, 4 Nov 2004 18:48:10 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Can any one let me know what's the advantage of using DynaForm rather than
> ActionForm or FormBean.
> 
> 
> 
> 
> -Original Message-
> From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 6:47 PM
> To: Struts Users Mailing List
> Subject: Re: Struts Best Practices
> 
> I sugest some pratice:
> 
> Use plugin validador
> Extends TilesRequestProcessor
> Use DynaForm
> Use Tiles
> Use ExceptionHandler
> Use Designer Partnner
> 
> I think that this,
> 
> If any folk has more comments, please go shared.
> 
> Sory my english, I'm braziliam
> 
> Gabriel F Campolina
> SCJP
> 
> On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
> <[EMAIL PROTECTED]> wrote:
> > Ted Husted has a good set of  resources and hints
> > (http://www.husted.com/struts/)  though these may be too specific?
> > You should also check out the StrutsCatalog in the Wiki
> > (http://wiki.apache.org/struts/StrutsCatalog)
> >
> > Regards
> >
> > Duncan Mills
> > www.groundside.com/blog
> >
> >
> >
> >
> > Tushar Agrawal wrote:
> >
> > >Hi Folks,
> > >
> > >I am handling a web project and using struts framework. Can any one tell
> me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
> Standards for a struts Application".
> > >
> > >I request to please share your experinces on "Struts Application Design
> Guidelines".
> > >
> > >Million Thanks in Advance
> > >
> > >Tushar Agrawal
> > >
> > >
> > >
> > >//
> > >   Tushar Agrawal
> > > Software Engineer
> > >  Seclore Technology Pvt Ltd.
> > >IIT Powai, Bombay (Mah)
> > > Cell : +919819804870
> > >   website:www.seclore.com
> > >/*/
> > >
> > >-
> > >Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> 
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
--
Gabriel França Campolina
Sun Certified Programmer for the Java 2 Plataform

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



RE: Struts Best Practices

2004-11-04 Thread Zhang, Larry \(L.\)
Then can you give me an example of dynamic view?




-Original Message-
From: Nishant [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 04, 2004 8:26 AM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices



Once you've been using Struts for a while, you'll begin to notice that you spend a lot 
of time creating ActionForm classes. While these classes are critical to the MVC 
architecture of Struts (as they implement the view portion), they are usually simply a 
collection of bean properties and a validate method (also sometimes a reset method.)

With the Struts 1.1 release, developers have a new set of options to create their view 
objects, based around DynaBeans. DynaBeans are dynamically configured Java Beans, 
which means that they take their properties from some variety of external 
configuration (usually XML) rather than by explicit methods defined in the class.

Thus they give improved performance over ActionForm.It doesnot means that you should 
always use Dynaform .When Static view is required use ActioForm and when Dynamic view 
is use DynaForm.

regards

Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel: 91-20-4041700  -355
Email: [EMAIL PROTECTED]
Website: www.cybage.com
There's a difference between knowing the path, and walking the path
- Original Message - 
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 6:48 PM
Subject: RE: Struts Best Practices


Can any one let me know what's the advantage of using DynaForm rather than ActionForm 
or FormBean.



-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 6:47 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


I sugest some pratice:

Use plugin validador
Extends TilesRequestProcessor
Use DynaForm
Use Tiles
Use ExceptionHandler
Use Designer Partnner

I think that this,

If any folk has more comments, please go shared.

Sory my english, I'm braziliam

Gabriel F Campolina
SCJP




On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills <[EMAIL PROTECTED]> wrote:
> Ted Husted has a good set of  resources and hints
> (http://www.husted.com/struts/)  though these may be too specific? You 
> should also check out the StrutsCatalog in the Wiki
> (http://wiki.apache.org/struts/StrutsCatalog)
>
> Regards
>
> Duncan Mills
> www.groundside.com/blog
>
>
>
>
> Tushar Agrawal wrote:
>
> >Hi Folks,
> >
> >I am handling a web project and using struts framework. Can any one 
> >tell
me where to find stuff on "Struts Best Practices"  or "Desgin and Coding Standards for 
a struts Application".
> >
> >I request to please share your experinces on "Struts Application 
> >Design
Guidelines".
> >
> >Million Thanks in Advance
> >
> >Tushar Agrawal
> >
> >
> >
> >//
> >   Tushar Agrawal
> > Software Engineer
> >  Seclore Technology Pvt Ltd.
> >IIT Powai, Bombay (Mah)
> > Cell : +919819804870
> >   website:www.seclore.com 
> >/*/
> >
> >-
> >Do you Yahoo!?
> > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

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


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


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



Re: Struts Best Practices

2004-11-04 Thread Nishant

Once you've been using Struts for a while, you'll begin to notice that you
spend a lot of time creating ActionForm classes. While these classes are
critical to the MVC architecture of Struts (as they implement the view
portion), they are usually simply a collection of bean properties and a
validate method (also sometimes a reset method.)

With the Struts 1.1 release, developers have a new set of options to create
their view objects, based around DynaBeans. DynaBeans are dynamically
configured Java Beans, which means that they take their properties from some
variety of external configuration (usually XML) rather than by explicit
methods defined in the class.

Thus they give improved performance over ActionForm.It doesnot means that
you should always use Dynaform .When Static view is required use ActioForm
and when Dynamic view is use DynaForm.

regards

Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel: 91-20-4041700  -355
Email: [EMAIL PROTECTED]
Website: www.cybage.com
There's a difference between knowing the path, and walking the path
- Original Message - 
From: "Y, Rajagopal" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 6:48 PM
Subject: RE: Struts Best Practices


Can any one let me know what's the advantage of using DynaForm rather than
ActionForm or FormBean.



-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 6:47 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


I sugest some pratice:

Use plugin validador
Extends TilesRequestProcessor
Use DynaForm
Use Tiles
Use ExceptionHandler
Use Designer Partnner

I think that this,

If any folk has more comments, please go shared.

Sory my english, I'm braziliam

Gabriel F Campolina
SCJP




On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
<[EMAIL PROTECTED]> wrote:
> Ted Husted has a good set of  resources and hints
> (http://www.husted.com/struts/)  though these may be too specific?
> You should also check out the StrutsCatalog in the Wiki
> (http://wiki.apache.org/struts/StrutsCatalog)
>
> Regards
>
> Duncan Mills
> www.groundside.com/blog
>
>
>
>
> Tushar Agrawal wrote:
>
> >Hi Folks,
> >
> >I am handling a web project and using struts framework. Can any one tell
me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
Standards for a struts Application".
> >
> >I request to please share your experinces on "Struts Application Design
Guidelines".
> >
> >Million Thanks in Advance
> >
> >Tushar Agrawal
> >
> >
> >
> >//
> >   Tushar Agrawal
> > Software Engineer
> >  Seclore Technology Pvt Ltd.
> >IIT Powai, Bombay (Mah)
> > Cell : +919819804870
> >   website:www.seclore.com
> >/*/
> >
> >-
> >Do you Yahoo!?
> > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

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


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



RE: Struts Best Practices

2004-11-04 Thread Y, Rajagopal
Can any one let me know what's the advantage of using DynaForm rather than
ActionForm or FormBean.



-Original Message-
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 6:47 PM
To: Struts Users Mailing List
Subject: Re: Struts Best Practices


I sugest some pratice:

Use plugin validador
Extends TilesRequestProcessor
Use DynaForm
Use Tiles
Use ExceptionHandler
Use Designer Partnner

I think that this,

If any folk has more comments, please go shared.

Sory my english, I'm braziliam

Gabriel F Campolina
SCJP




On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
<[EMAIL PROTECTED]> wrote:
> Ted Husted has a good set of  resources and hints
> (http://www.husted.com/struts/)  though these may be too specific?
> You should also check out the StrutsCatalog in the Wiki
> (http://wiki.apache.org/struts/StrutsCatalog)
> 
> Regards
> 
> Duncan Mills
> www.groundside.com/blog
> 
> 
> 
> 
> Tushar Agrawal wrote:
> 
> >Hi Folks,
> >
> >I am handling a web project and using struts framework. Can any one tell
me where to find stuff on "Struts Best Practices"  or "Desgin and Coding
Standards for a struts Application".
> >
> >I request to please share your experinces on "Struts Application Design
Guidelines".
> >
> >Million Thanks in Advance
> >
> >Tushar Agrawal
> >
> >
> >
> >//
> >   Tushar Agrawal
> > Software Engineer
> >  Seclore Technology Pvt Ltd.
> >IIT Powai, Bombay (Mah)
> > Cell : +919819804870
> >   website:www.seclore.com
> >/*/
> >
> >-
> >Do you Yahoo!?
> > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

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



Re: Struts Best Practices

2004-11-04 Thread Gabriel França Campolina
I sugest some pratice:

Use plugin validador
Extends TilesRequestProcessor
Use DynaForm
Use Tiles
Use ExceptionHandler
Use Designer Partnner

I think that this,

If any folk has more comments, please go shared.

Sory my english, I'm braziliam

Gabriel F Campolina
SCJP




On Thu, 04 Nov 2004 11:05:56 +, Duncan Mills
<[EMAIL PROTECTED]> wrote:
> Ted Husted has a good set of  resources and hints
> (http://www.husted.com/struts/)  though these may be too specific?
> You should also check out the StrutsCatalog in the Wiki
> (http://wiki.apache.org/struts/StrutsCatalog)
> 
> Regards
> 
> Duncan Mills
> www.groundside.com/blog
> 
> 
> 
> 
> Tushar Agrawal wrote:
> 
> >Hi Folks,
> >
> >I am handling a web project and using struts framework. Can any one tell me where 
> >to find stuff on "Struts Best Practices"  or "Desgin and Coding Standards for a 
> >struts Application".
> >
> >I request to please share your experinces on "Struts Application Design Guidelines".
> >
> >Million Thanks in Advance
> >
> >Tushar Agrawal
> >
> >
> >
> >//
> >   Tushar Agrawal
> > Software Engineer
> >  Seclore Technology Pvt Ltd.
> >IIT Powai, Bombay (Mah)
> > Cell : +919819804870
> >   website:www.seclore.com
> >/*/
> >
> >-
> >Do you Yahoo!?
> > Check out the new Yahoo! Front Page.  www.yahoo.com/a
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



[OT] Can I distribute tools.jar with my application?

2004-11-04 Thread Tuncay Baskan
I heard some rumor that with Java 5 this is possible..
Does anyone know any pointer about this?

-- 
/tb.

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



RE: PageFlow

2004-11-04 Thread Y, Rajagopal
as of i know the PageFlow concept is under Apache Beehieve Project, i don't
think u can use it readily.

PageFlow is a Concept Which is developed on Struts.


But if u really want to know what is PageFlow & How that works..
Pls Refer Weblogic Workshop 8.1 Docs.

Cheers !!!
..Raja 

-Original Message-
From: Ben [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 5:55 PM
To: Struts Users Mailing List
Subject: Re: PageFlow


That's the only link I found for PageFlow on Google and since it's in
Struts CVS I thought it was reasonable to ask that here.

I would like to know whether it is stable enough to use.

Thanks,
Ben

On Thu, 4 Nov 2004 17:10:58 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Hi Ben,
> 
>i too didn't get and the link takes me to some directory structure.
>Can u pls let us know what's u'r Intent
> 
> Cheeers!!!
> RAJA GOPAL Y
> PerotSystems TSI (India) Ltd
> Ph: 91-80-8413000 - 9 Extn: 2033
> Fax: +91 80 28412857
> 
> 
> 
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 5:01 PM
> To: Struts Users Mailing List; Ben
> Subject: Re: PageFlow
> 
> Why would you ask that here?
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> 
> - Original Message -
> From: "Ben" <[EMAIL PROTECTED]>
> To: "Struts" <[EMAIL PROTECTED]>
> Sent: Thursday, November 04, 2004 1:18 AM
> Subject: PageFlow
> 
> > Hi
> >
> > What is the current status of PageFlow?
> >
> > http://cvs.sourceforge.net/viewcvs.py/struts/pageFlow/
> >
> > Thanks
> > Ben
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

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



Re: How does the RT Expr work for form, select, option

2004-11-04 Thread Adam Hardy
Phil, try using "${arincFormBean}"

On 11/04/2004 11:23 AM Philip DONAGHY wrote:
Good day,
I have got a dynabean using a property of type java.util.ArrayList and I
want to use it with an html:select and html:option. I am getting an
exception saying that $ArincFormBean.fileList can not be resolved.



Any help would be appreciated.
Phil

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


Re: PageFlow

2004-11-04 Thread Ben
That's the only link I found for PageFlow on Google and since it's in
Struts CVS I thought it was reasonable to ask that here.

I would like to know whether it is stable enough to use.

Thanks,
Ben

On Thu, 4 Nov 2004 17:10:58 +0530, Y, Rajagopal
<[EMAIL PROTECTED]> wrote:
> Hi Ben,
> 
>i too didn't get and the link takes me to some directory structure.
>Can u pls let us know what's u'r Intent
> 
> Cheeers!!!
> RAJA GOPAL Y
> PerotSystems TSI (India) Ltd
> Ph: 91-80-8413000 - 9 Extn: 2033
> Fax: +91 80 28412857
> 
> 
> 
> 
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 5:01 PM
> To: Struts Users Mailing List; Ben
> Subject: Re: PageFlow
> 
> Why would you ask that here?
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> 
> - Original Message -
> From: "Ben" <[EMAIL PROTECTED]>
> To: "Struts" <[EMAIL PROTECTED]>
> Sent: Thursday, November 04, 2004 1:18 AM
> Subject: PageFlow
> 
> > Hi
> >
> > What is the current status of PageFlow?
> >
> > http://cvs.sourceforge.net/viewcvs.py/struts/pageFlow/
> >
> > Thanks
> > Ben
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



RE: Remotely restart Tomcat.

2004-11-04 Thread Daniel Perry
What OS are you using?

I use ssh to log into our linux servers and restart tomcat that way.

Can also be done using telnet into windows.

Daniel.

> -Original Message-
> From: Philip DONAGHY [mailto:[EMAIL PROTECTED]
> Sent: 04 November 2004 11:32
> To: Struts Users Mailing List
> Subject: Re: Remotely restart Tomcat.
>
>
> You may also be interested in the manager which can start or stop
> specific web applications.
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
>
> You have to edit $CATALINA_HOME/conf/tomcat-users.xml and add a user to
> use it.
>
> Donaghy
>
> dumm y a écrit :
> >
> > Hi all
> >
> >  Is there a way to hit the admin or something so that I can
> >  restart Tomcat remotely? I am using Struts and the only way I
> >  know to get things going again after changing the
> >  struts-config.xml file is to restart Tomcat. Can't just restart
> >  my web app.
> >
> >  Help!
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: Remotely restart Tomcat.

2004-11-04 Thread Christoph Kutzinski
AFAIk this is generally disrecommended in production environments since 
there are some memory leaks in Tomcat/Struts (which are seemingly very 
hard or impossible to fix) regarding webapp restart.

The recommended way is to shut down and restart tomcat.
For a develop environment webapp restart is ok.
HTH
Christoph
Philip DONAGHY wrote:
You may also be interested in the manager which can start or stop
specific web applications.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
You have to edit $CATALINA_HOME/conf/tomcat-users.xml and add a user to
use it.
Donaghy
dumm y a écrit :
Hi all
Is there a way to hit the admin or something so that I can
restart Tomcat remotely? I am using Struts and the only way I
know to get things going again after changing the
struts-config.xml file is to restart Tomcat. Can't just restart
my web app.
Help!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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


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


RE: PageFlow

2004-11-04 Thread Y, Rajagopal
Hi Ben,

   i too didn't get and the link takes me to some directory structure.
   Can u pls let us know what's u'r Intent

Cheeers!!!
RAJA GOPAL Y
PerotSystems TSI (India) Ltd
Ph: 91-80-8413000 - 9 Extn: 2033
Fax: +91 80 28412857


-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 5:01 PM
To: Struts Users Mailing List; Ben
Subject: Re: PageFlow


Why would you ask that here?



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

- Original Message - 
From: "Ben" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 1:18 AM
Subject: PageFlow


> Hi
> 
> What is the current status of PageFlow?
> 
> http://cvs.sourceforge.net/viewcvs.py/struts/pageFlow/
> 
> Thanks
> Ben
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


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

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



Re: PageFlow

2004-11-04 Thread James Mitchell
Why would you ask that here?

--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message - 
From: "Ben" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 1:18 AM
Subject: PageFlow


Hi
What is the current status of PageFlow?
http://cvs.sourceforge.net/viewcvs.py/struts/pageFlow/
Thanks
Ben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: Remotely restart Tomcat.

2004-11-04 Thread Philip DONAGHY
You may also be interested in the manager which can start or stop
specific web applications.

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html

You have to edit $CATALINA_HOME/conf/tomcat-users.xml and add a user to
use it.

Donaghy

dumm y a écrit :
> 
> Hi all
> 
>  Is there a way to hit the admin or something so that I can
>  restart Tomcat remotely? I am using Struts and the only way I
>  know to get things going again after changing the
>  struts-config.xml file is to restart Tomcat. Can't just restart
>  my web app.
> 
>  Help!
> 
> -
> 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]



How does the RT Expr work for form, select, option

2004-11-04 Thread Philip DONAGHY
Good day,

I have got a dynabean using a property of type java.util.ArrayList and I
want to use it with an html:select and html:option. I am getting an
exception saying that $ArincFormBean.fileList can not be resolved.





Any help would be appreciated.

Phil

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



Re: Remotely restart Tomcat.

2004-11-04 Thread Peng Tuck
There's a ant task for this kind of things :P
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server
Should work for you.

dumm y wrote:
Hi all
Is there a way to hit the admin or something so that I can
restart Tomcat remotely? I am using Struts and the only way I
know to get things going again after changing the
struts-config.xml file is to restart Tomcat. Can't just restart
my web app.

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


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


Re: Struts Best Practices

2004-11-04 Thread Duncan Mills
Ted Husted has a good set of  resources and hints  
(http://www.husted.com/struts/)  though these may be too specific?
You should also check out the StrutsCatalog in the Wiki 
(http://wiki.apache.org/struts/StrutsCatalog)

Regards
Duncan Mills
www.groundside.com/blog

Tushar Agrawal wrote:
Hi Folks,
I am handling a web project and using struts framework. Can any one tell me where to find stuff on 
"Struts Best Practices"  or "Desgin and Coding Standards for a struts Application".
I request to please share your experinces on "Struts Application Design Guidelines". 

Million Thanks in Advance
Tushar Agrawal

//
  Tushar Agrawal
Software Engineer
 Seclore Technology Pvt Ltd.
   IIT Powai, Bombay (Mah)
Cell : +919819804870
  website:www.seclore.com
/*/
			
-
Do you Yahoo!?
Check out the new Yahoo! Front Page.  www.yahoo.com/a
 

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


Re: Struts and Cewolf integration

2004-11-04 Thread matsuhashi

(BI am looking at Struts + Cewolf combination as well.  I have successfully
(Bbuild a sample app.
(B
(BIn my sample, I have both of Struts' ActionServlet and the Cewolf Servlet
(Btogether. See my following web.xml fragment:
(B-
(B
(B
(B
(Baction
(B
(Borg.apache.struts.action.ActionServlet
(B
(Bapplication
(Bresources.application
(B
(B
(Bconfig
(B/WEB-INF/struts-config.xml
(B
(B[...]
(B
(B
(BCewolfServlet
(Bde.laures.cewolf.CewolfRenderer
(B
(B
(B
(Baction
(B*.do
(B
(B
(BCewolfServlet
(B/cewolf/*
(B
(B[...]
(B
(B-
(B
(BThe initial request from a web browser to a URL (.../anychart.do) will be
(Bcathed by the Struts' servlet, processed by your Action class, then the
(Bcontrol will be forwarded to a JSP where you code view design using
(BCewolf's custom tags (. etc).
(B
(BThe internal processing behind the JSP will have two parts.
(B
(B(1) it will produce PNG graphics object, which will be temporarily cached
(Binto a application-scoped collection with 'jsessionid'. The PNG object will
(BNOT be immediatedly responded back to the browser.
(B
(B(2)it will produce a text/html stream, which will be immediately responded
(Bto the requesting browser. For example it will look somthing like:
(B
(B
(B
(B[]
(B
(B 
(B
(B
(B
(B
(BThe HTML contains a  tag. The URL of the img tag points to
(Bthe Cewolf Servlet (NOT to the Struts' ActionServlet). As soon as the
(Bbrowser receives the HTML and find the img tag, the browser fires the
(Bsecond HTTP GET request to Cewolf Servlet. The second HTTP GET will go to
(BCewolf Servlet.
(B The Cewolf Servlet will check the cache to find out a PNG graphics object
(Bto respond. The magic is that the src attribute of img tag will contain the
(BIdentification information which JSP has assigned and passed in order to
(Blet the Cewolf Servlet identify witch of the cached PNG object instance to
(Bbe sent back.
(B
(BSo, you do not have to mind having both of Struts' ActionServlet ant Cewolf
(BServlet together in you app. You really need them both.
(B
(B=
(B
(BLet me add one point. I have experimentally developed a custom tag named
(B.
(B
(BUsing this cutom tag, my example JSP looks like:
(B
(B<%@ page language="java" %>
(B<%@ page contentType="text/html; charset=UTF-8" %>
(B
(B
(B
(B
(BAsset Class A
(B63.2
(B
(B
(BAsset Class B
(B30.8
(B
(B
(BAsset Class C
(B6.0
(B
(B
(B
(B
(B
(B
(B 
(B 
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B 
(B
(B
(B
(B---
(B
(BMy  tag understands EL to find out a XML data. Also it
(Bcan parse XML coded inline in the JSP (like JSTL's  tag). Then
(B will convert the given XML into a DatasetProducer
(Bobject which is expeced by the  tag.
(B
(BThis   tag much simplifies JSP codes. All you have to
(Bdo is to let your Struts' Action class to generate XML instance (containg
(Bdata as Model) and save it into the page scope, forward to a JSP where you
(Bconvert the XML into Cewolf-acceptable format, then you easily get the PNG
(Bgraphics by Cewolf's build in JSP custom tags.
(B
(B
(B
(B
(B   
(B
(BAndrew 
(B
(BStepanenko  [EMAIL PROTECTED](B:   Struts Users 
(BMailing List <[EMAIL PROTECTED]> 
(B<[EMAIL PROTECTED]cc:  
(B  
(Bne.edu.ua>  $B7oL>(B:   Struts and Cewolf 
(Bintegration  
(B   
(B
(B2004/11/04 18:15   
(B
(B"Struts Users  
(B
(BMailing List" $B$X(B 
(B  
(B$BJV?.$7$F$/[EMAIL PROTECTED](B   
(B
(B 

Struts Best Practices

2004-11-04 Thread Tushar Agrawal
Hi Folks,
 
I am handling a web project and using struts framework. Can any one tell me where to 
find stuff on "Struts Best Practices"  or "Desgin and Coding Standards for a struts 
Application".
 
I request to please share your experinces on "Struts Application Design Guidelines". 
 
Million Thanks in Advance

Tushar Agrawal



//
   Tushar Agrawal
 Software Engineer
  Seclore Technology Pvt Ltd.
IIT Powai, Bombay (Mah)
 Cell : +919819804870
   website:www.seclore.com
/*/

-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a

Struts Best Practices

2004-11-04 Thread Tushar Agrawal
Hi Folks,
 
I am handling a web project and using struts framework. Can any one tell me where to 
find stuff on "Struts Best Practices"  or "Desgin and Coding Standards for a struts 
Application".
 
I request to please share your experinces on "Struts Application Design Guidelines". 
 
Million Thanks in Advance
Tushar Agrawal


//
   Tushar Agrawal
 Software Engineer
  Seclore Technology Pvt Ltd.
IIT Powai, Bombay (Mah)
 Cell : +919819804870
   website:www.seclore.com
/*/

-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a

Re: Struts and Cewolf integration [SOLVED]

2004-11-04 Thread Andrew Stepanenko
Hi, Jesse!
Thanks for your answer.
I din't notice that actually only *.do requests go to the ActionServlet, 
but it were various filters in my web.xml which had url-pattern like /*.
I defined CewolfServlet and a mapping for it and now it works, I can see 
my charts!

Thank you.
Andrew.
Jesse Alexander (KBSA 21) wrote:
Hi
int the web.xml you are allowed to define thousands of servlets, 
so no problem there.

In the image-tag that you "generate" using the struts-fw you can
then specify an url which will be routed to the cewolf servlet 
instead of the struts-servlet...

Check out the URL-pattern that you have to define in web.xml
hope this helps
Alexander
-Original Message-
From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 04, 2004 10:16 AM
To: Struts Users Mailing List
Subject: Struts and Cewolf integration

Hello all!
I have a webapp done with struts and I want to add some charts to it
via Cewolf and JFreeChart.
But to render images with cewolf you need to define a cewolf servlet in 
web.xml. How
can this be done with struts if there is already the only servlet
(ActionServlet) defined in web.xml for struts to work and all requests
should go to that servlet?

Thanks in advance,
Andrew.


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

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


RE: Struts and Cewolf integration

2004-11-04 Thread Jesse Alexander (KBSA 21)
Hi

int the web.xml you are allowed to define thousands of servlets, 
so no problem there.

In the image-tag that you "generate" using the struts-fw you can
then specify an url which will be routed to the cewolf servlet 
instead of the struts-servlet...

Check out the URL-pattern that you have to define in web.xml

hope this helps
Alexander

-Original Message-
From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 04, 2004 10:16 AM
To: Struts Users Mailing List
Subject: Struts and Cewolf integration

Hello all!

I have a webapp done with struts and I want to add some charts to it
via Cewolf and JFreeChart.

But to render images with cewolf you need to define a cewolf servlet in 
web.xml. How
can this be done with struts if there is already the only servlet
(ActionServlet) defined in web.xml for struts to work and all requests
should go to that servlet?

Thanks in advance,
Andrew.





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

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



RE: html:text in logic:iterate

2004-11-04 Thread Sebastian Ho
Hi

Thanks all for the suggestion.

This way works and I am going with it.

" size="10" name="percentage"/>


Sebastian


On Thu, 2004-11-04 at 16:37, Girish Kumar K. P. wrote:
> Hi,
> What I understood was like this:
> You have a logic:iterate tag
> Inside that you have the text field tag.
> 
> Corresponding to the Logic:iterate you must be having a for loop inside
> the form population method in your action.
> There you will be populating the value from the said bean 
> (in the bean you will be having list I suppose, from which you extract
> the corresponding entry to display in the logic:iterate)
> to the corresponding form field in the form bean.
> 
> I also had the same problem sometime back.
> I did the way I suggested and it worked.
> That's why I suggested this way.
> 
> Regards,
> Girish
> 
> 
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 04, 2004 12:45 PM
> To: Struts Users Mailing List
> Subject: RE: html:text in logic:iterate
> 
> How do I populate it in the Action if I need to iterate through the
> ActionForms in my JSP?
> 
> I am thinking that it is just an issue of getting around the parser. In
> other instance I have, just adding quotes here and there to 'fool' the
> parser solves my problems. e.g. I can have a bean:write tag inside a
> hidden tag..
> 
> Sebastian
> 
> 
> 
> On Thu, 2004-11-04 at 15:09, Girish Kumar K. P. wrote:
> > Anyway , the value if u give the "value" attribute, the values 
> > populated into the form bean from the action will not be displayed. 
> > Text field will diplay   
> > property="percentage"/> So, poipulate the form bean at the action . 
> > That's it Dopn't give the value attribute.
> > It will work
> > 
> > -Original Message-
> > From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 04, 2004 12:34 PM
> > To: Struts Users Mailing List
> > Subject: RE: html:text in logic:iterate
> > 
> > The user is actually editing some data that is already saved. So I 
> > need the data to be displayed in the textbox (form).
> > 
> > sebastian
> > 
> > 
> > On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote:
> > > U shouldn't give the value attribute there. The value would be read 
> > > from the form
> > > 
> > > Regards,
> > > Girish
> > > 
> > > -Original Message-
> > > From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, November 04, 2004 12:18 PM
> > > To: Struts Users Mailing List
> > > Subject: html:text in logic:iterate
> > > 
> > > Hi
> > > 
> > > I have a iterate tag which contains a text box. I wish to display 
> > > value in the textbox. But this line in the JSP couldnt get through 
> > > the
> > 
> > > parsing.
> > >  > > value=" > > property="percentage"/>"/>
> > > 
> > > Anyone knoww how to get around this?
> > > 
> > > Thanks
> > > 
> > > Sebastian Ho
> > > 
> > > 
> > > -
> > > 
> > >  > > scope="session">
> > >   
> > >   
> > > 
> > >> > property="gradientStepTime"/>
> > > 
> > > 
> > >  > > value=" > > property="percentage"/>"/>
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  > > value="displaygradientstepbyidentifier"/>
> > > 
> > >   
> > > 
> > > 
> > > 
> > > 
> > > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Struts and Cewolf integration

2004-11-04 Thread Andrew Stepanenko
Hello all!
I have a webapp done with struts and I want to add some charts to it
via Cewolf and JFreeChart.
But to render images with cewolf you need to define a cewolf servlet in 
web.xml. How
can this be done with struts if there is already the only servlet
(ActionServlet) defined in web.xml for struts to work and all requests
should go to that servlet?

Thanks in advance,
Andrew.


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


Remotely restart Tomcat.

2004-11-04 Thread dumm y
Hi all
 
 Is there a way to hit the admin or something so that I can
 restart Tomcat remotely? I am using Struts and the only way I
 know to get things going again after changing the
 struts-config.xml file is to restart Tomcat. Can't just restart
 my web app.

 Help!

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



RE: html:text in logic:iterate

2004-11-04 Thread Girish Kumar K. P.

Hi,
What I understood was like this:
You have a logic:iterate tag
Inside that you have the text field tag.

Corresponding to the Logic:iterate you must be having a for loop inside
the form population method in your action.
There you will be populating the value from the said bean 
(in the bean you will be having list I suppose, from which you extract
the corresponding entry to display in the logic:iterate)
to the corresponding form field in the form bean.

I also had the same problem sometime back.
I did the way I suggested and it worked.
That's why I suggested this way.

Regards,
Girish


-Original Message-
From: Sebastian Ho [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 04, 2004 12:45 PM
To: Struts Users Mailing List
Subject: RE: html:text in logic:iterate

How do I populate it in the Action if I need to iterate through the
ActionForms in my JSP?

I am thinking that it is just an issue of getting around the parser. In
other instance I have, just adding quotes here and there to 'fool' the
parser solves my problems. e.g. I can have a bean:write tag inside a
hidden tag..

Sebastian



On Thu, 2004-11-04 at 15:09, Girish Kumar K. P. wrote:
> Anyway , the value if u give the "value" attribute, the values 
> populated into the form bean from the action will not be displayed. 
> Text field will diplay   
> property="percentage"/> So, poipulate the form bean at the action . 
> That's it Dopn't give the value attribute.
> It will work
> 
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 12:34 PM
> To: Struts Users Mailing List
> Subject: RE: html:text in logic:iterate
> 
> The user is actually editing some data that is already saved. So I 
> need the data to be displayed in the textbox (form).
> 
> sebastian
> 
> 
> On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote:
> > U shouldn't give the value attribute there. The value would be read 
> > from the form
> > 
> > Regards,
> > Girish
> > 
> > -Original Message-
> > From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 04, 2004 12:18 PM
> > To: Struts Users Mailing List
> > Subject: html:text in logic:iterate
> > 
> > Hi
> > 
> > I have a iterate tag which contains a text box. I wish to display 
> > value in the textbox. But this line in the JSP couldnt get through 
> > the
> 
> > parsing.
> >  > value=" > property="percentage"/>"/>
> > 
> > Anyone knoww how to get around this?
> > 
> > Thanks
> > 
> > Sebastian Ho
> > 
> > 
> > -
> > 
> >  > scope="session">
> >   
> >   
> > 
> >> property="gradientStepTime"/>
> > 
> > 
> >  > value=" > property="percentage"/>"/>
> > 
> > 
> > 
> > 
> > 
> > 
> >  > value="displaygradientstepbyidentifier"/>
> > 
> >   
> > 
> > 
> > 
> > 
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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


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



Re: Validor has a problem with negative expressions <-- disregard these posts

2004-11-04 Thread jeichels
The solution was elsewhere.  negative regular expressions are fine.  Sorry for the 
spam.

- Original Message -
From: [EMAIL PROTECTED]
Date: Thursday, November 4, 2004 2:31 am
Subject: Re: Validor has a problem with negative expressions

> By the way in this I use the expanded forms of  & g t ;  and & l t 
> ; minus the spaces, but you can't see them on the page below.
> 
> 
> 
> - Original Message -
> From: [EMAIL PROTECTED]
> Date: Thursday, November 4, 2004 2:28 am
> Subject: Validor has a problem with negative expressions
> 
> > 
> > I have the validator working doing some fairly complex field 
> > validations, but I am having a problem with what I think should 
> be 
> > a trivial thing.
> > 
> > I am trying to create an expression where you get all but html 
> > types of characters.  I have tried variations, but can't seem to 
> > get this to work.
> > 
> > 
> >requiredHtmlRestricted
> >^[^<^>]+$
> > 
> > 
> > I would expect this to allow me to capture all characters except 
> > the less then and greater then sign according to 
> > http://jakarta.apache.org/regexp/apidocs/ RE description and 
> > elsewhere.
> > It does not work.
> > 
> > Ideas?
> > 
> > 
> > 
> > 
> > 
> > 
> > -
> --
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> ---
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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