You can also override the global Validation preferences within the
Validation portion of the Project Properties.
Ian
Susan Bradeen
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
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 we
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
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
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
libraries).
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
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 startin
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
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
What is the compile time error you're seeing?
Ian
"Raj Yadav"
http://www.paymentech.com
Also, IBM uses Struts for the WebSphere Admin Console
HTH,
Ian
[EMAIL PROTECTED]
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
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
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:1
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"
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
java.net.URL
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) 244-2
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 -
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
Span
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 Syste
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 Sys
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 PROTECTED
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 PROTEC
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]
(6
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 Infrastructu
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 E
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 Cl
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
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 t
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, y
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 developm
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]>
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 -
How about:
action
org.apache.struts.action.ActionServlet
config
WEB-INF/struts-config.xml
controlAction
org.apache.struts.action.ActionServlet
config
WEB-INF/control-config.xml
action
*.do
However, clicking an 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 Mailing
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 -
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, e
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 Midrang
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
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 Mai
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 upg
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 tag to check for
the co
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 "Stru
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) 213-610
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
Have you tried moving the logic outside of the input element?
Example:
<% String label = "weiter"; %>
<% label = "speichern" %>
HTH,
Ian
Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
[EMAIL PROTECTED]
(614) 213-6100
"N
47 matches
Mail list logo