You could 'roll your own' using the TimerTask class.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: 16 February 2005 05:54
To: Struts Users Mailing List
Subject: Re: automatic periodic execution of code
I think Quartz has been the general consensus most times this h
http://article.gmane.org/gmane.comp.jakarta.taglibs.user/6038
I helped someone a while back with a similar requirement. Hope its useful.
Chris McCormack
-Original Message-
From: Todd Nine [mailto:[EMAIL PROTECTED]
Sent: 15 February 2005 12:50
To: Struts Users Mailing List
Subject: Constr
log4j.logger.com.myapp=DEBUG,A1
log4j.logger.org.apache.struts=FATAL,A2
where A1 and A2 are different console or file appenders.
-Original Message-
From: Nicholas Hemley [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 12:29
To: [EMAIL PROTECTED]
Subject: Applicaton-specific logging in St
Set a HTTP header to refresh the request every 30 seconds.
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 08:45
To: Struts Users Mailing List
Subject: Re: multiThread, action and Database access
You need to be more specific, I think. See below:
Ja
Then deploy a your_webapp_name_here.xml file along with your app that contains
the context settings.
Chris McCormack
-Original Message-
From: Jonathan Wright [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 23:22
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: JNDI
Craig,
John -
To use the schs82DefaultDef tile layout you would need to insert that definition in to
a jsp (or forward to the tile def from an action).
This would insert the "/layout.jsp" as defined in the path= part of your tiles-def.xml.
To insert the "name" attributes, within the "/layout.jsp" you w
<
logic:iterate id="rowArray" name="batchForm"
property="rowBatchDetails" indexId="rowCount"
><
logic:iterate id="colArray" name="rowArray" indexId="colCount"
>
Check w
Nice rewording there, you in Law by any chance ;)
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: 15 October 2004 15:33
To: Struts Users Mailing List
Subject: Re: Exposing ActionForm and MVC fields
> ***
> This e-mail and
ry for the stupidness)???
Is it an ordinary Servlet filter??
If so, i remember once using a few filters but i
coulnd`t get a reference to the request it self, only
to the context as a whole. Could you give an example?
--- "McCormack, Chris"
<[EMAIL PROTECTED]> escreveu:
> Look at u
ser cannot
alter them). In this case, i`m still suceptible to be
hacked by javascript, because of the ActionForm fields
exposure.
What about that???
--- "McCormack, Chris"
<[EMAIL PROTECTED]> escreveu:
> +1
>
> You could still create common elements to both pages
> wh
+1
You could still create common elements to both pages which will help maintain a look
and feel and reuse existing code, look at using different tile layouts for each user
type but the elements in the page are common jsp/tile definitions.
If the spec for one user changes then you could simply j
You shouldn't have to make any configuration changes to use and extended ActionForm
with your Actions.
Just extend ActionForm with your own base implementation and then create your beans by
extending your base implementation. Make sure to include each bean declaration in the
section of struts-
rst action's success forward on to the next action in
> struts config.
but will the same bean be populated ?
Regards ,
sachin
-- Original Message ---
From: "McCormack, Chris" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED
Have the first action's success forward on to the next action in struts config.
Chris McCormack
-Original Message-
From: sachin [mailto:[EMAIL PROTECTED]
Sent: 15 October 2004 10:46
To: Struts Users Mailing List
Subject: help : chaining actions in Struts
hi all ,
i have a common bean ,
I haven't tried this yet, but maybe any objects that you intend to put in the session
should have a nice finalize section to tidy themselves up before being removed by GC.
You could then effectively force GC on these objects by System.runFinalization() when
you needed without keeping track of wh
Why not have have your httpd serve the static content and leave the application to be
handled by your app server (if you have this configuration).
This is what the httpd was designed for :)
This gives you the independence of leaving your static content to reside on a disk
server (or seperate bo
$2,900 or $29.00 ?
-Original Message-
From: Sandro Duarte [mailto:[EMAIL PROTECTED]
Sent: 01 October 2004 15:33
To: Struts Users Mailing List
Subject: Re: new to Struts
I use MyEclipse, wich costs me $29,00 a year and do the job beautifully
Sandro
On Fri, 1 Oct 2004 15:57:12 +0200, WO
/pat on the back for Paul for answering so many questions today :)
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 10:14
To: 'Struts Users Mailing List'
Subject: RE: Need Help: exporting oracle database records to excel files
http://www.displayta
Look at jspc for pre-compiling your JSPs when building the archive for deployment.
-Original Message-
From: Mike Elliott [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 00:50
To: Struts Users Mailing List
Subject: Compilation of JSP at time of deployment?
I have a neglected Ultra 1, no
http://uk.trendmicro-europe.com/consumer/products/housecall_pre.php
Only tested it on windows. Let me know if it works on linux.
Chris McCormack
-Original Message-
From: Sean Radford [mailto:[EMAIL PROTECTED]
Sent: 12 August 2004 16:17
To: Struts Users Mailing List
Subject: [OT] Virus ch
#x27;m off topic.
Thanks,
Erik
McCormack, Chris wrote:
>According to the tld for (I think all) html elements :
>
>style
>false
>true
>
>
>styleClass
>false
>true
>
>
>styleId
>false
>true
>
>
>you can alter the style using css till your hea
According to the tld for (I think all) html elements :
style
false
true
styleClass
false
true
styleId
false
true
you can alter the style using css till your hearts content :)
Chris
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: 10 August 2004 10:23
To: Struts U
Depening on how you are obtaining a connection to the database, you may be seeing
overhead in creating/destroying the object each time rather than poor SQL.
Try running an ExplainPlan(I use the EP built in to Toad by Quest software) over each
SQL statement that does any table joins, you may be mi
yes thanks. How it relates to struts thought is another matter.
-Original Message-
From: Mazen, Tamer S [mailto:[EMAIL PROTECTED]
Sent: 21 July 2004 14:25
To: '[EMAIL PROTECTED]'
Subject: FW: Validate at least one check box is checked
> Dears,
> Does any one know how to implement 'at lea
If you use this method, I would advise that you cross check the itemid to be removed,
with the user attempting to remove the item session identifier.
There is potential otherwise for a script kiddie to write a simple script that counts
from 0-n and submit's each iteration to the remove action, i
Maybe a change of career or invest some time reading up the technologies that appear
on your CV ? Just a thought
-Original Message-
From: ganesh gadi [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 09:52
To: [EMAIL PROTECTED]
Subject: How to Disable "open" button on "File Download" dial
ownside (vs a 'real' cluster) is that in the event of a box dying
users will fail over to another box with nothing in their session.
Paul
> -----Original Message-
> From: McCormack, Chris [mailto:[EMAIL PROTECTED]
> Sent: 08 July 2004 14:09
> To: Struts Users Mailin
Without looking deeper in to this could it be a case of :
while(it.hasNext()){
MembershipTypeForm form = (MembershipTypeForm)it.next();
value[count] = new MembershipTypeBeanValue();
BeanUtils.copyProperties(value[count],form);
count++; // <-- this
}
-Original
>3) Users session is on that machine. The url for that machine is machine123.msn.com.
You missed a few steps which outlines the problem with clustered servers not being
able to use session scope for a user :
-a user types in their login details on www.msn.com and hits "GO".
-the request hits ww
I have coded something similar to this but rather than pop the properties object in to
the context I attached it to ThreadLocal.
Chris McCormack
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 12:26
To: Struts Users Mailing List
Subject: RE: application
In that case :
http://archives.java.sun.com/cgi-bin/wa?A2=ind9811&L=jserv-interest&F=&S=&P=18647
Chris McCormack
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 12:11
To: [EMAIL PROTECTED]
Subject: [Fwd: Lock Problem with Database]
The database i a
Look at using 'select for update' which will allow the row to be selectable by other
users.
Chris McCormack
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 12:10
To: [EMAIL PROTECTED]
Subject: Lock Problem with Database
Hi,
If i try to update a ta
Can you not plug ANT in with eclipse ?
-Original Message-
From: Mike Duffy [mailto:[EMAIL PROTECTED]
Sent: 06 July 2004 14:48
To: Struts Users Mailing List
Subject: [OT] Speaking of "gratuitously difficult".
Speaking of "gratuitously difficult".
Has anyone ever messed with the "
The corner stone of most struts developers on this list is a copy of 'struts in
action' by Ted Husted published by Manning.
A typical example on how you could use struts would be 'programming jakarta struts' by
Chuck Cavaness and published by O'Reilly.
I would read them in that order too.
n
org.apache.struts.action.ActionServlet
config
/WEB-INF/config/struts-config.xml
Thanks
Mathew
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, July 05, 2004 7:38 PM
To: Struts Users Mailing List
Subject:
This is the third time this has been posted isn't it ?
IIRC it was answered quite well the second time it was asked. Look in to modjk and
read the tomcat faq/manual.
Chris McCormack
-Original Message-
From: ganesh gadi [mailto:[EMAIL PROTECTED]
Sent: 05 July 2004 15:20
To: [EMAIL PROTEC
Please paste in a sample action and a sample tile-def. The more info the easier it is
to help you out. Also the name of your deployed app (context name).
Chris McCormack
-Original Message-
From: Mathew Joseph [mailto:[EMAIL PROTECTED]
Sent: 05 July 2004 15:07
To: [EMAIL PROTECTED]
Subjec
y.
The only thing that is missing from this are the map of attributes that
I was originally appending to the html:link. Is it a case of - you can
have one or the other?
Cheers,
Chris
> -Original Message-
> From: McCormack, Chris [mailto:[EMAIL PROTECTED]
> Sent: 01 July
Dont think its possilbe unless you use a bit of javascript.
As its lunchtime I have knocked out a bit of a solution in javascript (not tested).
var queryString = "?";
var count = 0;
function appendToUrl(newValue){
queryString +="&"+count+"="+newValue;
}
function doLink(
>500 - No Context configured to process this request
means you are trying to request a url that has no context defined in your web
applications on your appserver.
ie the generated page at : www.url.co.uk/context/action.do
contains a link help if you click this link it will give you
the url
ww
> -Original Message-
> From: josh [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 8:24 AM
> To: Struts Users Mailing List
> Subject: RE: Struts, Dreamweaver, and JSP
>
>
> On Tue, 2004-06-29 at 10:13, McCormack, Chris wrote:
> > > Are there any tools that allow
> Are there any tools that allow one to validate the html that is generated by the
> jsp/struts tags?
http://validator.w3.org/
hth
Chris
-Original Message-
From: josh [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 16:11
To: Struts Users Mailing List
Subject: Struts, Dreamweaver, and JSP
If you use
then will work on the same JSP.
Otherwise
is required for the variable to be available at
*Note the case of totalPosts and TotalPosts above and the scope variable used*
Without calling a c:set method (and the variable TotalPosts exists on the request)
then should work fine.
It
http://dev.mysql.com/downloads/connector/j/3.0.html
I have used connectorJ from (so far) swing apps, web based content tools, IRC control
bots, gaming server interface gui's among various test applications.
Chris McCormack
-Original Message-
From: Asim Ghosh [mailto:[EMAIL PROTECTED]
Se
I for one appreciate the post Simone. Its a good looking site and its
nice to see work that developers have spent time on and are proud of.
Good job !
Chris McCormack
-Original Message-
From: Simone-dev [mailto:[EMAIL PROTECTED]
Sent: 17 June 2004 15:02
To: Struts Users Mailing List
Subj
Struts in Action - Ted Husted (Manning)
Programming Jakarta Struts - Chuck Cavaness (O'Reilly)
Both very good books and should both be read to get a good all round view of struts.
hth
Chris McCormack
-Original Message-
From: gitanjali [mailto:[EMAIL PROTECTED]
Sent: 14 June 2004 11:33
To
I have had problems in the past getting a "web developer" from a number of design
companies that
a. understands what struts/jstl is
b. understands how to change html not using DW with no reworking by a java developer
of any tags after the redesign
In my experience it has been easier to either
Type java -X in a windows shell and look at setting some of the below options in your
environment using JAVA_OPTS
-Xmsset initial Java heap size
-Xmxset maximum Java heap size
-Xssset java thread stack size
I alse use this to allocate more memory to ant at build time f
Hi Marco
"Lose all the cookies" Can you elaborate on the losing part.
Are you setting cookies on the response and they are not being written ?
Are you setting cookies and then the next request they are gone ?
Are the cookies inaccessible but do exist when you check your cookies using another
me
Damn my inability to follow simple instruction :)
-Original Message-
From: Chaikin, Yaakov Y (US SSA)
[mailto:[EMAIL PROTECTED]
Sent: 04 May 2004 17:23
To: [EMAIL PROTECTED]
Subject: Test, please ignore
Thanks.
-
To un
Interesting problem.
You could implement image tickets, ie for every user that wants to submit a form you
generate a random sequence of characters as an obscured image. To enable the user to
submit the form they have to visually read and enter the code displayed in the image.
A simpler but less
Buy the civic but put reay big tyres on it and wear a helmet and leathers whenever
you drive it.
Debate ? What for :)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: 02 April 2004 18:52
To: Struts Users Mailing List
Subject: Re: [FRIDAY OT] .net or websphere?
>It's not exactly struts related but regarding javascript function.
Then by your own admission it has nothing to do with this list.
Use google and find a related forum more suited for your questions.
Chris McCormack
-Original Message-
From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED]
Sen
This is not a struts related issue its Html and Javascript related, as seem to be a
lot of other posts in this list lately.
http://developer.irt.org/script/script.htm <- great JS reference
in particular
http://developer.irt.org/script/frame.htm
Chris McCormack
-Original Message-
From:
54 matches
Mail list logo