Re: Struts development work

2001-12-03 Thread Dmitri Colebatch
(o: our emails just passed each other in the pipes... On Mon, 3 Dec 2001, Joe Faith wrote: I should have mentioned that we would welcome developers who wanted to work remotely (as long as you can find your way around a CVS tree :- ) Joe Faith wrote: We are a UK web engineering

Re: A Question on EJB

2001-11-25 Thread Dmitri Colebatch
Depends... do you need read-only, or read-write access to the information? if you need read-write, then ejb may be capable of providing distributed tx management, depending on the vendors support. if you only need read-only, then straight jdbc may be easier... depends on the complexity of the

RE: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
Hi, I also agree with Michelle... I think what you are thinking is maybe you could use the struts form _as_ the value object? imho this would be bad design, as the whole idea of putting the logic in a separate tier is to have it not bound to any one form of presentation. What Michelle is

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
. HTH, Michelle - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 5:34 PM Subject: RE: Design question - Action Form vs Business Delegates/Value Obj ects Hi, I

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
object properties in java you just cal the employeeForm.getEmployeeVo().getName() method and when you are in a jsp and want to bind the value object property to a text field you refer to the property as employeeVo.name. HTH, Michelle - Original Message - From: Dmitri Colebatch [EMAIL

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
you refer to the property as employeeVo.name. HTH, Michelle - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 5:34 PM Subject: RE: Design

Re: error-page in web.xml and 404 HTTP error

2001-11-20 Thread Dmitri Colebatch
On Tue, 20 Nov 2001, Steve Zhang wrote: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app ... after session-config error-page error-code404/error-code

Re: web.xml

2001-11-20 Thread Dmitri Colebatch
web.xml should be in WEB-INF/web.xml, not in the classpath. So if my web application is in directory /home/dim/foo, then web.xml should be at /home/dim/foo/WEB-INF/web.xml hth dim On Tue, 20 Nov 2001, Henrick Chua wrote: hi folks! I have a question. Does iPlanet web server 4.1 recognize

Re: how to number of rows in resultset without % ...

2001-11-19 Thread Dmitri Colebatch
A resultset has a cursor, and depending on how big it is, you might be better off having a separate query to detemine the number of rows (using SELECT COUNT(index) FROM table WHERE same_where_clause). cheers dim On Mon, 19 Nov 2001, Dalibor Kezele wrote: From: Bradley M. Handy [EMAIL

Re: Form based login

2001-11-19 Thread Dmitri Colebatch
The idea of form based login is that the servlet container does the job for you. so you dont write anything, apart from provide the look and feel for the form. what you are describing is essentially application managed security... hth dim On Mon, 19 Nov 2001, Martin Farrell wrote: Hi How

RE: Form based login

2001-11-19 Thread Dmitri Colebatch
2001, Martin Farrell wrote: hi thanks for the clarification can you offer me some advice on application managed security? my requirement is that i have both users and groups within my system martin -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent

Re: Struts and IPlanet 6.0 (Test Drive) - Solution

2001-10-26 Thread Dmitri Colebatch
Isn't the real cause of this the struts.jar file being int he classpath? as I understand it the struts.jar should only be in the WEB-INF/lib of your web application. cheers dim On Thu, 25 Oct 2001, Matt Raible wrote: I wanted to make sure the solution to this issue got into the mailing list

Re: Does struts spawn a new action class for every user?

2001-10-26 Thread Dmitri Colebatch
On Thu, 25 Oct 2001, Greg Lehane wrote: If I declare variables outside of the perform() method in my action classes, does this mean that multiple simultaneous users will overwrite each others variables? i.e. does struts spawn a new action object for every user session, or does it keep the

RE: SilverStream 3.5.2

2001-10-25 Thread Dmitri Colebatch
really? I've never used silverstream, but struts doesn't break any rules afaik... any idea what the problem is? (btw - I'm just an interested party, so dont spend time explaining it for my benefit if you dont want to!) cheers dim On Wed, 24 Oct 2001, George, Carl wrote: no -Original

Re: Iterate and add Link

2001-10-25 Thread Dmitri Colebatch
Not sure if this will work, but try creating the map with a usebean tag: jsp:useBean id=args class=java.util.HashMap / % args.put(adjType, send); % from memory I think that should work.. hth dim On Wed, 24 Oct 2001, MacKellar, Kimberly wrote: I have an iterate tag and the body of this tag

Re: Flash button and forms with struts

2001-10-25 Thread Dmitri Colebatch
There are two different parts to struts... firstly the framework side, and secondly the presentation side (taglibs). There's no reason you couldn't use the framework without the presentation. The key thing would be that you'd lose the ability to have fields populated with values that were

Re: Update Iterate tag

2001-07-12 Thread Dmitri Colebatch
Are you _absolutely sure_ that productList != null. I've had many scenarios where I have two contructors for a form and struts is using the default constructor, which didn't create the list - hence a null pointer ex. cheers dim On Thu, 12 Jul 2001 18:23, Vaibhav Patil wrote: Hello

Re: Probkem with Example Application

2001-07-09 Thread Dmitri Colebatch
What JDK are you running on? sounds like 1.1 - you'll either need to get 1.2/1.3 or get the collections.jar (I think thats what its called). cheers dim On Mon, 9 Jul 2001 23:29, David van Coevorden wrote: Hi As a newbie I am trying to run the example app on Tomcat 3.2.2. I can login

Re: struts w/ej

2001-07-09 Thread Dmitri Colebatch
I'm not sure when other ppl do but I create a form bean which takes the value object in the constructor and delegates. That way its easy to update the bean with a bulk setter. cheers dim On Tue, 10 Jul 2001 06:54, Paul Beer wrote: i have followed some old threads about this but see no

Re: Help on making struts with Apache + Tomcat

2001-07-04 Thread Dmitri Colebatch
Hi, On Thu, 5 Jul 2001 08:05, Domingo Aguilera wrote: that are working using Apache as a router from port 80 to port 8080 of tomcat. You shouldn't be using http tunnelling, mod_jk is much better. Look at the mod_jk doco in the docs directory of the tomcat dist. cheesr dim I don't know

Re: Help on making struts with Apache + Tomcat

2001-07-04 Thread Dmitri Colebatch
-Mensaje original- De: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Enviado el: MiƩrcoles, 04 de Julio de 2001 08:32 p.m. Para: [EMAIL PROTECTED]; Domingo Aguilera Asunto: Re: Help on making struts with Apache + Tomcat Hi, On Thu, 5 Jul 2001 08:05, Domingo Aguilera wrote: that are working

Re: SV: OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Dmitri Colebatch
Hi, The tomcat list is very friendly (o: but for now... do the log files say anything useful? is this a fresh install of tomcat? do the examples work? which jdk are you using? I have no idea about any solaris related issues, but if you're getting problems like this I'd be inclined to do a

Re: SV: SV: OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Dmitri Colebatch
the servlets examples work, but the jsp examples runs in an infinite loop during the translation (the last line is added repeatedly)... I'll try the tomcat lists... thanks Mikkel -Oprindelig meddelelse- Fra: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sendt: 03 July 2001 09:24

Re: null pointer error

2001-06-27 Thread Dmitri Colebatch
On Thu, 28 Jun 2001 07:22, Nick Chalko wrote: Sorry, yes it was in a html:htmlhtml:form you do mean html:html/html:form ^^^ dont you? -Original Message- From: Bob Byron [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 2:14 PM To: [EMAIL PROTECTED]

Re: Need help!

2001-06-27 Thread Dmitri Colebatch
On Thu, 28 Jun 2001 14:27, you wrote: I would like to put the first part into an action class and the last part into a jsp page but the problem is i can't get the variable pageContext from the action class. Should i use session to solve this problem ? (e.g. the action class will put the