Re: [OT] JTA, JDBC and data persistence

2004-03-26 Thread ian_d_stewart
Freddy, You may want to take a look at Hibernate (http://www.hibernate.org), if you haven't done so already. Hibernate is a persistence mechanism which utilizes XML mappings to map Java objects to relational database schemas, and does support cascading deletes, amoung other things. HTH, Ian

Re: [OT] WSAD problems with Struts

2004-03-26 Thread ian_d_stewart
You can also override the global Validation preferences within the Validation portion of the Project Properties. Ian Susan Bradeen

Re: microsoft sqlserver driver struts

2004-02-27 Thread ian_d_stewart
Hi Claire, We are successfully connecting to a Microsoft SQL Server 2000 using the type 4 JDBC drivers. However, we do not use DBCP, but rather the DataSource implementation provided by Microsoft. Here is the configuration we use (this is taken from an internal configuration file that we use to

Re: microsoft sqlserver driver struts

2004-02-27 Thread ian_d_stewart
Hey Claire, I feel your pain! I have had to deal with just this sort of situation migrating a database from DB2 to Oracle. I have encountered it across multiple platforms and databases (Windows, Linux, AIX; SQL Server, Oracle, DB2). It is definately NOT specific to SQL Server. The behaviour

RE: Submit button does nothing

2004-02-25 Thread ian_d_stewart
html:form ... / is a valid tag, so WSAD won't complain. It's just not what you want. Kind of like how a spell checker won't complain if you mis-use to, too and two... Ian

RE: Struts and XSL ?

2004-02-09 Thread ian_d_stewart
I believe the point Kris was trying to make is that, in addition to using JSP to dynamically generate HTML, you can also use JSP to dynamically generate your XSLT stylesheets. This functionality is seperate from JSTL (though you should be able to use at least a subset of the Struts tag

Re: [OT]CVS client

2004-02-05 Thread ian_d_stewart
Well, better is a relative term, but another client you may want to look into for Windows is Tortoise CVS (http://www.tortoisecvs.org), which incorporates CVS functionality into the Windows Explorer shell. HTH, Ian

Re: LDAP + DataSource

2004-01-23 Thread ian_d_stewart
LDAP, as the name implies, is a Directory Access Protocol. As such, you cannot use JDBC to establish connections. However, java does provide an analagous interface for accessing Naming and Directory Services (LDAP, DNS, etc) known as the Java Naming and Directory Interface (JNDI). A good

RE: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread ian_d_stewart
If you're already certified w/ Netscape, testing on Mozilla or Konqueror is probably unnecessary, as they (along with Galeon, Gnome's web browser) all use the same rendering engine. Ian

Re: URGENT - Help defending Struts

2003-12-18 Thread ian_d_stewart
http://www.paymentech.com Also, IBM uses Struts for the WebSphere Admin Console HTH, Ian [EMAIL PROTECTED]

Re: [OT] Numeric Overflow

2003-12-18 Thread ian_d_stewart
What is the compile time error you're seeing? Ian Raj Yadav

RE: [OT] Numeric Overflow

2003-12-18 Thread ian_d_stewart
Makes sense. I'm guessing you have something like: int num = rs.getDouble(1); From your earlier e-mail, it looks like num is actually a long (i.e., it is a whole number that will not fit into Java's 32-bit int). Try this instead: long num = rs.getLong(1); HTH, Ian

RE: designing simple scheduler

2003-12-08 Thread ian_d_stewart
This probably goes without saying, but in addition to being UI agnostic, your business logic should also be datastore agnostic. To be truly abstract, it should be as easy to move your backend from RDBMS to LDAP or XML as it is to move the UI from Web to GUI to Console. Ian

Re: ibm ws portal V5 Struts Integration

2003-12-05 Thread ian_d_stewart
According to our contacts, WebSphere 5.1 (scheduled to be released 12/19) will offer full server-side support for J2EE 1.4. Not sure if 5.0.2 supports J2EE 1.3 or not. HTH, Ian

RE: HAPPY DIWALI!

2003-10-23 Thread ian_d_stewart
Dirty foreigners, stealin' our God-given jobs!! Best round up the boys. Now where did I put that cross? Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 244-2564 Mark Galbreath [EMAIL PROTECTED] on 10/23/2003 08:11:58

Re: HAPPY DIWALI!

2003-10-22 Thread ian_d_stewart
Blasphemor! Everyone knows real men drink stout! Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 244-2564 Adam Hardy [EMAIL PROTECTED] on 10/22/2003 09:39:00 AM Please respond to Struts Users Mailing List

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread ian_d_stewart
Actually, providing technical support for open source products at a fee is a very common business model. Cygwin built its entire business around it. Companies such as RedHat, Mandrake and Progeny have similiar business models. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange -

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread ian_d_stewart
My bad. I meant Cygnus, not Cygwin. See http://redhat.com/software/gnupro/ As far as I can tell, there is no e-mail address you can send support questions to. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614)

Re: Ressource editor

2003-10-21 Thread ian_d_stewart
If you have access to a Perl installation, there is method called escapeHTML in the CGI.pm module which will do what you want. There is also a simple regexp in the Perl FAQ (perldoc -q encoding), which may or may not work. If you want a Java solution, you may want to take a look at

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread ian_d_stewart
Switzerland is a very good example of this. There are four different languages spoken there (French, German, Italian, and a local language whose name escapes me) and the prevelant language varies from kanton to kanton. Even here in the US, there is an increasing number of communities where

Re: java.net.URL

2003-10-14 Thread ian_d_stewart
As far as I can tell, there is no easy way to do this. In theory, you could provide your own URLStreamHandlerFactory, that sets an appropriate timeout on the underlying Socket, then pass it in to the URL constructor, but this would be a non-trivial solution. HTH, Ian Ian D. Stewart Open

Re: user local confusion

2003-08-28 Thread ian_d_stewart
I suspect Tomcat get's the default locale from the Java runtime, which in turn gets it from the operating system it is running on (e.g., on UNIX set LANG=fr (or whatever)). HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL

Re: Réf. : Re: user local confusion

2003-08-28 Thread ian_d_stewart
In your tomcat4.conf (I'm assuming Linux here), ensure that the line LANG=en_US is commented out. It's near the bottom of the conf file, right after TOMCAT_USER. HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL

Re: Réf. : Re: Réf. : Re: user local confusion

2003-08-28 Thread ian_d_stewart
If you look in /etc/tomcat4 you'll see a tomcat4.conf file that contains various environment settings. This file gets sourced by /etc/init.d/tomcat4, which is used to start Tomcat (at least on Redhat). I can send you copies of tomcat4 and tomcat4.conf if you like. Ian Ian D. Stewart Open

Re: UML

2003-08-26 Thread ian_d_stewart
Instead of using a class diagram (as you mentioned, the session scoped object is not really a property of the class), you might want to consider using Use Case to describe the processing by the Action. HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One

Re: struts beans - serializable?

2003-08-26 Thread ian_d_stewart
I don't know about all javabeans (though it wouldn't surprise me), but in order to store the bean within an HTTP session, it needs to implement java.io.Serializable. HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED]

Re: browse for a directory

2003-08-14 Thread ian_d_stewart
The browse functionailty is actually implemented by the browser. There for browsing behaviour will be browser (and probably platform) specific. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Kelly

Re: Application Design Document

2003-08-14 Thread ian_d_stewart
Object Call Hierarchy would probably be the approach I would use. It should be supported by most UML tools. Take a look at the EJB specification for an example of Object Call Hierarchy. You may also want to provide a flowchart to document logic chains. HTH, Ian Ian D. Stewart Open Systems

RE: [OT] Best super-class for context handling.

2003-07-31 Thread ian_d_stewart
getResourceAsStream() is an instance method of java.lang.Class, so as long as you stick with that, you're not tied to any particular deployment environment. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
There shouldn't be a need to pass the ServletContext around. Just call servlet.getServletContext() within your action. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Simon Kelly [EMAIL PROTECTED] on

Re: Visual HTML editors with Struts

2003-07-30 Thread ian_d_stewart
I assume by 'visual HTML tool' you're referring to a WYSIWYG editor. In that case, any editor that supports JSP should work just fine. I don't use the abominations personally, so can't recommend one. As far as using struts w/o the custom tags, it's certainly doable, but hampering your

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
Ideally your business objects shouldn't know anything about the deployment environment. Not only is this good design, but it also allows you to migrate between (or support multiple) deployment environments with minimal hassle. If all you want to do is convert between relative paths and URI's,

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
Ok. I think I see what you're trying to do. One approach would be to specify a configuration class that can be passed to the business object(s). Then within your Action class, use Struts/Servlet specific methods to construct the configuration object from your files (if you use XML to specify

Re: submit a form with html:link

2003-07-29 Thread ian_d_stewart
OnClick is an arbitrary string that is evaluated by the scripting engine, not a URL. try replacing onclick=javascript:'document.forms[0].submit();return false;' with onclick=document.forms[0].submit(); return false HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange -

Re: Using Actions with specific paths

2003-07-25 Thread ian_d_stewart
How about: servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-valueWEB-INF/struts-config.xml/param-value /init-param /servlet servlet

Re: [OT] EJB LIKE A TRIGGER

2003-06-16 Thread ian_d_stewart
Seems to me it would make more sense to move your business logic to Struts (e.g., ActionForm.validate() and/or Action.permform()/execute()) before writing to the database then to hit your database every few seconds looking for changes Ian D. Stewart Open Systems Engineer II Enterprise Midrange

RE: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread ian_d_stewart
However, clicking an html:cancel/ button does call the reset() method. Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Karr, David [EMAIL PROTECTED] on 06/16/2003 04:31:39 PM Please respond to Struts Users

Re: OT FRIDAY: Take a break with struts users

2003-06-13 Thread ian_d_stewart
They leave telnet open but block ssh? Who do you work for?! Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 James Mitchell [EMAIL PROTECTED] on 06/13/2003 11:36:21 AM Please respond to Struts Users Mailing

RE: OT FRIDAY: Take a break with struts users

2003-06-13 Thread ian_d_stewart
At least a couple of years ago (the last time I had a need to use AIM) you could also setup an AIM-specific account (there is no charge), although the account name cannot conflict with an existing AOL screen name. HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One

Re: [OT] IDE with easy tomcat upgrade?

2003-06-13 Thread ian_d_stewart
Hi Barry, I use the Eclipse IDE (http://www.eclipse.org) in conjunction with EasyStruts (http://easystruts.sourceforge.net) and the Sysdeo Tomcat plugin (http://www.sysdeo.com/eclipse/tomcatPlugin.html) and it works pretty nicely. Ian Ian D. Stewart Open Systems Engineer II Enterprise

RE: [OT] MVC / Model 2 for Microsoft ???

2003-06-13 Thread ian_d_stewart
The major selling point for me was the separation of the business logic from both the presentation and data layers, along with the extremely flexible configuration, via struts-config.xml. This allows me to have my Struts guru (myself for the time being) concentrate on the ActionForms, Actions,

Re: need all info. regd Tags in Struts..

2003-06-11 Thread ian_d_stewart
If you go to the Struts welcome page (http://jakarta.apache.org/struts/doc-1.0.2 for the current stable release), on the left side of the page, about a third of the way down, you'll see links to documentation, including developer guides and taglib documentation. Also, you'll probably want to

Re: Populating Drop-down

2003-06-10 Thread ian_d_stewart
I don't know if it's a best practice or not, but what I do is have the link to the edit screen actually point to an action, which is responsible for initializing any related collections and storing them in session-scoped attributes. A related approach would be to use the logic:notPresent tag to

Re: Accessing ApplicationResources.properties

2003-06-09 Thread ian_d_stewart
Or you could just use: MessageResources bundle = this.getResources(); Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Kevin Robair [EMAIL PROTECTED] on 06/09/2003 09:53:29 AM Please respond to Struts

Re: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread ian_d_stewart
This is probably a silly question, but what's the difference between forward and redirect? Thanx, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Zhu He [EMAIL PROTECTED] on 06/05/2003 04:16:07 PM

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread ian_d_stewart
Ok. So, from the user's perspective, when we do a redirect, they are sent to a different location. When we do a forward, they are not, even if the content changes? Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614)

Re: Parsing Problem

2003-06-06 Thread ian_d_stewart
Have you tried moving the logic outside of the input element? Example: % String label = weiter; % logic:match name=user property=letzteFormularSiete value =Geraetemerkmale % label = speichern % /logic:match td colspan=2 align=right input type=submit value=%= label % /td HTH, Ian