do both req-scope and sess-scope fbeans get stored in the session?

2002-05-26 Thread jfc100
Hi, I am fairly new to struts and have been reading Ted Husted's chp2 in 'Prof JSP Site Design' where it says: Page 44 The Action Form class : ' The framework assumes that you have created an ActionForm bean for each input form required in your application. For every bean defined in the stru

Re: No getter method available for property ... trying to use a form + formbean

2002-05-19 Thread jfc100
Tim Sawyer wrote: >On Sun, 2002-05-19 at 18:47, jfc100 wrote: > >>Hi, >> >>I get this msg when trying to reference one of my pages >>('captureProfile.jsp'): >> >>'No getter method available for property profile for bean under name >

No getter method available for property ... trying to use a form + formbean

2002-05-19 Thread jfc100
Hi, I get this msg when trying to reference one of my pages ('captureProfile.jsp'): 'No getter method available for property profile for bean under name org.apache.struts.taglib.html.BEAN' I have defined the form bean in struts-config: and UserProfileForm.java: package com.mycom.forms;

Re: I need help building tiles from src - please

2002-05-13 Thread jfc100
James Mitchell wrote: >Did you try building the webapps? > >JM > >>-Original Message----- >>From: jfc100 [mailto:[EMAIL PROTECTED]] >>Sent: Monday, May 13, 2002 11:12 AM >>To: Struts-User >>Subject: I need help building tiles from src - please

I need help building tiles from src - please

2002-05-13 Thread jfc100
Hi, I've been trying to build tiles and am struggling a bit. I downloaded and ran a build of 'jakarta-struts-1.1-b1-src' only to find that it doesn't automatically build tiles. When I finish building struts, I can see a contrib directory which contains a tiles subdirectory with the tiles sour

Overview of session management please

2002-05-07 Thread jfc100
Hi, Can someone please give a brief overview of session management in struts and tomcat. Just from a developers standpoint, what does tomcat do for you, what does struts do ontop of that (if anything) and what is required of the developer in order to manage sessions within the webapp? I can

'j_security_check' and unsecured resource access

2002-05-06 Thread jfc100
Hi, Has anyone encountered the following situation using form-based auth in catalina? 1. login successfully using 'j_security_check'; 2. the next request happens to be to an unsecured url (e.g. /do/frontpage (with no restrictions in web.xml) --> DispatchServlet --> user.frontpage (tiles)) ; 3.

Re: ideal method to set the sessionid in struts?

2002-05-01 Thread jfc100
>It will create and return a session if none exists. If session exists it >will return that. > >V > >-Original Message- >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 01, 2002 5:20 PM >To: 'Struts Users Mailing List' >

Re: ideal method to set the sessionid in struts?

2002-05-01 Thread jfc100
out cookies that were never set? > > >Am I way off here? > >JM > >>-Original Message- >>From: jfc100 [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, April 30, 2002 12:58 PM >>To: Struts Users Mailing List >>Subject: Re: ideal method to s

some more info about this - I'm still looking for help!

2002-04-30 Thread jfc100
jfc100 wrote: > Hi, > > tc323jboss241a,tiles+struts > > Can anyone explain this to me. In a struts action servlet, I > invalidate a form-based-authenticated user's session object > (successfully) and then immediately call getUserPrincipal(), in the > same ser

Re: ideal method to set the sessionid in struts?

2002-04-30 Thread jfc100
Tero P Paananen wrote: >>What is happening here? >> > >Your app server sets the session id cookie. > > -TPP > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > So does this mean that I never hav

ideal method to set the sessionid in struts?

2002-04-30 Thread jfc100
Hi, I have noticed that without me having to store the sessionid in a cookie in the response, my browser contains a JSESSION cookie. I also have mozilla set to 'ask before setting any cookies' and I wasn't asked. What is happening here? Thanks Joe -- To unsubscribe, e-mail:

getUserPrincipal() returns not null immediately after session invalidated.

2002-04-29 Thread jfc100
Hi, tc323jboss241a,tiles+struts Can anyone explain this to me. In a struts action servlet, I invalidate a form-based-authenticated user's session object (successfully) and then immediately call getUserPrincipal(), in the same servlet, which returns the users name. It seems the user is only

Re: How to do 'isUserInRole(unauthenticated)'?

2002-04-24 Thread jfc100
Struts Newsgroup (@Basebeans.com) wrote: >Subject: Re: How to do 'isUserInRole(unauthenticated)'? >From: Torgeir Veimo <[EMAIL PROTECTED]> > === >jfc100 wrote: > >>Is it possible to determine by calling isUserInRole('unauthenticated'), >>wher

How to do 'isUserInRole(unauthenticated)'?

2002-04-24 Thread jfc100
Hi, Is it possible to determine by calling isUserInRole('unauthenticated'), where 'unauthenticated' is an identifier of the anonymous (i.e. the not-logged-in) user? Joe -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: anyone using declarative security? - even a pointer to a resource will do.

2002-04-23 Thread jfc100
Jon.Ridgway wrote: >Hi Joe, > >Yes I use it extensively, what is it you want to do and what App Server/Web >Container are you using? > >Jon. > >-Original Message- >From: jfc100 [mailto:[EMAIL PROTECTED]] >Sent: 23 April 2002 12:21 >To: Struts Users Ma

anyone using declarative security? - even a pointer to a resource will do.

2002-04-23 Thread jfc100
be most grateful. Cheers Joe ;-) jfc100 wrote: > Hi, > > I would like to implement a user base (using J2EE declarative > security) with the following relationship hierarchy : > > Users: > user = 100, usergroup = 11; > > UserGroups: > usergroup = 10, g

Principals, roles and rolegroups - can anyone give a good short summary?

2002-04-22 Thread jfc100
Hi, I would like to implement a user base (using J2EE declarative security) with the following relationship hierarchy : Users: user = 100, usergroup = 11; UserGroups: usergroup = 10, groupname=agent, parentgroup = 5; usergroup = 11, groupname=privatesupplier, parentgroup = 5; usergroup = 5, gr

Re: Attribute "rewrite" is not declared for element "forward".

2002-04-22 Thread jfc100
jfc100 wrote: > Cedric Dumoulin wrote: > >> This error means that you have used an attribute named 'rewrite' in >> a > ...> tag in your xml file. Check line 49 ;-) >> >>Cedric >> >> jfc100 wrote: >> >>> Hi, >

Re: Attribute "rewrite" is not declared for element "forward".

2002-04-22 Thread jfc100
Cedric Dumoulin wrote: > This error means that you have used an attribute named 'rewrite' in a ...> tag in your xml file. Check line 49 ;-) > >Cedric > >jfc100 wrote: > >>Hi, >> >>Using struts1.0 with tiles, I'm getting the following

Attribute "rewrite" is not declared for element "forward".

2002-04-22 Thread jfc100
Hi, Using struts1.0 with tiles, I'm getting the following error msg when starting my server: [snip] Pop org.apache.struts.action.ActionForward [Default] Parse Error at line 49 column -1: Attribute "rewrite" is not declared for element "forward". [Default] org.xml.sax.SAXParseException: Attrib

Using Global Forwards for all entry points to application?

2002-04-21 Thread jfc100
Hi, Can somebody please explain this suggestion (from the struts catalog) to me as I think I must be missing something. Here is the excerpt: > > Use Global Forwards for all entry points to application > > All links in the application should be to ActionMappings. Rather than > embed the

Re: To use form-based authentication or not to.

2002-04-19 Thread jfc100
Tero P Paananen wrote: >>What are the factors involved in selecting form-based >>authentication over, say, custom authentication which >>can be simple to implement based on a db of registered >>users who have or don't have an indicator stored >>in their session(representing a login)? >> > >One f

To use form-based authentication or not to.

2002-04-19 Thread jfc100
Hi, What are the factors involved in selecting form-based authentication over, say, custom authentication which can be simple to implement based on a db of registered users who have or don't have an indicator stored in their session(representing a login)? An example of custom authentication

Re: StrutsTiles Design: Model2 and authorization

2002-04-15 Thread jfc100
it equally well in the JSP page. For instance, I have one >page that serves as the master welcome/index page for authenticated users. >Each role (admin, employer, candidate) actually has a different welcome >page. The way I accomplish this is to have the master JSP page contain three > tag

Re: /do/* instead of *.do in web.xml

2002-04-12 Thread jfc100
need the > /action context. (So your action mapping entries should have /logon, > but your HREFs and links should be /action/logon.) > > Once I understood that, I was able to get rid of *.do. > > Next time I won't be so quick to ask questions :-) > GOD I LOVE OPEN SOUR

/do/* instead of *.do in web.xml

2002-04-12 Thread jfc100
Hi, Has anyone managed to use /do/* instead of *.do successfully in web.xml? The struts catalog mentions a few benefits but I've not managed to get it to work yet. (*.do works but not /do/*). Any ideas? Thanks Joe -- To unsubscribe, e-mail: For additional comman

Re: Good process for develop/build/deploy/test cycle

2002-04-12 Thread jfc100
Wellie W. Chao wrote: >I'm not exactly sure what you mean by "incorporate user authorization into >selected a 'forward' view mapping." If you want container-managed security, >just add it to your web.xml like so: > > > > Admin > Admin functions > /admin/* > GET > PO

StrutsTiles Design: Model2 and authorization

2002-04-12 Thread jfc100
Hi, I am attempting to put together a standard run-of-the-mill membership-based webapp utilizing Struts/Tiles on tomcat+jboss adhering to accepted Model2 design pattern. The site will be acting as a kind of portal for both supplier and customer so I am looking to incorporate seperating views

Re: Tomcat error log: Element "struts-config" does not allow "message-resource" here

2002-04-11 Thread jfc100
Chuck Cavaness wrote: > It's . I think that yoy're missing the "s" > according to the error message. > > Chuck > > > At 12:16 PM 4/11/2002 +, you wrote: > >> Hi, >> >> Tomcat3.2.3+JBoss2.4.1 on JDK1.3.1_01 on SuSE7.2 (2.4.13) >> Struts1.0.2 >> >> >> I am getting the following error message

Tomcat error log: Element "struts-config" does not allow "message-resource" here

2002-04-11 Thread jfc100
Hi, Tomcat3.2.3+JBoss2.4.1 on JDK1.3.1_01 on SuSE7.2 (2.4.13) Struts1.0.2 I am getting the following error message on startup of my containers(only happens with 'tiles-doc.war' in tc/webapps): .. startup of JBoss . [Default] Starting tomcat. Check logs/tomcat.log for error messages [s

Design question - action mappings

2002-04-09 Thread jfc100
Hi, I am new to struts and am busy reading the various articles and tutorials and have a question regarding relationship between action mappings and request/session scopes. Should an ActionMapping (i.e. a mapping defined in struts-config.xml) have a one-to-one relationship with a request or s