RE: [OT] saving stats from session when session destroyed

2005-07-29 Thread Varley, Roger
I could be losing my mind, but, I swear that I tried this technique once and by the time the sessionDestroyed() method was called, I was not able to get any of the session attributes back anymore. For various reasons, the webapps I develop need to be deployable in a Servlet 2.3 environment.

RE: PlugIn and the base URL

2005-01-26 Thread Varley, Roger
The WS response has to contain the URL that was used to access the WS. This is a requirement of the XML Schema that defines the WS response payload. I have no control over this. I know this might be stupid, but whenever I see an odd requirement like this my first experiment is to see

RE: JDBC Driver

2005-01-18 Thread Varley, Roger
There are a good number of drivers listed on the Sun web site http://servlet.java.sun.com/products/jdbc/drivers Product from JNetDirect and DataDirect promise much... but at a price.. Try http://jtds.sourceforge.net/ - it works for me and the price is right! Regards Roger

RE: Need Ideas for This Puzzle

2004-10-22 Thread Varley, Roger
There are at least two good solutions. I like the second one best. 1. Tag Conditional Logic Solution Just use the c:if, c:choose and c:when tags. I assume, Caroline, that you are using JSTL. If not, then there are equivalent solutions with Struts logic tags. 2 Action

RE: new to Struts

2004-10-01 Thread Varley, Roger
$2,900 or $29.00 ? try googling for references to I18N. __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in

RE: Seeking advice for buying a Struts book

2004-09-29 Thread Varley, Roger
I know what you are saying, Langdon, but warn you that a lot of those solutions on the Googling are really poor solutions. I am sure you know that already. Is there a definitive resource anywhere for Struts tips, patterns and example code for common problems/questions ( possibly

Struts-Config.XML and script variables

2004-09-09 Thread Varley, Roger
Hi As a newbie to Struts I apologise in advance if this is a really stupid question. I am surprised that I am encouraged to use pre-defined constants for my action forwards in my java actions, but I cannot use these constants in the forward tag of the struts-config.xml. Indeed, everything

LookupDispatchAction (Newbie)

2004-08-27 Thread Varley, Roger
Hi I have implemented a LookupDispatchAction action class to deal with a form that contains multiple submit buttons as outlined in the sample chapter from The Struts Survival Guide at http://www.objectsource.com/Chapter4.pdf I've got everything working but I would be grateful if someone could

Using Struts HTML tags

2004-08-27 Thread Varley, Roger
Hi I'm trying to use the html:radio tag. What I'm trying to do is to ensure that the selected radio button is returned in the ActionFormBean for this page and the value that is returned is contained in a session bean user property fromDomain. What I want to see in the generated HTML is input

Select One Row

2004-08-26 Thread Varley, Roger
Hi I'm starting my first Struts project and I have got a .jsp page that displays a list of beans using the logic:iterate tags. Now I need a method of adding a radio button against each row so that the client can select one of the rows for editing. Googling has taken me to the Struts Layout

Emulate a modal screen (Struts newbie)

2004-08-23 Thread Varley, Roger
Hi I'm trying to write what is esentially a web based data entry program using struts. I obviously can't use pessimistic database locking and optimistic locking becomes a nightmare when the client is able to open multiple edit windows across multiple records at the same time - so I'd like to