- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 1:35 PM
Subject: RE: [STRUTS] Detecting multiple users with the same login
Store their login names and IPs in a context-scope hashtable upon
I don't think there is a simple Struts mechanism for this. You will probably
need to invoke a separate thread that monitors the time, and when you hit
2:00am, you could invoke an action programmatically... having said that, I'm
not sure why you would need the action to be a struts action, as
Hi Ivan,
I had this problem too...
The source of the problem lies in the Jakarta RegExp implementation that
Struts Validator uses. I ended up downloading the source to RegExp and
stepping through the code. To bypass the problem, I replaced the RegExp
regular expression handler with Jakarta ORO.
Sorry for this stupid tiles question, but I need to make sure I understand
this.
When I tried tiles, it appeared to severely affect performance. This seemed
to be because a new JSP was *constructed* on each request and then
*compiled* before finally being run, which then served up the HTML to
Having finally received my copy, which was labelled 'beta edition' (??!)
I've come to some very quick conclusions. I've been using Struts for about 6
months now, together with Struts Validation, Struts Layout, Struts Menu,
Declarative Exceptions, Struts Security, PostgreSQL, Poolman, log4j,
Chris,
Whilst I've not tried it yet, you may want to look at Jasper Reports. This
is open source and seems to fit what you want. BTW, if you try it out, could
you let me know what you think? Thanks.
http://sourceforge.net/projects/jasperreports
Regards
Andy
- Original Message -
From:
Rob,
When I looked into this, I realised that the problem you describe would
occur. Given that it occurs, and the list goes out of scope, you've got to
either requery the database or store the initial results in the session. I
decided to store user specific results in the session - but I'm
Hi Daniel,
I had this problem also, but only when using Forte v3 . I found my solution,
but it obviously won't work if you're not using forte.
I kept my TLDs in /WEB-INF/lib/tlds. The Forte application doesn't seem to
load all the subdirectories in to memory when the project is first opened.
So
Given the very limited potential readership, I don't think $70 is too expensive...
I've ordered it and may change my mind if its a load of tripe :o).
I'll give feedback once it arrives.
Andy
- Original Message -
From: Esterkin, Alex
To: 'Struts Users Mailing List'
Sent:
Hi,
When using JDBCRealm with Tomcat, does anyone know if the user's roles are
loaded from the database for each request, or are they loaded once and held
in a session object?
Regards
Andy
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Given that the responsiblity of a PropertySearch object would then be to
return a set of found Properties, I would have thought the best approach
would be :
1. Have the PropertySearch query do one database hit which gets all 100 (for
e.g) rows in to a rowset object.
2. The PropertySearch object
As far as I'm aware, 1 JSP form gets mapped to 1 formbean.
Why would you not have the attributes in the first formbean?
If really necessary, you could maybe consider have the 1st formbean have
getters and setters which delegate to a second formbean. But would help if
you could explain reason
Hi,
When a JSP is posted in struts, the entered values get copied to an
ActionForm object so that the JSP can be redisplayed if necessary and the
data survives across the request.
Is this also true for the data in a select list?
On initial creation of the JSP, I will be accessing the database
Hi twr,
Well, in my original plan (using 'edit record' for example):
1. The user sends a request to edit a record
2. Retrieve data from db, populate ActionForm and store in session
3. Populate HTML form send to user for editing.
4. User edits, makes changes and posts data back
5. Action picks
I had this very problem. You want the best of both worlds like I did - the
formbean somehow lives between two requests but doesn't clog up memory like
a session bean could. I chose the request only option in the end. All the
data in the bean gets sent to the client, and a new formbean is created
Always worth checking out Ted Husted's site :
http://husted.com/struts/FAQ/controller-ssl.htm
Andy
- Original Message -
From: Rakesh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 13, 2001 4:25 AM
Subject: SSL
Is there any documentation anywhere on how to use SSL
Hi,
I've decided to include Laine Donlan's declarative exceptions in my Struts
1.0 build. Everything works fine, except that I can't get my web app to use
the local version of Laine's modified struts-config_1_0.dtd file to validate
my struts-config.xml file.
I've modified the struts-config.xml
David,
One that appears popular here, and I'm also using is Poolman. It can be
found at http://www.codestudio.com
Andy
- Original Message -
From: David Winterfeldt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 4:07 PM
Subject: DB Connection Pooling
What would
Hi,
I've downloaded Tomcat 3.2.3, installed it and tried
running one of the Tiles WAR files tiles-doc.
So, now my IDE (Forte) is out of the loop. Tomcat runs
quite happily with other WAR files, but bombs out when I introduce tiles-doc.war
!
I guess it must be my configuration somehow, so
$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
-- Andy Noble
Is anyone successfully running thecombination of
Forte CE v3 with built in Tomcat 3.2 with Struts and
Struts-templates?
I only have a problem when I add Struts-templates. It
intermittently throws an IncludeException. I had the same problem with
Tiles.
Any ideas?
I'm having a look at the Struts validator, and I've got a
couple of questions:
1. There appears to be a load of whitespace in the
genertated Javascript, which bloats the HTML page. Is this normal, or is it
me?
2. I'm trying a simple 'required' validation as defined in
validation.xml on a
As I've been playing around with the HTML form tags, I've
noticed that it would be handy for an additional tag that sets the focus to the
control that has the same name as the first ActionError name. Is there any plans
for this kind of functionality?
Andy
BEGIN:VCARD
VERSION:2.1
in each Action class
Has anyone any experience or thoughts on
this?
At the moment, I guess I'm in favour of the ActionServlet
subclass just to keep it all in one place, but the filter method also sounds a
possibility.
Andy Noble
BEGIN:VCARD
VERSION:2.1
N:Noble;Andy;;Mr.
FN:Andy Noble
ORG:Data
Is it possible to have the focus of an HTML form dependent
on a variable?
Something like :
html:form
action="/login" focus=myFocus
TIA
Andy
BEGIN:VCARD
VERSION:2.1
N:Noble;Andy;;Mr.
FN:Andy Noble
ORG:Data Workshop Ltd
TEL;WORK;VOICE:+44(0)161 705 1518
TEL;CELL;VOICE:+44(0)7947 854916
25 matches
Mail list logo