action conf with tile ?

2004-09-06 Thread liooil
Hello world, i'm trying to modify a simple and sample banking webapp from : http://examples.oreilly.com/0596006519/ To reach a login page, their parameter in struts-config.xml is like : I've neerly the same need, so i did neerly the same : The only difference i see

Re: action conf with tile ?

2004-09-06 Thread liooil
you desire you can write another action-mapping to just direct to the jsp page. When you call the action http://localhost:8080/banking/login.do the execute method will be processed. --- liooil <[EMAIL PROTECTED]> wrote: > Hello world, > > i'm trying to modify a simpl

Re: action conf with tile ?

2004-09-06 Thread liooil
No, how should i do that? Have you got a sample code ? Thx, liooil wrote: > The point is i precisely do not want that the execute method to be > processed. Because the end user has not submited anything yet and should > not see an html page with an error caused by an exception throw

Re: action conf with tile ?

2004-09-06 Thread liooil
Sorry, Completion : note if i code my tile like in the following, "authenticationLayout" tile does not exist as a JSP file ... liooil wrote: > The point is i precisely do not want that the execute method to be > processed. Because the end user has not s

RE: To Show Web Home Page That Consists of Tiles

2004-09-06 Thread liooil
was it the end of the thread? I am curious about the solution, cause, of course, i'm currently stuck on same issue. let me know if you find a solution. Thank ypu > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 11:27 AM > To: Struts

tiles and validate

2004-09-07 Thread liooil
Hello world, I have an issue with ActionError that are instancied in my form (in the validate method) but i can't see them in the browser. On the other side, exceptions thrown in the action are properly displayed. I defined an action in the following way : Is there something i d

file data source

2004-09-17 Thread liooil
Hello world, Maybe, it's not designed for that, but i wonder if i can use struts conf to access a local file system (file://...) ? I know this request is a bit strange, but it's for a very temporary solution. No sql server available for the moment ... Is it possible? If so, where should i get

Re: file data source

2004-09-17 Thread liooil
yes, please. I would appreciate your help so let's go... Where i can i fin such a JDBC connector ? And how i configure/use it ? Thx, ___[ Pub ] Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres ! http://rencontre.rencontre

Re: The best pratice to developer a login system

2004-10-01 Thread liooil
Just to avoid future issue (in case of a change in your authorization/authentication system) , may i suggest to use standards in your interface implementation (whatever is your final system)... I'm thinking about JAAS. Have a look on this paper : http://theserverside.com/news/thread.tss?thread_i

tiles and exceptions

2004-10-22 Thread liooil
Hello world, My webapp is getting a little bit bigger every day?. On the same rythm grows my struts knowlegde. But a this point i'm stuck with managing exceptions in my tiles element. I made little test. I gather all my tiles authenticationLayout defined this way in a single jsp (authentication_t

tiles and exceptions

2004-10-22 Thread liooil
Hello world, My webapp is getting a little bit bigger every day?. On the same rythm grows my struts knowlegde. But a this point i'm stuck with managing exceptions in my tiles element. I made little test. I gather all my tiles authenticationLayout defined this way in a single jsp (authentication_t

Re: tiles and exceptions

2004-10-26 Thread liooil
validate method (because the fields have been rested?) but none from the execute. Here is my ation mapping : As you can read, it is a bit fuzzy for me. But i'm sure this has been already done successfully thousand times. Still need help, liooil, At 2:25 PM + 1

jboss security integration

2004-10-27 Thread liooil
Hello world, Before we integrate authorization/authentication based on a sun one identity server policy agent, i would like to make something more simple. I'd just like to build an authorization/authentication system relying on the login-config.xml file of my jboss3.2.2 and the web.xml and jboss-

Re: jboss security integration

2004-10-29 Thread liooil
orums/showflat.php? Cat=2&Board=JavaSecurity&Number=2500&page=0&view=collapsed&sb=5&o=&fpart =1%3E -Matt On Wed, 2004-10-27 at 13:39 +, liooil wrote: > Hello world, > > Before we integrate authorization/authentication based on a sun one > ident

authentication succesful but access denied

2004-11-08 Thread liooil
hello world, My authencation process works fines (JAAS on JBoss 3.2.2 using org.jboss.security.auth.spi.UsersRolesLoginModule for those who get interested). It retrieves my subject with its principals (groups of users). The problem is this principal doesn't appear to be checked by struts when the

keep the state of a sucessful authentication

2004-11-09 Thread liooil
hello world, My authencation process works fines (JAAS on JBoss 3.2.2 using org.jboss.security.auth.spi.UsersRolesLoginModule for those who get interested). It retrieves my subject with its principals (groups of users). The problem is this principal doesn't appear to be checked by struts when the

ActionServlet && ConnectException

2004-11-25 Thread liooil
Hello world, Usually i don' really like when people post their exception thread. Sorry : my turn. Well, this exception is thrown when my struts (1.2.4) webapp is hot deployed on my jboss 3.2.2. When jboss is re- starting and cold deploying the same webapp, it works fine... I'm specially worried a

re : ActionServlet && ConnectException

2004-11-25 Thread liooil
solved... Obviously, it was a jboss config problem Nothing to do with struts forgive me for the stack trace ___[ Pub ] Envie de discuter gratuitement avec vos amis ? Téléchargez Yahoo! Messenger http://yahoo.ifrance.com --

OJB && struts

2004-12-15 Thread liooil
y ODMG/OJB Struts plugIn (like in Cavaness's Beer4all) and i don't how i could connect that to my DAO pattern. Code Exemples on topice are not numerous. Or they just ignore the whole chain needed for reliable production web. Any comments, links are welcome thx,

RE: j_security_check

2004-12-16 Thread liooil
here is what you have to code : In your web.xml : FORM /authentication.jsp /authenticationFailed.jsp Note, for me realm-name is a jndi name declared in my application server (jboss) that call a jaas policy module. I was also disapointed that login-page an

Re: OJB && struts

2004-12-17 Thread liooil
A bit late, but thanks for all your answer guys. I knew the topic was large. I knew also that people on this list are not afraid to share their experience even it's OT border-line. I appeciate that. It helps me to point the good question. To James Mitchell : why OJB ? I wanted something JDO c

external properties

2004-12-17 Thread liooil
Hello world, What would be the best pratice to get properties from an external file? (I mean this file is not part of my war). I'd like it to be read on servelt startup and properties to be be available in servlet context ... I though about a struts plugIn , but it seems a bit heavy solution. Eas