the entire application with a role that all users
will be guaranteed to have.
-Original Message-
From: Daniel Massie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 4:58 PM
To: Struts Users Mailing List
Subject: Re: JAAS and roles attribute of logic:present
If I firstly go
localhost:8080/app the principle is null. Is
it possible to manually add the JAAS subject to the HttpSession so that
it can be used with the logic tags?If so by which key must it be added
to the session?
thanks
Daniel
--
Daniel Massie
http://www.dmassie.org.uk
http://jbay.dmassie.org.uk
If I firstly go to a secured area, I am redirected to the login page. I
log in, get sent to my original request (secure area). If I then go
immediately to an unsecure area, there is no principal or subject (both
null).
If I go to the unsecured area without an existing session, there is also
I am trying to write a regular expression to represent a network path.
Network paths are of the form
\\path\to\folder
The regular expression which I thought would achieve this is
^\{2}([A-Za-z0-9]-_)+\{1}([A-Za-z0-9]-_\)+$
But I am having no luck. Can anyone help?
Thanks
Daniel Massie
Structure you have for Test Cases and have you set /WEB-INF/
in your classpath..
and How you set these variables
-Original Message-
From: Daniel Massie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 3:17 PM
To: Struts Users Mailing List
Subject: StrutsTestCase problem
Is it possible to apply a style to the button of the html:file tag?
Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am trying to upload a file using html:file which is received as a
FormFile, the problem is I need to find out this files absolute path. Hwo
can I retrieve this information?
Thanks
Daniel
-
To unsubscribe, e-mail: [EMAIL
-
From: Daniel Massie [mailto:[EMAIL PROTECTED]
Sent: August 6, 2003 2:35 AM
To: Struts Users Mailing List
Subject: uploadfile path
I am trying to upload a file using html:file which is received as a
FormFile, the problem is I need to find out this files absolute path. Hwo
can I retrieve
PROTECTED]
Sent: Wednesday, August 06, 2003 8:18 AM
Subject: RE: uploadfile path
html:form method=POST
enctype=multipart/form-data
html:file property=theFile /
/html:form
theFile is type of FormFile. You can go from
there.
-Original Message-
From: Daniel Massie
I am trying to use the StrutsTestCase extension of Junit but keep getting
the following error when I try to use it, the error occurs when
actionPerform() is called. Any help would be greatly appreciated.
[main] DEBUG servletunit.struts.MockStrutsTestCase - Entering setUp() 80
[main] DEBUG
get a trial at http://safari.oreilly.com and read the oreilly book
Programming Jakarta Struts
-Original Message-
From: message message [mailto:[EMAIL PROTECTED]
Sent: 04 August 2003 10:56
To: [EMAIL PROTECTED]
Subject: Re: [OFF TOPIC] Book recommendations (J2EE, Struts, JUnit, EJB,
I have a html:select with multiple=true how can I get this to have options
highlighted when it loads? based on the elements already stored for this
select field.
Thanks
Daniel Massie
-
To unsubscribe, e-mail: [EMAIL PROTECTED
already stored for
this
select field.
Thanks
Daniel Massie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
for the
form-property. When used for the casting I get a class cast exception. When
used for the form-property I get informed that its an icompatible type as
the select is returning a string.
Does anyone know how to solve this problem?
Thanks
Daniel Massie
problem yet (I'm catching up on many struts
emails) but change the one line in your struts config:
form-property name=property1 type=java.lang.String[] /
-Original Message-
From: Daniel Massie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 8:52 AM
To: Struts Users Mailing List
15 matches
Mail list logo