redirecting to fully qualified hostname

2004-01-13 Thread Fullam, Jonathan
All, The application I am working on is secured with a login that required a username and password. Once a user is logged in, all pages can be accessed as long as there is a Subject object in the Session. My problem is that part of the webapp provided links to pages that open in another window,

RE: URGENT - Help defending Struts

2003-12-18 Thread Fullam, Jonathan
www.verizonwireless.com -Original Message- From: Ben Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 10:53 AM To: [EMAIL PROTECTED] Subject: RE: URGENT - Help defending Struts http://www.paychex.com/demos/s125/index.html you can't directly access it, because it's a

RE: Help on form reset

2003-12-17 Thread Fullam, Jonathan
No, the reset method will automatically be called on a Session scoped ActionForm upon each request. Request scoped ActionForms are newly instantiated upon each request so, with Request scoped ActionForms, the reset method is irrelevant. -Jonathan -Original Message- From: vasudevrao gupta

RE: Struts internal error

2003-12-17 Thread Fullam, Jonathan
You can get the root cause of an internal exception by looking about half way down the stack trace. In your case it is: root cause java.lang.IllegalAccessError: tried to access class org.apache.commons.beanutils.MappedPropertyDescriptor$1 from class

RE: Login Security

2003-12-16 Thread Fullam, Jonathan
You could put a cookie on the user's machine that expires after a certain period of time. Of course this only works when cookies are turned one and an experienced user could always manually remove their cookie. Another solution maybe is to get the user's IP address from the request Header and

RE: question on DynaActionForm

2003-12-15 Thread Fullam, Jonathan
Jim, I'm not exactly sure what the book means when they say that whether you use an ActionForm or a DynaActionForm should be transparent, but once you use DynaActionForm, you form is no longer of type RegisterForm (hence the ClassCastException). You must cast it to DynaActionFrom now as in:

RE: [OFF TOPIC] STRUTS PROGRAMMER JOB.

2003-12-11 Thread Fullam, Jonathan
jobs are real easy to get and starting salaries are anywhere from 150K to 350K per year. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:23 PM To: [EMAIL PROTECTED] Subject: Re: [OFF TOPIC] STRUTS PROGRAMMER JOB. $4.75?! Dang, I am

RE: When HashMap will replace ActionForm ?

2003-12-10 Thread Fullam, Jonathan
That's where a map-backed Hashmap is useful. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 6:02 AM To: Struts Users Mailing List Subject: Re: When HashMap will replace ActionForm ? I know that but one have to define 10 to 30 elements

RE: 'Module scoped' variables

2003-12-10 Thread Fullam, Jonathan
Not sure if it's exactly what you want but I know you can use the parameter attribute of the action tags to specify a value that is accessible using mapping.getParameter() from withing you Action class. action ... ... parameter=someValue/ -Jonathan -Original

RE: Tag for adding no-cache header.

2003-12-10 Thread Fullam, Jonathan
Setting the nocache in the web.xml has actually been deprecated. A better solution for you is to set the nocache header as an attribute inside the controller element of you struts-config file. -Jonathan -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: 'Module scoped' variables

2003-12-10 Thread Fullam, Jonathan
have at present - the problem is I have to specify the parameter in all my actions as it is 'global to the module'. This makes changing the value a bit tedious. Does this make sense? Regards Lawrence -Original Message- From: Fullam, Jonathan [mailto:[EMAIL PROTECTED] Sent: 10 December 2003

RE: Tabbed menus using Tiles

2003-12-10 Thread Fullam, Jonathan
Look into using the struts-menu libraries. It contains tabbed menus. http://raibledesigns.com/wiki/Wiki.jsp?page=StrutsMenu -Jonathan -Original Message- From: Gopal Venkata Achi [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:36 PM To: Struts Users Mailing List Subject:

RE: How do I combine tiles and pre-populated forms?

2003-12-04 Thread Fullam, Jonathan
Jay, Make sure the following is after /action-mappings in your struts config file (IF YOU HAVEN'T DONE SO ALREADY): plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/opus-tiles.xml /

RE: How do I combine tiles and pre-populated forms?

2003-12-04 Thread Fullam, Jonathan
Sorry...I replied before I received this response. -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 2:47 AM To: Struts Users Mailing List Subject: Re: How do I combine tiles and pre-populated forms? Jay, Use the first action mapping, but

Subclassing ActionServlet

2003-12-04 Thread Fullam, Jonathan
All, I need to check the Session for an authenticated user before most requests. To do this I subclassed ActionServlet and only call super(request, response) upon verification that authenticated user is in the Session. if (request.getRequestURI().endsWith(welcome.do) |

RE: Why isn't an ActionForm just a Map?

2003-12-03 Thread Fullam, Jonathan
One guess would be because then you would lose some of the methods which provide more functionality than just a TransferObject provides. Such methods are validate and reset. -Jonathan -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 8:39

RE: Variable value in logic:equal tag Help Req

2003-12-03 Thread Fullam, Jonathan
You can use a variable for the value attribute just as you did: %= refValue % as long as refValue is a variable in some scope on your page. Note that refValue must point to a String object because the equal tag requires this (it converts the value of the bean pointed to by the name attribute to a

RE: Select Property !

2003-12-03 Thread Fullam, Jonathan
You are referencing modelYear as the property but your baseVO appears to have a property called strModelYear. -Original Message- From: Rama, Shreekantha (K.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:04 AM To: Struts Users Mailing List Subject: Select Property !

RE: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Fullam, Jonathan
of the variable created using bean:define ??? I am using %= var % but i am not getting it .. plz help . Plz help me out of this . Thanks Shakti - Original Message - From: Fullam, Jonathan [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 9

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Fullam, Jonathan
John, ActionErrors is stored under the key: Globals.ERROR_KEY. You can implement your ActionForm reset (which is called on all ActionForm objects on every request) method to remove the ActionErrors found under this key from your Request or Session. Jonathan -Original Message- From: John

RE: Token documentation

2003-11-21 Thread Fullam, Jonathan
I found the description of how and when to use tokens in The Struts Framework, Practical Guide for Java Programming by Sue Spielman very useful. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 11:19 AM To: [EMAIL PROTECTED] Subject: