RE: automatic periodic execution of code

2005-02-16 Thread McCormack, Chris
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

RE: Construting HTML Email from Struts

2005-02-15 Thread McCormack, Chris
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

RE: Applicaton-specific logging in Struts

2004-11-26 Thread McCormack, Chris
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

RE: multiThread, action and Database access

2004-11-16 Thread McCormack, Chris
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

RE: JNDI

2004-11-12 Thread McCormack, Chris
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,

RE: How to use layouts included with Tiles?

2004-11-01 Thread McCormack, Chris
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

RE: Serious performance impact with iterator

2004-10-26 Thread McCormack, Chris
< logic:iterate id="rowArray" name="batchForm" property="rowBatchDetails" indexId="rowCount" >< logic:iterate id="colArray" name="rowArray" indexId="colCount" >   Check w

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
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

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
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

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
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

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
+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

RE: help : creating own ActionForm

2004-10-15 Thread McCormack, Chris
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-

RE: help : chaining actions in Struts

2004-10-15 Thread McCormack, Chris
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

RE: help : chaining actions in Struts

2004-10-15 Thread McCormack, Chris
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 ,

RE: mechanism to clear objects in the session

2004-10-15 Thread McCormack, Chris
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

RE: Where Is the Best Place To Store Files?

2004-10-14 Thread McCormack, Chris
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

RE: new to Struts

2004-10-01 Thread McCormack, Chris
$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

RE: Need Help: exporting oracle database records to excel files

2004-09-28 Thread McCormack, Chris
/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

RE: Compilation of JSP at time of deployment?

2004-09-28 Thread McCormack, Chris
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

RE: [OT] Virus checking uploaded files

2004-08-12 Thread McCormack, Chris
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

RE: html:file

2004-08-10 Thread McCormack, Chris
#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

RE: html:file

2004-08-10 Thread McCormack, Chris
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

RE: About Struts + JBoss preference issue

2004-07-22 Thread McCormack, Chris
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

RE: Validate at least one check box is checked

2004-07-21 Thread McCormack, Chris
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

RE: Best practice request - dynamic link to redraw page

2004-07-16 Thread McCormack, Chris
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

RE: How to Disable "open" button on "File Download" dialogue box. ...please urgent

2004-07-16 Thread McCormack, Chris
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

RE: some best practices questions

2004-07-08 Thread McCormack, Chris
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

RE: java.util.ConcurrentModificationException

2004-07-08 Thread McCormack, Chris
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

RE: some best practices questions

2004-07-08 Thread McCormack, Chris
>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

RE: application configuration

2004-07-08 Thread McCormack, Chris
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

RE: [Fwd: Lock Problem with Database]

2004-07-08 Thread McCormack, Chris
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

RE: Lock Problem with Database

2004-07-08 Thread McCormack, Chris
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

RE: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread McCormack, Chris
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 "

RE: Book recommendations

2004-07-06 Thread McCormack, Chris
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.

RE: ClassCastException when usig multiple web applications

2004-07-06 Thread McCormack, Chris
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:

RE: why do we need to integrate tomcat with apache webserver and how.pls urgent

2004-07-05 Thread McCormack, Chris
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

RE: ClassCastException when usig multiple web applications

2004-07-05 Thread McCormack, Chris
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

RE: Appending html:option to a html:link

2004-07-01 Thread McCormack, Chris
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

RE: Appending html:option to a html:link

2004-07-01 Thread McCormack, Chris
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(

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread McCormack, Chris
>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

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread McCormack, Chris
> -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

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread McCormack, Chris
> 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

RE: Please Help Me To Convert My JSP Scripting Elements To Tags

2004-06-21 Thread McCormack, Chris
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

RE: Java / MySQL

2004-06-21 Thread McCormack, Chris
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

RE: [OT] Soccer portal released goal.com

2004-06-17 Thread McCormack, Chris
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

RE:

2004-06-14 Thread McCormack, Chris
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

RE: Are there any IDE's that understand Struts tags?

2004-05-27 Thread McCormack, Chris
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

RE: java.lang.OutOfMemoryError after server app start/stop cyclin g

2004-05-14 Thread McCormack, Chris
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

RE: tiles-cookie problem

2004-05-07 Thread McCormack, Chris
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

RE: Test, please ignore

2004-05-05 Thread McCormack, Chris
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

RE: [slightly OT] defensive strategy

2004-04-13 Thread McCormack, Chris
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

RE: [FRIDAY OT] .net or websphere?

2004-04-05 Thread McCormack, Chris
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?

RE: Javascript event on click of Stop button[OT]

2004-04-02 Thread McCormack, Chris
>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

RE: changing two frames at one time

2004-04-01 Thread McCormack, Chris
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: