Re: JDBC Driver, Context & DataSource lookup

2005-08-16 Thread Hugo
Class.forName() greetings, Hugo - Original Message - From: "Zumba" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 5:22 PM Subject: JDBC Driver, Context & DataSource lookup > I'm trying to connect to mysql database using InitialContext and > Dat

Re: connection pooling

2004-09-21 Thread Hugo Pragt
Or check out JBoss's connection pooling www.sf.net Hugo - Original Message - From: "RimZim Sinha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 21, 2004 10:38 AM Subject: connection pooling Does any have connection pooling

Re: Secure static files?

2004-02-25 Thread Hugo Pragt
My two cents: First of all make a filter on your webserver which limits access to those resources You could store the html text as CLOB in your database. That would add a barriere between the user and the html If that is not secure enough: the big databases support encrypted store of LOB's

JSP debugging in eclipse

2004-02-24 Thread Hugo Pragt
Anyone got JSP debugging in eclipse and external JBoss working? I'd like to be able to step through the JSP code line for line and set breakpoints. I can do this with other elements like EJB's but not with JSP's Regards, Hugo P.s. I have JBoss 3.2.3 and start it using EASIEJ

Re: Java / MySQL Question

2004-02-11 Thread Hugo Pragt
Yes it would require a continuous key sequence. If you're going to use the resultset, I would set the prefetch size as small as possible. stmt.setFetchSize(1); rs.absolute(random(1-nr.getSize()); (http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/getstart/resultset.html#1012 735)

Re: Java / MySQL Question

2004-02-11 Thread Hugo Pragt
Well, if you have an autonumber primary key, you could get the largest existing value and generate a random key with the class Random in JBoss Then retrieve the 1random recoord from the random key. Hugo - Original Message - From: "Jack Lauman" <[EMAIL PROTECTED]> To: &

Fw: Singleton Object.

2003-09-17 Thread Hugo Pragt
You even get a warning when > you try to create a second singleton. > > Hugo > > > > - Original Message - > From: "Erik Beijnoff" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 17, 2003 8:33 AM > Subject: Re:

Re: JSP Loading Screen

2003-09-05 Thread Hugo Pragt
Cool, thanks! Hugo - Original Message - From: "Dmitry Namiot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 11:25 AM Subject: Re: JSP Loading Screen > See for example Wait taglib from Coldtags suite: > http://

Re: No action instance for path /register could be created

2003-01-10 Thread Hugo Pragt
Hi, You probably had som replies already but here are my 2 cents: You have to tell the webserver that it has to map the path "/register" to the jsp "register.jsp" You can do this in web.xml of the server. May the source be with you, Hugo - Original Message - From:

Re: Security exception when using Prefences

2002-12-16 Thread Hugo Pragt
I assume you have sufficent rights (as a user) to write to the registry? Hugo > Hi everybody, > > I'm using the Sun ONE App Server 7 and I'm trying to use Preferences, to > write information to the Win2K Server registry, but I get a > java.security.AccessControlException

Re: jsp editor

2002-11-22 Thread Hugo Pragt
I could also mention Eclipse of course! http://www.eclipse.org/ Personally I think that IDEA would have a hard time keeping up with those guys :) Hugo - Original Message - From: "Robert S. Sfeir" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22

avoiding null pointer exceptions for Vectors in jsp files

2002-10-31 Thread hugo
sp file is always giving the error. Is there a way of avoiding the error coming up when any given Vector contains a null value? That would cut down on the errors for the jsp pages tremendously. Thanks Hugo -- Dr Hugo Bouckaert Systems and Programming Engineer GeoInformatics Exploration Austra

convert \n to in jsp print statement

2002-10-27 Thread hugo
is? Any help will be greatly appreciated. Thanks Hugo -- Dr Hugo Bouckaert Systems and Programming Engineer GeoInformatics Exploration Australia P/L 57 Havelock St West Perth, WA 6005 PO Box 1675, West Perth 6872 Ph: 61 08 9420 7400 Fax: 61 08 9226 1299

obtaining date and time in suitable format for MySQL

2002-10-17 Thread hugo
ing this? Any help will be greatly appreciated. Thanks Hugo -- Dr Hugo Bouckaert Systems and Programming Engineer GeoInformatics Exploration Australia P/L 57 Havelock St West Perth, WA 6005 PO Box 1675, West Perth 6872 Ph: 61 08 9420 7400 Fax: 6

Re: MultipartParser (oreilly file upload package) does not work twice

2002-10-14 Thread hugo
files are uploaded, the second time the files are simply written over the old ones without any ".1" or ".2" extending the new filenames. In the examples given by oreilly there is no reference to that renaming procedure either. Do you have a code example on how to make that work?

MultipartParser (oreilly file upload package) does not work twice

2002-10-14 Thread hugo
name: " + name); if (part.isFile()) { FilePart fileP = (FilePart) part; String fileN = fileP.getFileName(); out.println("filename: " + fileN); if (fileN != null) { long size = fileP.writeTo(dir); }

non-static method cannot be referenced from static context error

2002-10-02 Thread hugo
ing wrong? After I rename the file, I would still like do download it (using the new filename) to /var/www/projects_data/. I think I have to use a method from the oreilly package named FilePart.writeTo(). Would anyone be able to give me a hint on how to use this? Any help, especially code examples, w

problem using MultipartParser and MultipartRequest together

2002-10-02 Thread hugo
Check later on. Complex problem, I know, but I am sort of hoping someone can set me back on the right path, as at this stage I am really lost as how to proceed. Any help, particularly code examples will be greatly appreciated. Thanks very much. Hugo *** Here is the bean: package com.geoinforme

using FileRenamePolicy from com.oreilly.servlet.multipart

2002-09-30 Thread hugo
eparate class which implements FileRenamePolicy? But surely there must be a simpler way to do this? Would someone be able to provide me with a code example where FileRenamePolicy is used to rename a file, then write the file (under ts new name) away to the destination location? Thanks Hugo --

error using MultipartRequest: content type isn't multipart/form-data

2002-09-27 Thread hugo
meter("mydoc")); But this gives me the above error. What am I doing wrong? Would anyone be able to tell me why I get the error? Perhaps I am not using MultipartRequest right? If so, could you someone me a simple code example on how to use MultipartRequest in a jsp? Any help will be

file upload from web page, download to new location using jsp?

2002-09-26 Thread hugo
very much. Hugo -- Dr Hugo Bouckaert Systems and Programming Engineer GeoInformatics Exploration Australia P/L 57 Havelock St West Perth, WA 6005 PO Box 1675, West Perth 6872 Ph: 61 08 9420 7400 Fax: 61 08 9226 1299 www.geoinforme

Re: newbie question

2002-09-04 Thread Hugo Pragt
http://username:[EMAIL PROTECTED] may work depends if the receiving site actually uses these values. Hugo - Original Message - From: "Kesavanarayanan, Ramesh (Cognizant)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 12:11 PM Su

Re: Toolkit... getDefaultToolkit()...HEADACHE

2002-09-04 Thread Hugo Pragt
But since the 'import java.awt.*' can be resolved I don't know if this is going to help you? Hugo > hello.. does anyone know why i get a 'NoClassDefFoundError' exception > whenever this line is included in my code? (i'm using bea's weblogic app > server)

Re: Monitoring Tomcat.

2002-08-30 Thread Hugo Pragt
Maybe this is a too simple solution, but isn't it easier to check how much threads the JVM is using? Seems to me that the rest is calculatable from that. Hugo > Uhhhm. > As far i know, Jprobe is for use at development time. I search somethink to > monitor Tomcat servers

Re: Configuring & Running JSP application

2002-07-03 Thread Victor Hugo García
HELP   MSN Photos is the easiest way to share and print your photos: Click Here === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest:

jsp with or without j2ee

2001-09-10 Thread hugo
p and servlets, then using the ejb jar package). Are there other options I should consider, given I would like to go with java for server-side scripts on a linux platform, using Apache as the webserver? Thanks Hugo -- Dr Hugo Bouckaert R&D Support Engineer, Fractal Graphics 57 Havelock Str

Re: tomcat with apache??

2001-09-03 Thread hugo
me know? Thanks very much. Hugo Here is my server.xml file

Re: tomcat with apache??

2001-09-03 Thread hugo
cat/conf/tomcat-apache.conf" I still get the same error whenever I want to access a .jsp file. Any further suggestions? Thanks Hugo John Thomas wrote: > > Hi, > > I think the problem u face is in this line. > Include "tomcat/conf/tomcat-apache.conf" > > u

tomcat with apache??

2001-09-03 Thread hugo
help or advice will be most appreciated. Thanks Hugo *** Here is the tomcat-apache.conf file: LoadModule jserv_module modules/ApacheModuleJServ.dll ApJServManual on ApJServDefaultProtocol ajpv12 ApJServSecretKey DISABLED ApJServMountCopy on ApJServLogLevel notice ApJServDefaultPort 8007 ApJ

Re: JSP Development tools

1999-11-16 Thread [Hugo A. Garcia]
netbeans is an ide that has a servlet/JSP development module. the beta is free but please use jdk1.3 to run it. http://www.netbeans.com/ -H berry <[EMAIL PROTECTED]> on 11/16/99 12:14:33 PM Please respond to berry <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: