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,
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 s
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
org.apache.commons.beanutils.MappedPropertyDes
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
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 add
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:
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 g
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: Tab
nd of the half solution I 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:[
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, De
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.
-Jonathan
-Original Message-
From: Lawrence Williams [mailto:[EMAIL PROTECTED]
Sent:
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
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") |
request.getRequestURI().
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 d
Jay,
Make sure the following is after in your struts config
file (IF YOU HAVEN'T DONE SO ALREADY):
where you point to your own opus-tiles.xml.
Then, use the following mapping:
After you pre-populate
still getting the same error.
> 1) I want to know how do i get the value 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 -
> F
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 !
Impor
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
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 AM
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
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: To
21 matches
Mail list logo