RE: Database backed forms

2004-03-19 Thread Brendan Richards
? -Original Message- From: Melonie Brown [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 18:30 To: [EMAIL PROTECTED] Subject: Database backed forms I have written a very rough website page content management system using Struts and OJB. (The goal being to allow end users to modify content without

RE: Database backed forms

2004-03-19 Thread Brendan Richards
properties are populated from the backend model. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 10:41 To: Struts Users Mailing List Subject: Re: Database backed forms If there's talk of having action forms populated by themselves then I wouldn't

Re: Database backed forms

2004-03-19 Thread Mark Lowe
with addFormPropertyConfig. That sounds like a realistic starting point... Anyone else have any ideas suggestions or corrections? -Original Message- From: Melonie Brown [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 18:30 To: [EMAIL PROTECTED] Subject: Database backed forms I have written a very rough website

Re: Database backed forms

2004-03-19 Thread Mark Lowe
DynaValidatorActionForm to provide a reset() implementation. If required, the actionForm's properties are populated from the backend model. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 10:41 To: Struts Users Mailing List Subject: Re: Database backed forms If there's

RE: Database backed forms

2004-03-19 Thread Brendan Richards
the Action form and displays. Then to save, have a 'submitEdit' action. Sounds like a much better way of going about it... Thanks. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How

Re: Database backed forms

2004-03-19 Thread Mark Lowe
. Sounds like a much better way of going about it... Thanks. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How would you suggest implementing view/edit functionality without pre

RE: Database backed forms

2004-03-19 Thread Wendy Smoak
, you read from the database and prepopulate the form. I've never gotten the idea that prepopulating forms is frowned upon, unless you mean doing it *in* the ActionForm. Dynamic forms (or generating the ActionForm code) keep you out of all sorts of trouble-- there's nowhere to write the code

Re: Database backed forms

2004-03-19 Thread as as
:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How would you suggest implementing view/edit functionality without pre-populating action forms? prepopulating is exactly what i would do, just in an action not in the action form

RE: Database backed forms

2004-03-19 Thread Brendan Richards
that. Don't worry - I've realised the error of my ways and am moving my code into actions where it belongs =) -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 14:58 To: Struts Users Mailing List Subject: RE: Database backed forms From: Brendan Richards

How to configure a DataBase in tomcat 5.0

2004-03-18 Thread asd
i have tired in triralwith configuring my database resource in tomcat 5.0.it also return the same err ,even if iworkedaccording as manual in www.apache.org ,step by step. the patch accompany with this letter is my server.xml ,which located in %CATALINA_HOME%\conf), strutsTest.xml

Database backed forms

2004-03-18 Thread Melonie Brown
on the fly. I would like to store all of the form components and validation in the database as well, but I'm not sure how to represent that in Struts (since there's no ValidatorActionDatabaseForm). I would appreciate any advice, tips/techniques, or gotchas that you guys could provide

Re: Database backed forms

2004-03-18 Thread Nick Heudecker
, but now they want to be able to create forms on the fly. I would like to store all of the form components and validation in the database as well, but I'm not sure how to represent that in Struts (since there's no ValidatorActionDatabaseForm). I would appreciate any advice, tips/techniques

RE: [OT] Database password

2004-03-18 Thread Benz Lim
, Benz Lim -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 8:16 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Database password Why not put the file in area that is accessible only to the right users and have the app server run under

RE: [OT] Database password

2004-03-12 Thread Paul McCulloch
' Subject: RE: [OT] Database password Users cant access this file, but the file can be accessed by people that is not from Information Security area (Seguridad Informática). The password shouldnt be known neither by the application deployer, nor the system administrator, but only

[OT] Database password

2004-03-11 Thread Guillermo Meyer
Hi: Our Struts application is currently in production. This applciation uses an Oracle Database (we are using DBCP from jakarta). We access this database through url, user a password and we need to hide the production database password. The password is stored in a configuration file

Re: [OT] Database password

2004-03-11 Thread Lucas Gonzalez
, March 11, 2004 3:49 PM Subject: [OT] Database password Hi: Our Struts application is currently in production. This applciation uses an Oracle Database (we are using DBCP from jakarta). We access this database through url, user a password and we need to hide the production database password

RE: [OT] Database password

2004-03-11 Thread Wendy Smoak
From: Guillermo Meyer [mailto:[EMAIL PROTECTED] How are your Java Applications get connected to production databases and how is the database password protected? I make no claims of best practices. My Factory class that produces (non-JDBC) connections to my database reads a .properties file

RE: [OT] Database password

2004-03-11 Thread Guillermo Meyer
- From: Lucas Gonzalez [mailto:[EMAIL PROTECTED] Sent: Jueves, 11 de Marzo de 2004 03:56 p.m. To: Struts Users Mailing List Subject: Re: [OT] Database password If the problem is the user accesing the plain text file by typing the URL in the browser... a better solution would be to tell apache

Re: [OT] Database password

2004-03-11 Thread Lucas Gonzalez
: Guillermo Meyer [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 3:59 PM Subject: RE: [OT] Database password Users cant access this file, but the file can be accessed by people that is not from Information Security area (Seguridad Informática

Re: [OT] Database password

2004-03-11 Thread Niall Pemberton
I have to say I think putting it in the source code is the worst possible option. If for security reasons (say one of your developers leaves unhappily!) you need to change your database password, I don't think you want to have to change your java source, compile and re-deploy your app in order

Re: [OT] Database password

2004-03-11 Thread Vic Cekvenich
it in the source code is the worst possible option. If for security reasons (say one of your developers leaves unhappily!) you need to change your database password, I don't think you want to have to change your java source, compile and re-deploy your app in order to achieve this. Its got to be better to have

Re: [OT] Database password

2004-03-11 Thread Daniel Henrique Alves Lima
Guillermo Meyer wrote: Hi: Our Struts application is currently in production. This applciation uses an Oracle Database (we are using DBCP from jakarta). We access this database through url, user a password and we need to hide the production database password. The password is stored in a configuration

RE: [OT] Database locking and deadlock

2004-03-09 Thread Balakrishnan, Vijay
] Database locking and deadlock Vic, Yes, I do get a deadly embrace or deadlock, as the row locks on the table multiply when they occur, holding up connections in the connection pool, eventually consuming all connections, and then all hell breaks loose. Were you referring to synchronizing

RE: [OT] Database locking and deadlock

2004-03-09 Thread Shyam A
order.So, there is no question of cyclic issue. The issue here is concurrent users may update the same rows of the concerned table, and at some point, the database cannot handle the updates, depending on the number of users. Do you think using a stored procedure for the transaction will help

Re: [OT] Database locking and deadlock

2004-03-09 Thread Paul Thomas
On 08/03/2004 21:31 Shyam A wrote: [snip] Is there a possibilty of a deadlock occuring in the above code when there are mutliple users concurrently accessing the system.i.e, multiple users update multiple rows of the table at the same time I can't see anything in your update that might cause

Re: [OT] Database locking and deadlock

2004-03-09 Thread Duncan Mills
: Hi, I know the subject of my mail is off-topic but I hope somebody will be able to help me out with my problem. I experienced a wierd problem today when a deadlock occured in my database - Oracle 9i, and it locked up all connections in the connection pool on my server - OC4J (Oracle 9iAS). I have

Re: [OT] Database locking and deadlock

2004-03-09 Thread Shyam A
problem. I experienced a wierd problem today when a deadlock occured in my database - Oracle 9i, and it locked up all connections in the connection pool on my server - OC4J (Oracle 9iAS). I have a connection pool, which is configured on my server- OC4J. It is intialized on server startup

[OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Hi, I know the subject of my mail is off-topic but I hope somebody will be able to help me out with my problem. I experienced a wierd problem today when a deadlock occured in my database - Oracle 9i, and it locked up all connections in the connection pool on my server - OC4J (Oracle 9iAS). I

RE: [OT] Database locking and deadlock

2004-03-08 Thread Robert Taylor
PROTECTED] Subject: [OT] Database locking and deadlock Hi, I know the subject of my mail is off-topic but I hope somebody will be able to help me out with my problem. I experienced a wierd problem today when a deadlock occured in my database - Oracle 9i, and it locked up all connections

RE: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
connection each time which could possibly use up (exceed max allowed) the connections in the pool. Just a guess. robert -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:32 PM To: [EMAIL PROTECTED] Subject: [OT] Database locking

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:32 PM To: [EMAIL PROTECTED] Subject: [OT] Database locking and deadlock Hi, I know the subject of my mail is off-topic but I hope somebody will be able to help me out with my problem. I experienced a wierd problem today when

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:32 PM To: [EMAIL PROTECTED] Subject: [OT] Database locking and deadlock Hi, I know the subject of my mail is off-topic but I hope somebody will be able to help me out with my problem. I

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Is there a way you can reproduce this w/ iSQL command line? I assume Sybase, since you said row-level. My guess is that it's not the sql, but your DAO logic somehow. It would take you only a day or so to switch that one update to http://www.reumann.net/do/struts/ibatisLesson1 .V Shyam A wrote:

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Vic, Thanks again. I'm not in a position to switch to IBatis as my application is currently in use. Right now, I'm manually killing the user sessions which lock up the table in the database. My database is Oracle 9i, and this problem seems to occur only with large numbers of concurrent users

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Do you have a deadly embrace? Maybe just syncronise w/ semaphorse or the like. .V Shyam A wrote: Vic, Thanks again. I'm not in a position to switch to IBatis as my application is currently in use. Right now, I'm manually killing the user sessions which lock up the table in the database. My

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
that the Oracle database is supposed to handle deadlocks by rolling back one of the affected transactions. But the row locks seem to occur intermittently, possibly when there are large numbers of concurrent users. I cannot avoid the transaction as the database updates have to be done as one unit

Pointbase Database No Longer Available for download

2004-03-03 Thread A.White
After following advice from members of this list as to how is best to learn Struts etc I was pointed to the Java Web Services Tutorial. In the tutorial it says to use the Pointbase database. I visited their website and filled in my contact details expecting to be able to download the file

RE: Pointbase Database No Longer Available for download

2004-03-03 Thread A.White
By get around, I mean use something like MySQL etc Cheers A -Original Message- From: White A Sent: 03 March 2004 09:21 To: [EMAIL PROTECTED] Subject: Pointbase Database No Longer Available for download After following advice from members of this list as to how is best to learn Struts

RE: Pointbase Database No Longer Available for download

2004-03-03 Thread Henri Yandell
something like MySQL etc Cheers A -Original Message- From: White A Sent: 03 March 2004 09:21 To: [EMAIL PROTECTED] Subject: Pointbase Database No Longer Available for download After following advice from members of this list as to how is best to learn Struts etc I was pointed

Problem in using DataSource with Informix9.x Database..?

2004-02-12 Thread Vishal Arora
Hi, I m using Tomcat5.0 and Struts1.1 and Informix 9.x as database When i m trying to use DataSource of org.apache.commons.dbcp.BasicDataSource in my struts application it gives error .I have mentioned in struts-config file also abt sdatasource like username,password,drivername

Dynamic generation of forms out of a config table in a database

2004-02-11 Thread Stockhammer Thomas
Hi all, In my application i want to generate dynamic forms, that means the number of controls placed on the forms depends on the entries in a config-tabel of a database. That means I can add a textbox to a database by adding a record to the config-table. Additionally i can show different forms

Re: Dynamic generation of forms out of a config table in a database

2004-02-11 Thread Oliver Thiel
. Hope that helps you a bit ... Oliver Hi all, In my application i want to generate dynamic forms, that means the number of controls placed on the forms depends on the entries in a config-tabel of a database. That means I can add a textbox to a database by adding a record to the config

Re: Dynamic generation of forms out of a config table in a database

2004-02-11 Thread Adam Hardy
it going? (plz mail me off-list at adam.hardy at cyberspaceroad.com) On 02/11/2004 12:48 PM Stockhammer Thomas wrote: Hi all, In my application i want to generate dynamic forms, that means the number of controls placed on the forms depends on the entries in a config-tabel of a database. That means I

RE: Using Validator To Avoid Database Trip

2004-02-04 Thread Richard Yee
: Wednesday, February 04, 2004 12:03 AM To: 'Slattery, Tim - BLS'; 'Struts Users Mailing List' Subject: RE: Using Validator To Avoid Database Trip Things like Hibernate (ORM layer) might do some of these tricks for you. I think it only updates what has been changed and if you use caching, you

Using Validator To Avoid Database Trip

2004-02-03 Thread Duggal, Sanjay
Hi All, I have an Edit Existing Record screen. When the user clicks the Save button on this screen, I'm supposed to store the changed data in the database. However there may be a situation where the user leaves the data unchanged still presses the Save button. In this case, I want to avoid

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Slattery, Tim - BLS
I have an Edit Existing Record screen. When the user clicks the Save button on this screen, I'm supposed to store the changed data in the database. However there may be a situation where the user leaves the data unchanged still presses the Save button. In this case, I want to avoid

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Dhaliwal, Pritpal (HQP)
, February 03, 2004 7:12 AM To: 'Struts Users Mailing List' Subject: RE: Using Validator To Avoid Database Trip I have an Edit Existing Record screen. When the user clicks the Save button on this screen, I'm supposed to store the changed data in the database. However there may be a situation

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Duggal, Sanjay
Validator. Sanjay -Original Message- From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 12:03 AM To: 'Slattery, Tim - BLS'; 'Struts Users Mailing List' Subject: RE: Using Validator To Avoid Database Trip Things like Hibernate (ORM layer) might do

RE: Using database tables for resource bundles

2004-02-02 Thread Johan Wasserman - CPX Mngd Services
Regarding using a database to provide resource bundles; James Mitchell developed a nifty extention called 'OJBMessageResources' that uses OJB and there where talk of a new version using Hibernate... quote I'm also about to release another implementation that uses Hibernate for those who don't

Re: Using database tables for resource bundles

2004-02-02 Thread James Mitchell
: [EMAIL PROTECTED] - Original Message - From: Johan Wasserman - CPX Mngd Services [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:21 AM Subject: RE: Using database tables for resource bundles Regarding using a database to provide

Re: Database pool full.

2004-01-15 Thread virupaksha
Cooper [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:04 PM Subject: Re: Database pool full. We were using the Oracle connection pool implementation, and it is a configurable item on there. There is no config file, so we used a method call

Problem accessing database and html:options

2004-01-15 Thread Christian Froemel
Hello, I am a newbie with Struts and JSP-Programming. I want to program the following: I want to access a database (oracle) and want to get the results (i.e. firstname and lastname). I connect to the database with JDBC-Calls within the execute-method in the Action-Class ( or should I use

RE: Problem accessing database and html:options

2004-01-15 Thread Richard Hightower
: Christian Froemel [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 3:34 AM To: [EMAIL PROTECTED] Subject: Problem accessing database and html:options Hello, I am a newbie with Struts and JSP-Programming. I want to program the following: I want to access a database (oracle) and want to get

Re: Database pool full.

2004-01-14 Thread Max Cooper
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 9:02 PM Subject: Re: Database pool full. Dear Max, Yah, this problem occures after visiting some pages, to use #1 strategy, whether I need to do any changes in configuration or is there any other way? Thanks

Re: Database pool full.

2004-01-14 Thread Raphaël di Cicco
I'm backing up what Max said about having a leak somewhere. We used to have a lot of problems with pooling. We have about 50 database utility beans that get a connection, perform action on the database then release the connection. We discovered that the leak came from one single method that didn't

Database pool full.

2004-01-13 Thread virupaksha
Dear All, I am developing an application on resin-2.1.9 web server. Connection to MYSQL Database is using JNDI. JNDI connection code is written in a class called DBService. I am instantiating DBService class where ever i need database connection and getting connection using getConnection

Re: Database pool full.

2004-01-13 Thread Max Cooper
run out of connections in the database itself, so it can start to act like strategy #2. This is one aspect of connection pooling that important to consider when developing web apps. But, it seems likely that you have leaks somewhere. Some of your requests are probably not returning their connections

Re: Database pool full.

2004-01-13 Thread virupaksha
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:30 PM Subject: Re: Database pool full. My guess is that you have a connection leak somewhere. Does this problem start occurring immediately, or does it only show up after visiting a number of pages in the site

determining the database driver in actions

2003-12-23 Thread Claire Wall
hi, is there a way to find out the database driver that is being used in my struts action classes? the reason for wanting to be able to do this is that i would like to structure my class so that, depending upon the driver being used (or alternatively, type of DataSource) i could either write

RE: determining the database driver in actions

2003-12-23 Thread Ebersole, Steven
connection.getMetadata().getDriverName()... -Original Message- From: Claire Wall [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 10:14 AM To: Struts Users Mailing List Subject: determining the database driver in actions hi, is there a way to find out the database driver

Re: determining the database driver in actions

2003-12-23 Thread Claire Wall
cheers Steven! - Original Message - From: Ebersole, Steven [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 4:17 PM Subject: RE: determining the database driver in actions connection.getMetadata().getDriverName()... -Original

RE: determining the database driver in actions

2003-12-23 Thread Ebersole, Steven
PROTECTED] Sent: Tuesday, December 23, 2003 10:28 AM To: Struts Users Mailing List Subject: Re: determining the database driver in actions cheers Steven! - Original Message - From: Ebersole, Steven [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003

Re: determining the database driver in actions

2003-12-23 Thread Ed Dowgiallo
List [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 11:29 AM Subject: RE: determining the database driver in actions NP. A word of caution... If you are using a container datasource, most of them wrap the underlying jdbc connections in their own connection implementations. Just an FYI

RE: Getting images from Interbase database

2003-12-16 Thread Remke Rutgers
time. You should really use a different mechanism to achieve this. Take a look at DBCP (database connection pooling), one of the jakarta-commons components (http://jakarta.apache.org/commons/dbcp/). There is one other thing that can go wrong in your code: You call response.setContentLength(len

Getting images from Interbase database

2003-12-15 Thread Janusz Dziado
Hi all! I am using Struts from about half a year, and it works good. I have small webapp using Interbase database by Interclient driver. When I wanted to use only text data from queries all was fine and simply, even when single jpegs from blob fields. But now I must display some images on one

Database with struts

2003-12-04 Thread Divya B Sridhar
Hi all, I am trying to do a database connectivity using struts. Actually, the database resides on another machine and I have tomcat running on my local machine. The other machine is a linux box(a linux machine) which has the database installed(PostgreSQL). So, apart from the data-sources tags

Re: Database with struts

2003-12-04 Thread Gurpreet Dhanoa
hi You have to Configure DataSource and then u can get the refernce of the same it in the ACtion and can use it Regards gary - Original Message - From: Divya B Sridhar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 7:03 PM Subject: Database with struts Hi

Re: Database with struts

2003-12-04 Thread Markus
Hi, follow this link: http://sourceforge.net/projects/struts/ Regards, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Database with struts

2003-12-04 Thread Ramachandiran, Karuna
Divya-, This link gives you what you exactly need http://jakarta.apache.org/struts/faqs/database.html Thanks R.Karuna -Original Message- From: Divya B Sridhar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 8:33 AM To: [EMAIL PROTECTED] Subject: Database

Re: Database with struts

2003-12-04 Thread Vic Cekvenich
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 7:03 PM Subject: Database with struts Hi all, I am trying to do a database connectivity using struts. Actually, the database resides on another machine and I have tomcat running on my local machine. The other machine is a linux

Re: Database with struts

2003-12-04 Thread virupaksha
] To: [EMAIL PROTECTED] Sent: Friday, December 05, 2003 4:24 AM Subject: Re: Database with struts I disagree. DataSource should not be used, you should use a DAO, for example iBatis.com. .V Gurpreet Dhanoa wrote: hi You have to Configure DataSource and then u can get the refernce of the same

Database

2003-12-03 Thread Dynamic Systems
Another problem. I've setup a database connection in the struts-config.xml. Is the data-sources position correct? I'm getting the following error: Cannot find ActionMappings or ActionFormBeans collection Take a look at the file: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config

Re: Database

2003-12-03 Thread Martin Cooper
Dynamic Systems [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Another problem. I've setup a database connection in the struts-config.xml. Is the data-sources position correct? No. http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd -- Martin Cooper I'm getting

[OT] Need Free database

2003-11-25 Thread Agashivala, Vishal
Hi All, Can any buddy suggest me Database which is free and has JDBC driver. If possible get me the URL. Regards, Vishal Agashivala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Need Free database

2003-11-25 Thread Gurpreet Dhanoa
hi Try to Use postgreSQL. it is a free based database and can be downloaded easily from http://www.postgresql.org Regards Gary - Original Message - From: Agashivala, Vishal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 5:34 PM

Re: [OT] Need Free database

2003-11-25 Thread SCOTT VENTER
snip it is a free based database /snip Its on crack??? [EMAIL PROTECTED] 11/25/03 02:35PM hi Try to Use postgreSQL. it is a free based database and can be downloaded easily from http://www.postgresql.org Regards Gary - Original Message - From: Agashivala, Vishal [EMAIL

RE: [OT] Need Free database

2003-11-25 Thread Ramachandiran, Karuna
Hey u can use HSQL which is totall free -Original Message- From: Agashivala, Vishal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:04 AM To: Struts Users Mailing List Subject: [OT] Need Free database Hi All, Can any buddy suggest me Database which is free and has JDBC

Re: [OT] Need Free database

2003-11-25 Thread Phil Shrimpton
On Tuesday 25 November 2003 14:38, Ramachandiran, Karuna wrote: Hi, Can any buddy suggest me Database which is free and has JDBC driver. If possible get me the URL. www.firebirdsql.org Phil - To unsubscribe, e-mail: [EMAIL

Re: [OT] Need Free database

2003-11-25 Thread Jeff Kyser
do a little homework, buddy. that's a bogus question that is hardly excused by an [OT] prefix. -jeff On Tuesday, November 25, 2003, at 06:04 AM, Agashivala, Vishal wrote: Hi All, Can any buddy suggest me Database which is free and has JDBC driver. If possible get me the URL. Regards, Vishal

RE: [OT] Need Free database

2003-11-25 Thread J Janesko
www.postgres.org -- PostgreSQL. Free. Has a JDBC driver. Have used this before with Struts. Works well. www.mysql.com -- MySQL. Nice free database. I have used it with only PHP, but I did read that it does have a JDBC driver. Regards, Jenn --- Ramachandiran, Karuna [EMAIL PROTECTED

Re: [OT] Need Free database

2003-11-25 Thread Brice Ruth
Agreed Jeff Kyser wrote: do a little homework, buddy. that's a bogus question that is hardly excused by an [OT] prefix. -jeff On Tuesday, November 25, 2003, at 06:04 AM, Agashivala, Vishal wrote: Hi All, Can any buddy suggest me Database which is free and has JDBC driver. If possible get me

Re: [OT] Need Free database

2003-11-25 Thread Ted Husted
me Database which is free and has JDBC driver. If possible get me the URL. Regards, Vishal Agashivala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [OT] Need Free database

2003-11-25 Thread dharmendra.sharan
! -Original Message- From: J Janesko [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 12:54 PM To: Struts Users Mailing List Subject: RE: [OT] Need Free database www.postgres.org -- PostgreSQL. Free. Has a JDBC driver. Have used this before with Struts. Works well. www.mysql.com -- MySQL

Re: [OT] Need Free database

2003-11-25 Thread Christian Bollmeyer
more or less looked for for a rather long time. Something our Oracle wizards marvel about because thats the first time they can really stretch out their capabilities without breaking the OO layer contracts. Think I would miss it now. Ah, the database. Well, it's the backbone of all things

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Wendy Smoak
I have a Database servlet configured in web.xml, which intialises a connection pool on Server startup. However, if the data source is unavailable, I get a Null Pointer exception on my JSPs, which is propagated from my Data Access class. IMO, the problem is that you're accessing the database

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Shyam A
Wendy, Thanks for your mail. I don't know if you fully understood where I'm coming from! As I said, the database connection is accessed from a Data Access class (read model), which is called from my DispatchAction class. Since the exception is not caught in my DispatchAction class (the methods

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Yee, Richard K,,DMDCWEST
Shyam, Where in your JSP does the NullPointerException occur? Is it in a method call in a scriptlet? If so, your JSP is still indirectly accessing the database. What Wendy suggested was that the the database access class be invoked from your DisplactAction class and the results be put

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Hubert Rabago
understood where I'm coming from! As I said, the database connection is accessed from a Data Access class (read model), which is called from my DispatchAction class. Since the exception is not caught in my DispatchAction class (the methods throw Since the connection is being accessed from

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Jimmy Emmanual
3:22 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Handling database connection exceptions Shyam, Where in your JSP does the NullPointerException occur? Is it in a method call in a scriptlet? If so, your JSP is still indirectly accessing the database. What Wendy suggested

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Shyam A
Richard, Thanks for your mail. I am pretty sure I don't access the database in my JSP's. I also use the errorPage attribute for all my JSP's, however, it does not handle Null Pointer exceptions that occur due to problems with database connection. Given below is the Exception trace...it occurs

[OT] Handling database connection exceptions

2003-11-17 Thread Yee, Richard K,,DMDCWEST
Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:53 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: [OT] Handling database connection exceptions Richard, Thanks for your mail. I am pretty sure I don't access the database in my JSP's. I

Re: [OT] Handling database connection exceptions

2003-11-17 Thread Vic Cekvenich
Jim, action's execute throws exception; this exposes the container to deceleertively do this, if you declare an error page in web.xml. .V Jimmy Emmanual wrote: Why don't you throw the exception from the Data Access class and catch it in DispatchAction and if there is an exception then forward

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Yee, Richard K,,DMDCWEST
pages to handle this the condition where your data access layer can't connect to a database. http://jakarta.apache.org/struts/userGuide/building_controller.html#exceptio n_handler -Richard -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Monday, November 17

RE: [OT] Handling database connection exceptions

2003-11-17 Thread Shyam A
suggested and define an exception handler for your DatabaseUnavailableException instead of catching it in the perform() method. This would enable all of your pages to handle this the condition where your data access layer can't connect to a database. http://jakarta.apache.org/struts/userGuide

Struts/Websphere 4.0.1/Session Database Issues

2003-11-10 Thread Pacheco, Brent
months or so, and just upgraded my application from Struts 1.1 Beta to the Struts 1.1 Release. I'm deploying my Struts application to WebSphere 4.0.1 on an OS390 mainframe. I'm using the GenericDataSource classes in the Struts-Legacy-1.0.jar file to connect to a DB2 database, which also resides

Database Tomcat/Struts

2003-10-28 Thread Mathieu Grimault
For those who are in the same newbies problems like me, i found an answer here : http://www.jguru.com/forums/view.jsp?EID=1120573 I was having Cannot load JDBC Drivers 'null' when i was getting a connection on my database (getConnection()). Thx all.

Downloading a file from a database

2003-10-27 Thread Nicholson, Robb
each one to either view or delete the file. When the user goes to view a file, I retrieve the file from the Oracle database and send it to a servlet that sets it's content type appropriately and then streams the file to the response writer. This works great when it is a file type that the browser

Re: Downloading a file from a database

2003-10-27 Thread Manish Singla
Set following header to set name of attached file. response.setHeader(Content-Disposition,attachment; filename=\ + fileName + \); My two cents: Do you really want to connect to database and strean file from database. You may store temp file and check the date of temp file with database

Re: Downloading a file from a database

2003-10-27 Thread Mark Lowe
, with links beside each one to either view or delete the file. When the user goes to view a file, I retrieve the file from the Oracle database and send it to a servlet that sets it's content type appropriately and then streams the file to the response writer. This works great when it is a file type

RE: Downloading a file from a database

2003-10-27 Thread Nicholson, Robb
Message- From: Manish Singla [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 5:38 PM To: Struts Users Mailing List Subject: Re: Downloading a file from a database Set following header to set name of attached file. response.setHeader(Content-Disposition,attachment; filename

  1   2   3   4   5   6   >