Re: Interceptor in various struts.xml

2013-08-27 Thread Thomas Lionel SMETS (prof)
info /WEB-INF/Hello.jsp M1 /WEB-INF/CatchAll.jsp \T, On 27/08/13 13:55, Dave Newton wrote: > What doesn't work? > > Dave > On Aug 27, 2013 7:08 AM, "Thomas Lionel SMETS (prof)" > wro

Re: Interceptor in various struts.xml

2013-08-27 Thread Thomas Lionel SMETS (prof)
n invocationResponse; } but it is not set in most Actions of module_1 & module_2 \T, On 27/08/13 13:55, Dave Newton wrote: > What doesn't work? > > Dave > On Aug 27, 2013 7:08 AM, "Thomas Lionel SMETS (prof)" > wrote: > >> I crea

Interceptor in various struts.xml

2013-08-27 Thread Thomas Lionel SMETS (prof)
or using "MyStack" in the extends ... Any idea would be appreaciated. Tx, -- Thomas Lionel SMETS, CISSP (385434) *m :* +32 497 44 68 12 *ph :* +32 2 852 3341 *skype :* thomas.lionel.smets PGP = FDF0 8FB8 4F37 3F79 1011 05AB 0DCE 9BAB 5DD0 0E10 <> signature.asc Desc

Re: [S1] Best practice to transfer control to next page (out of JVM)?

2013-05-07 Thread Thomas Lionel SMETS (prof)
o unsubscribe, e-mail: user...@struts.apache.org For additional commands, e-mail: user...@struts.apache.org - To unsubscribe, e-mail: user...@struts.apache.org For additional commands, e-mail: user...@struts.apache.org

Re: [ANN] Three Struts Tutorials or Presentations at ApacheCon US 2007 Atlanta GA

2007-10-04 Thread Lionel
Pavel Sapozhnikov wrote: > Second about this ApacheCon...will the power point or pdf slides be > available after the conference has ended? Comparing Java Web Frameworks from Matt Raible is already available http://raibledesigns.com/rd/entry/ja_sig_comparing_java_web ---

Re: Captcha in Struts2

2007-07-27 Thread Lionel
aarthy wrote: > How Can I implement Captcha in Struts2? http://jcaptcha.sourceforge.net/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 performance

2007-07-10 Thread Lionel
climbingrose wrote: > Dojo just seems to be to heavy weight for most purposes. I mean if > you only want a bloody calendar in your webapp, you don't want to > load up a 100kb of javascript. Plus, it might be my experience only, > Dojo seems to have the tendency to hang my browser everytime I open

Re: problems when migrating Struts 1.0 to Struts 1.1 on WebSphere?

2006-05-17 Thread Lionel
I use struts 1.1 on a WAS 5.0.2 without any problem. I develop with WSAD 5.0.0 "Emilia Ipate" <[EMAIL PROTECTED]> a écrit So, now, in order to upgrade to Struts 1.1, we have already upgraded to JSP 1.2, Servlet 2.3 and WebSphere Application Server v5 (using as IDE: WSAD 5.1.2). So, i

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Lionel Port
On 3/9/06, Lionel Port <[EMAIL PROTECTED]> wrote: > > As wendy said you need to follow bean:size with something like: > > > > As for the scriptlet version. Sorry the ActivityForm variable is not > defined in the page scope. If you want to access it using scriptlet y

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Lionel Port
As wendy said you need to follow bean:size with something like: As for the scriptlet version. Sorry the ActivityForm variable is not defined in the page scope. If you want to access it using scriptlet you would need to do bring it out of the request or session scope first, something like: <%=a

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Lionel Port
Two options Using your scriptlet example <%= ActivityForm.getBusinessCollection().size() %> Or there is a struts tag to retrieve size On 3/9/06, Caroline Jen <[EMAIL PROTECTED]> wrote: > > I am trying to display 'counts' in a Collection. And > I use JSP scriptlet to do it: > > <%=businessC

validate dynamic properties

2006-03-07 Thread Lionel Port
the validator plugin and programatically validate a field base on the name of the rule I want execute? thanks, Lionel

Re: BaseTag and HTTPS behind a proxy

2006-02-03 Thread Lionel
Lionel wrote: > Hi all ! > > I have a struts application deployed on tomcat 5.5 which does not use > https. A http://myWebsite";> is generated by the > tag. > The administrator wants to hide the site behind a reverse proxy that > makes the website available through HT

BaseTag and HTTPS behind a proxy

2006-02-03 Thread Lionel
Hi all ! I have a struts application deployed on tomcat 5.5 which does not use https. A http://myWebsite";> is generated by the tag. The administrator wants to hide the site behind a reverse proxy that makes the website available through HTTPS. The client emits an https request to the proxy that

Re: Can't build project because of unavailable dtd

2005-11-17 Thread Lionel
[EMAIL PROTECTED] wrote: > check you DOCTYPE in xml and DTD in struts.jar. you are right, I used jakarta.apache.org instead of struts.apache.org. Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Can't build project because of unavailable dtd

2005-11-17 Thread Lionel
Lionel wrote: > Hi ! > > Hi have a web project using struts. > This morning, I've had problems to build this project be built because > jakarta.apache.org has been unavailable for few minutes: eclipse > tries to access the online dtd and gets blocked. > The only wa

Can't build project because of unavailable dtd

2005-11-17 Thread Lionel
Hi ! Hi have a web project using struts. This morning, I've had problems to build this project be built because jakarta.apache.org has been unavailable for few minutes: eclipse tries to access the online dtd and gets blocked. The only way to be able to work is to disable xml validation, kill eclip

Re: [OT] Re: Updating JSP causes Workspace to auto rebuild.. causing Tomcat to restart :(

2005-07-22 Thread Lionel
Stéphane Zuckerman wrote: > [EMAIL PROTECTED] a écrit : >> Updating JSP causes Workspace to auto rebuild.. causing Tomcat to >> restart :( > With MyEclipse and JBoss, I do not have this behaviour. Neither with WTP M3/M4/M5 nor with WSAD. ---

Re: Excel download

2005-07-12 Thread Lionel
Senthilrajan VS wrote: > Hi all, > > Is there any way in struts to download the page (view part) in Excel > format. in your jsp, put: <[EMAIL PROTECTED] contentType="application/vnd.ms-excel"%> - To unsubscribe, e-mail: [EMAIL

Validation of mapped property

2005-07-11 Thread Lionel
Hi all I have a mapped property on a form which should be populated with integers. How can I validate the values with validator ? Form: String getMyProperty(String key); void setMyProperty(String key, String value); the html source code looks like this: ... The index comes from a property of

Re: Problems with validator and IE 5.0

2005-06-28 Thread Lionel
Nitesh wrote: > Guess you would need to modify the JavaScript in your validator-rules > suitably!!! It is what I did, it works fine but this is not an good solution. I'll have to patch the javascript code each time I get a new commons-validator revision. Why did they use getAttributeNode ? :(

Problems with validator and IE 5.0

2005-06-28 Thread Lionel
Hi all! How can I use struts validator with IE 5.0 ? The "getAttributeNode" javascript function which is called to get the form name is not supported by IE 5.0. (using form.name would work...) Thanks. - To unsubscribe, e-mail:

Re: accessing session variables in java Bean(In business logic Layer)

2005-04-14 Thread Lionel
Corey Probst wrote: > Take a look at ThreadLocal, I've never used it but it should do what > you want. > Someone correct me if this is not a good idea or won't work It works fine. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [OT] request issued twice

2005-03-16 Thread Lionel
a k wrote: > I am not sure if it is the browser (IE 6.0), apache, weblogic (6.1) > that I should be looking at. Did you look at the users ? ;) Mine click twice or more if request takes more than 2 seconds. I've had to add a javascript alert to block the button until the response is displayed.

Re: The old 'please wait' issue

2004-10-14 Thread Lionel
andy wix wrote: > The problem is that I am using Tiles and so cannot have (as far as I > know) a meta-refresh tag as this should go in the head of the > document. Likewise I can't use on-load javascipt as I don't have a > body tag. response.setHeader("Refresh", "..."); --

Re: [Gmail] - All gone,

2004-09-10 Thread Lionel
Ruben Cepeda wrote: > I just ran out. great !! -- vont pas nous casser les couilles 10 fois par jour avec gmail quand meme !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: A couple of questions

2004-09-08 Thread Lionel
Marco Tedone wrote: >> Interesting, I also build commercial apps, and try to use wizards >> whenever > possible to keep things >simple for my users > > We prefer to keep things easy for us also for maintainability as we > look at the project long life term. Doing and maintain wizards with stru

Re: A couple of questions

2004-09-07 Thread Lionel
Jim Barrows wrote: >> How do you manage this ? > > I use a defense-in-depth strategy, starting at the UI, and going to > the Business layer. as I do. > I use coarse-grained form objects, but limit the > fields on the page to what the user can actually change. Depending > on complexity, I'll eith

Re: A couple of questions

2004-09-07 Thread Lionel
Jim Barrows wrote: > In much of my code I do: > BeanUtils.copyProperties( dataVo, dataForm); > and I'm done. Your way would require a lot more code. This seems great, but I can't do that because of user rights. Some users don't have rights to update certain fields, so I have to call each setter

Re: Default html:checkbox to true

2004-08-23 Thread Lionel
Ellingson, David wrote: > It seems like this question would have been asked before, but I > couldn't find an answer in the archives. I am able to successfully > use the html:checkbox tag. However, this tag seems to be trickier to > use when you want to default the box to "checked". Simply settin

performance

2004-07-13 Thread Lionel
Hi all are there any performance increases between struts revisions ? 1.0 vs 1.1 vs 1.2 thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Upload multiple files at once

2004-07-01 Thread Lionel
Deepak wrote: > Hi, > Is there a way to upload multiple files at once ? Zip them before. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: can i have multiple struts-config.xml

2004-06-16 Thread Lionel
>> Lionel wrote: >> http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html Shailender Jain wrote: > I went to this link but this document seems to have been > removed. Is there is any other link? the given link

Re: Form Validation Before Submit

2004-06-15 Thread Lionel
Ciaran Hanley wrote: > Hello, > > > > I have a simple form in my application which I am having trouble with. > > > > On entering the action class and forwarding to the JSP I see error > messages which should only appear when the form has been validated > after submitting. do you check that the for

Re: can i have multiple struts-config.xml

2004-06-15 Thread Lionel
Lionel wrote: > sougata wrote: >> Hi All >> I have one question.Can I have 2 struts-config.xml for one web >> application. > > yes. I forgot to paste this: http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/st

Re: can i have multiple struts-config.xml

2004-06-15 Thread Lionel
sougata wrote: > Hi All > I have one question.Can I have 2 struts-config.xml for one web > application. yes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: security roles

2004-06-15 Thread Lionel
Zhang, Larry (L.) wrote: > (2)also say a manager logon our sites, I can obtain the info for this > user such as "managerFlag", and then where should I put the logic to > decide whether the user is a manager or an employee, and how to map > this user to a security-role defined above? this is a webs

Re: Hidden Variables

2004-06-02 Thread Lionel
Joshi, Naveen wrote: > All, > > one out of 300 times my hidden variable would not set to form. Any > ideas what could be the issue. do you use get or post method to send your form ? - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Re[2]: Struts and Hibernate Session

2004-05-05 Thread Lionel
Carl-Eric Menzel wrote: > It is possible to reassociate an object from an older session with the > current session by using the Session.lock() method. See > > http://www.hibernate.org/hib_docs/reference/en/html/manipulatingdata.html#manipulatingdata-update-lock > GREAT !! This is EXACTLY what

Re: Struts and Hibernate Session

2004-05-05 Thread Lionel
Nicolas de Amorrortu wrote: > Have you tried the following? http://www.hibernate.org/43.html. this is what I was thinking about when I posted my question...but haven't tried it yet. I don't think it will solve my problem as the object I load is put in session and can be accessed many requests late

Re: Struts and Hibernate Session

2004-05-05 Thread Lionel
Joe Germuska wrote: >> Acutally, I have put the getHibernateSession() on a ActionFormBase. >> After each SQL action (load, find...) I close the Session. >> I don't believe this is a good design and would like to improve it. > > This is actually how Hibernate is meant to be used. The session > lif

Struts and Hibernate Session

2004-05-05 Thread Lionel
request ? -when the HttpSession closes ? -... Acutally, I have put the getHibernateSession() on a ActionFormBase. After each SQL action (load, find...) I close the Session. I don't believe this is a good design and would like to improve it. Thanks for your advices... L