Re: AW: How to pass Session variable to different Webapplication?

2005-09-18 Thread Martin Burkert
On Sat, 2005-09-17 at 14:51 -0400, Dave Newton wrote: > R. Markham wrote: > The original poster could use Struts modules or just consolidate configs > for each logical section of the app into their own files, or as Wendy > says use J. Random single sign-on method. If you really want to sahre >

Re: AW: How to pass Session variable to different Webapplication?

2005-09-18 Thread Martin Gainty
Martin I found jetspeed to be a very powerful single-signon tool More importantly it enforces permissions associates actions to resources Principals which can represent Users, Roles, and Groups and finally policy which associates principals (the prople) to managed resources (permissions) http:/

Timezone

2005-09-18 Thread Wojciech Ciesielski
Hi there, I have web-app deployed on JBoss and I am having some problems with date objects :-/ I am trying to set login time to some bean and display this info on page. In my LoginAction I do: UserSession us = new UserSession(loggedUser); TimeZone tz = TimeZone.getTimeZone("Europe/Warsaw")

Re: Timezone

2005-09-18 Thread Martin Gainty
dobry Wojciech //This should work TimeZone timeZone = TimeZone.getTimeZone("Europe/Warsaw"); //If "Europe/Waraw" is not valid this will always work //TimeZone timeZone = TimeZone.getTimeZone("GMT+1"). GregorianCalendar cal = new GregorianCalendar(timeZone, Locale.EU); int year = cal.get(Calenda

downloadaction, flexible url mapping, file server

2005-09-18 Thread emre akbas
Hi, I want to implement a "secure file server" using Struts. By "secure" I mean, when a file is requested by a user, a "checkAccess" method will be called and it would check if the user has right to access that file (datasource will be used for this check) If checkAccess return true the file wi

RE: Timezone

2005-09-18 Thread Wojciech Ciesielski
I've found out that the problem was with default timezone when JBoss was started within Eclipse. If I run it standalone with run.bat - everything works OK... I didn't have time to look for reason of this strange behaviour - I've added -Duser.timezone=Europe/Warsaw to my JRE VM params in Eclipse and

Re: Timezone

2005-09-18 Thread Martin Gainty
i am glad to hear that works for you you may want to contact jboss and eclipse about the bug Martin- - Original Message - From: "Wojciech Ciesielski" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" ; "'Martin Gainty'" <[EMAIL PROTECTED]> Sent: Sunday, September 18, 2005 11:58 AM

Re: Re: Cannot find ActionMappings or ActionFormBeans

2005-09-18 Thread T West
On 9/18/05, T West <[EMAIL PROTECTED]> wrote: > My Tomcat log is for catalina.out is: > log4j:WARN No appenders could be found for logger > (org.apache.catalina.startup.Embedded). > log4j:WARN Please initialize the log4j system properly. > > And my localhost log is: > 2005-09-18 12:29:10 > expand(

StrutsTestCase and Struts Validator PlugIn

2005-09-18 Thread Richard Yee
Does anyone know if StrutsTestCase works with the Struts Validator? ie. If I make a test case and set up the request parameters for a FormBean, will the FormBean be validated using the Validator Configuration in my struts-config.xml file. Thanks, Richard ---

Re: AW: Cannot find ActionMappings or ActionFormBeans

2005-09-18 Thread T West
The exception occurs when I'm in the Tomcat Manager and try to open up the DatabaseRetrieval project. My web.xml is set up to give index2.jsp as the welcome-page, so I guess that's where the error first occurs. >Von: T West [mailto:[EMAIL PROTECTED] >Whenever I try to start the Struts program, >how

Validator woes, modifying the input forward on the fly?

2005-09-18 Thread David Erickson
Hi I have a situation like this: User clicks on /viewUser.do?id=4 action, which loads the specific user with id4 to be viewed. On that page is a form, the form is submitted, if some part of the xml validation fails I need to return back to /viewUser.do?id=4. It would be ideal if the information fr

Re: downloadaction, flexible url mapping, file server

2005-09-18 Thread Laurie Harper
emre akbas wrote: Hi, I want to implement a "secure file server" using Struts. By "secure" I mean, when a file is requested by a user, a "checkAccess" method will be called and it would check if the user has right to access that file (datasource will be used for this check) If checkAccess retu

Re: Validator woes, modifying the input forward on the fly?

2005-09-18 Thread Laurie Harper
David Erickson wrote: Hi I have a situation like this: User clicks on /viewUser.do?id=4 action, which loads the specific user with id4 to be viewed. On that page is a form, the form is submitted, if some part of the xml validation fails I need to return back to /viewUser.do?id=4. It would be ide

Adding a plug-in to a webapp

2005-09-18 Thread Joe Bermann
Hi, I’m looking for some advice on how to design a Struts-based webapp that can accept dynamic plug-in components after deployment. I’ve searched the archives and found some interesting posts about Struts Modules and Single Sign On, but I didn’t find anything that addressed my situation exact

RE: Validator woes, modifying the input forward on the fly?

2005-09-18 Thread David Erickson
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > Sent: Sunday, September 18, 2005 7:26 PM > To: user@struts.apache.org > Subject: Re: Validator woes, modifying the input forward on the fly? > > David Erickson wrote: > > Hi I have a situation like thi

Re: Adding a plug-in to a webapp

2005-09-18 Thread Murray Collingwood
Can you deploy the entire application with all options and use the security system to establish which menu items appear? This avoids the problem of different versions of baseApp and module. It also avoids the problem of trying to look for different modules installed. The only issue is that there