passing form field to an xml document

2005-03-07 Thread Shahata, Ash
Hi there, I have a problem where I will need to create a form which will have about 300 fields(!!) and I want to pass these paramters to an xml document rather than just to the query string. Does anyone have any example code of how to pass parameters from a form to an xml file? Thanks

Re: passing form field to an xml document

2005-03-07 Thread Shahata, Ash
document You post is not very clear. Do u want to serialize the form fields to an XML document? Where is this XML doc - in memory/database/file system? Give us more details pls. Cheers Emmanuel - Original Message - From: Shahata, Ash [EMAIL PROTECTED] To: JSP-INTEREST@JAVA.SUN.COM Sent

logout when using frames

2004-11-23 Thread Shahata, Ash
Hi all, I'm developing a jsp application using frames, and trying to do a logout, but everytime I logout it goes into the middle frame! Does anyone know of a way where I can get it to go the login jsp page, and not load it within the middle frame? Thanks

Breaking large files into smaller ones

2004-08-10 Thread Shahata, Ash
Hi there, I have a large file generated from my legacy system which I want o break down into smaller one before being passed to my SAP system... does anyone have any sample code that I can use? I'm after a logic that counts the number of lines, and ever 200 lines it creates a smaller file.

Re: Breaking large files into smaller ones

2004-08-10 Thread Shahata, Ash
); e.printStackTrace(); } } } - Original Message - From: Shahata, Ash [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 1:09 PM Subject: Breaking large files into smaller ones Hi there, I have a large file generated from my legacy system which I want o break down

Deploying jdbc driver for oracle

2004-01-27 Thread Shahata, Ash
Hi all, I'm using JBoss 3.0 and tomcat to run my jsp, and I want to connect to Oracle, so I copied the oracle driver(classes12) to the dir \server\default\lib\ext while JBoss is running hoping that it will be picked up by the automatic class loader but it didn't!! I can read in the JBoss doc that

Increasing the heap size for Tomcat

2003-12-16 Thread Shahata, Ash
Hi all, Can someone please direct me if there is a way to increase the heap size for my Tomcat server? I'm running out of memory, and was wondering if there is a way to increase the heap. I'm using Tomcat 4. Thanks === To

thread dump for the java process

2003-08-05 Thread Shahata, Ash
Hi all, My Jboss application keeps hanging from time to time, and I want to do a thread dump on the java process to investigate the cause... I do this by doing a kill -11 on the first java process, however I don't seem to be able to locate the thread dump! I looked in the jboss logs and tomcat,

Re: How to upload image file from client to server using servlet

2003-03-18 Thread Shahata, Ash
Follow this link, a very useful example from Oreilly.. http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html -Original Message- From: Ha Duy Thien [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 6:52 AM To: [EMAIL PROTECTED] Subject: How to upload image file from client to

JDBC connection time

2003-03-17 Thread Shahata, Ash
Hi all - I'm experiencing delays in my in my jdbc connections, and I just wanted to inquire if anyone knows of any shareware tool that could do this for me, or if anyone knows of a programmatic way to measure the time it takes for a query to execute and retrieve data? Thanks

preparedStatement

2003-02-26 Thread Shahata, Ash
Hi there, I'm getting stuck with the following procedure using prepared statements.. it works just fine if I use a normal statement. I need to pass a prepared statement because I need to pass a valriable to the query. It does not return any records! Statement stmt = con1.createStatement();

Re: preparedStatement

2003-02-26 Thread Shahata, Ash
- From: Shahata, Ash [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 5:50 PM To: [EMAIL PROTECTED] Subject: preparedStatement Hi there, I'm getting stuck with the following procedure using prepared statements.. it works just fine if I use a normal statement. I need to pass

Re: preparedStatement

2003-02-26 Thread Shahata, Ash
about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Shahata, Ash Skickat: den 26 februari 2003 12:09 Till: [EMAIL PROTECTED] Ämne: Re: preparedStatement I think I figured it out where the problem is, it'a not from the code that I sent it's to do with the rs.next! However I

Re: preparedStatement

2003-02-26 Thread Shahata, Ash
: Abdul jeelani [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:51 PM To: [EMAIL PROTECTED] Subject: Re: preparedStatement u r right. You cannot loop thru' resultsets more than once. Regards, Abdul - Original Message - From: Shahata, Ash [EMAIL PROTECTED] To: [EMAIL

Re: preparedStatement

2003-02-26 Thread Shahata, Ash
: Shahata, Ash [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 5:32 PM To: [EMAIL PROTECTED] Subject: Re: preparedStatement I tried the result settings mentioned, however I'm still getting the same result :( I'm using the JConnect jdbc driver to connect to sybase -Original Message

accessing multiple databases from the same jsp

2003-02-21 Thread Shahata, Ash
Hi all, I have data held in two remote databases, and I want to write a jsp page that will return only the records that occur or repeated in the two databases(tables). So, could I create two connections to two different databases from the same page? If yes would I be able to run a query that will

Re: accessing multiple databases from the same jsp

2003-02-21 Thread Shahata, Ash
I'm using Tomcat and I want to connect to Sybase and MS2000... when you say db1@dblink, is db1 the name of the connection? and what would dblink refer to? Thanks and waitng to hear from you -Original Message- From: Jaime Marcondes [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21,

Re: accessing multiple databases from the same jsp

2003-02-21 Thread Shahata, Ash
where did you declare prod1 and prod2? did u create two different getConnection for them? Thanks -Original Message- From: Jaime Marcondes [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 5:51 PM To: [EMAIL PROTECTED] Subject: Re: accessing multiple databases from the same jsp

Threat Level 3 - Jakarta Tomcat Multiple Vulnerabilities

2003-02-04 Thread Shahata, Ash
Hi all, we have just received notification about the above vulnerabiltiy in Tomcat releases prior to 3.3.1a.. my question is, is there a way to upgrade my 3.2.3 to this 3.3.1a, or do I need to re install ? Did anyone apply this 3.3.1a !? Thanks -- Ash

Re: TOO MANY OPEN FILES ERROR

2002-11-27 Thread Shahata, Ash
Im having a similar problem but on HP unix, do you have any idea what is the equivalant of the lsof tool on HP Unix? I searched the sys for this command but I couldnt find a match! Thanks -Original Message- From: G.Nagarajan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002

Re: TOO MANY OPEN FILES ERROR

2002-11-27 Thread Shahata, Ash
if you dont get a binary. http://searchhp.techtarget.com/tip/1,289483,sid6_gci493522,00.html?FromTaxon omy=%2Fpr%2F6f9 Thanks, Nagarajan. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Shahata, Ash

Re: jsp editor

2002-11-22 Thread Shahata, Ash
you can try Edit Plus.. go to any search engine and type Edit Plus, its a shareware -Original Message- From: sri sri [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 1:28 PM To: [EMAIL PROTECTED] Subject: jsp editor Hi, I am new to the world of JSP. Presently I am using

List box and database tables

2002-11-12 Thread Shahata, Ash
Hi all - I have a form that includes a list box, and I want to populate the list box from my database table, is there a way to do this? any code snippets/examples? I also want to populate the rest of the text boxes from the table fileds, as the user chooses a specific name from the list box. For

Re: List box and database tables

2002-11-12 Thread Shahata, Ash
Thanks Carklin... any idea where can I get the jstl tag library from? -Original Message- From: Joel Carklin [mailto:jc;GAMBIT.CO.ZA] Sent: Tuesday, November 12, 2002 8:20 AM To: [EMAIL PROTECTED] Subject: Re: List box and database tables I would use the jstl iterator tags as in

getRealPath

2002-11-12 Thread Shahata, Ash
Hi all - I want to write a file to the context dir where Im running my jsp file, and I'm using getRealPath : String tfilepath = application.getRealPath(/)+tcustid+tsep+tordernumber+.xml; this will write the file in the same dir as the jsp file, however I want the file to be written in a

Re: getRealPath

2002-11-12 Thread Shahata, Ash
- From: Shahata, Ash [mailto:Ashraf_Shahata;STERCOMM.COM] Sent: Wednesday, November 13, 2002 12:18 AM To: [EMAIL PROTECTED] Subject: getRealPath Hi all - I want to write a file to the context dir where Im running my jsp file, and I'm using getRealPath : String tfilepath

Thread dumps with weblogic

2002-10-28 Thread Shahata, Ash
Hi all, I have an application running on weblogic 6.1 and I'm getting exceptions with running out of memory, so I wanted to get a thread dump for the JVM, and I used kill -3, however I cant find the javacore file that should be created! Does anyone know where would the thread dump file get created

Re: Thread dumps with weblogic

2002-10-28 Thread Shahata, Ash
permission to /usr/bin, IMHO the core will not be created even if the process will be killed, so you have (the right to kill it). (at least works in this way on redhat linux). Regards, Ionel C. - Original Message - From: Shahata, Ash [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October

Re: java.io.IOException: Not enough space

2002-10-25 Thread Shahata, Ash
: java.io.IOException: Not enough space Have you checked the user configurable parameters in the unix kernel. A max size might be set against either a user or process. -Original Message- From: Shahata, Ash [mailto:Ashraf_Shahata;STERCOMM.COM] Sent: 24 October 2002 15:23 To: [EMAIL PROTECTED

java.io.IOException: Not enough space

2002-10-24 Thread Shahata, Ash
Hi there - I got the java.io.IOException: Not enough space exception while running on weblogic: Compilation of '/usr/si/wlserver1_61_sp2/wlserver6.1/config/wldomain1/applications/.wlnotde lete/wlap32965/WEB-INF/_tmp_war_myserver_myserver_ws/jsp_servlet/_jsp/__bpdg etdocument.java' failed: _

Jboss + Tomcat

2002-10-14 Thread Shahata, Ash
Hi all - I'm starting to do some work with Jboss and EJBs, and I downloaded the latest version which contains Tomcat integrated, and Im confused about two things.. first, when I use the run script under Jboss, does this start Tomcat as well automatically, does both Jboss and Tomcat run under the

Re: Jboss + Tomcat

2002-10-14 Thread Shahata, Ash
Ghosh Project Leader LearningMate A division of Educomp Datamatics Limited #16, 80 Feet Road, IV Block, Koramangala, Bangalore 560034 India Voice: 91-80-5501051/52/53/55 Ext: 118 Fax : 91-80-5501051/52/53/55 [EMAIL PROTECTED] www.learningmate.com - Original Message - From: Shahata, Ash [EMAIL

Tomcat on Linux

2002-10-10 Thread Shahata, Ash
Hi all, I want to let Tomcat to start up automatically whenever redhat is restarted, where would I place my startup scripts, or how can I do it? I heared about the rc.d dir but not sure how to do it? Thanks === To

Re: Tomcat on Linux

2002-10-10 Thread Shahata, Ash
executes all the scripts that are in the folder /etc/rc.d/rcN.d, where N is the number of the level. Than the rc.local is executed. You may put your stuff there if you don't # want to do the full Sys V style init stuff. Regards, Ionel CONDOR. - Original Message - From: Shahata, Ash [EMAIL

jsp editor

2002-10-10 Thread Shahata, Ash
Does anyone know of a freeware/opensource jsp editor? Anything that allow drag drop for controls, etc.. Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL

Loan verification examples

2002-10-08 Thread Shahata, Ash
Hi all I'm in the process of creating a loan approval application and I'm stuck at a point which I hope someone can help me with... I want users to fill in a form(jsp) and then I want each request to be passed to a manager for approval.. designing the form is not a problem, getting the logic of

starting Tomcat as a windows service

2002-10-07 Thread Shahata, Ash
Hi all, I was looking through the archies for ways to start Tomcat 4 as a windows service... I have it installed with my application running already, and I was if there is a way to make Tomcat start as a service, without the need to re install? Does anyone know of a way to make Tomcat start as a

Re: starting Tomcat as a windows service

2002-10-07 Thread Shahata, Ash
, October 07, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: Re: starting Tomcat as a windows service -Original Message- From: Shahata, Ash [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 12:32 AM To: [EMAIL PROTECTED] Subject: starting Tomcat as a windows service Hi all, I

Re: starting Tomcat as a windows service

2002-10-07 Thread Shahata, Ash
Message- From: Shahata, Ash [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 12:32 AM To: [EMAIL PROTECTED] Subject: starting Tomcat as a windows service Hi all, I was looking through the archies for ways to start Tomcat 4 as a windows service... I have it installed with my

Loan verification examples

2002-10-07 Thread Shahata, Ash
Hi all - I'm just about to start developing an application that goes through a loan approval workflow, and was wondering if anyone has come across any open source example that covers something similar? I'm particularly interested in the logic required for handling the approval process. Thanks

Re: the Microsoft jdbc driver

2002-10-02 Thread Shahata, Ash
list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]En nombre de Shahata, Ash Enviado el: miércoles, 02 de octubre de 2002 14:54 Para: [EMAIL PROTECTED] Asunto: the Microsoft jdbc driver Hi all - I've downloaded the microsoft free jdbc driver for MS SQL Server

jdbc url for mySql

2002-09-30 Thread Shahata, Ash
Hi all - Im using mySql for development and I downloaded the MySQL Connector J driver, however Im getting stuck with the jdbc url syntax.. The application is running on Win, do I need to create a DSN for mySQL? Thanks ===

Re: jdbc url for mySql

2002-09-30 Thread Shahata, Ash
it. Luis. - Original Message - From: Shahata, Ash [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 30, 2002 10:24 AM Subject: Re: jdbc url for mySql I keep getting an error message telling me that the driver is not in the classpath, although I placed the zip file, mysql

how to stop the directoey listing on Tomcat

2002-09-30 Thread Shahata, Ash
Hi all - I'm using Tomcat and I was wondering if anyone knows how to switch off the directory listings? I mean when you first hitting the context, is index.html the only option? Thanks === To unsubscribe: mailto [EMAIL

jboss 3.0 + tomcat 4

2002-09-27 Thread Shahata, Ash
Hi there, I've just installed jboss3.0 + tomcat 4 on red hat 7.1, and I ran the ./run.sh script, however I dont know what is the default port to check if it started properly or not? Which config would I check to find about the default port for jboss? My other question is, does Tomcat start

Thread dumps

2002-09-19 Thread Shahata, Ash
Hi all, does anyone know how to generate a thead dump from my virtual machine? I read before that I could do it from the virtual machine, however I'm not quite sure where to get the virtual machine window or process open from? I want to monitor the threads to check for deadlocks. Thanks Ash

Re: Thread dumps

2002-09-19 Thread Shahata, Ash
your complex overwhelming tasks into small manageable tasks, and then starting on the first one. --Mark Twain -Original Message- From: Shahata, Ash [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 2:15 PM To: [EMAIL PROTECTED] Subject: Thread dumps Hi all, does anyone know

Getting the status of installed EJBs

2002-09-18 Thread Shahata, Ash
Hi there - I'm looking for a way to retrieve the current state of my EJBs on the application server(web logic). I'm particularly interested in retrieving problems or errors. Is there a way to do this programmatically? Any code samples or guides will be great. Thanks

Re: deploying EJBs on jboss

2002-08-13 Thread Shahata, Ash
any problem. Thanks Reyas Shahata, Ash wrote: Hi all, I'm trying to access my deployed ejb on jboss from tomcat 4.. I'm running a jsp client to link to my ejb ...I know that the jndi.jar should be kept at the WEB-INF\lib dir, however I couldn't find it under jboss\client! Is this normal

error when starting Tomcat

2002-08-12 Thread Shahata, Ash
Hi all, I've just installed tomcat on Linux Suse and I received this error when starting/shutting down: java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:org/xml/sax/HandlerBase I've setup java_home, catalina_home, and catalina_base... any idea what is this

jdbc url for sqlServer

2002-07-23 Thread Shahata, Ash
Hi all, does anyone know what would the jdbc url value be if I'm using Microsoft Sql Server? I want to use opta2000 as the jdbc driver. I already have a connection with mySQL : try{ Class.forName(org.gjt.mm.mysql.Driver).newInstance(); con =

Re: jdbc url for sqlServer

2002-07-23 Thread Shahata, Ash
- Original Message - From: Aruniima Chakrabarti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 23, 2002 2:19 PM Subject: Re: jdbc url for sqlServer Jdbc url for MS SQL Server jdbc:odbc:DSNname ... Regards, aruniima -Original Message- From: Shahata, Ash

new to jboss

2002-07-12 Thread Shahata, Ash
Hi all - I'm a Tomcat user and I've just downloaded jboss inorder to use it as an EJB container, however I'm confused as where would my application(jsp) go and where would I keep my EJBs? I downloaded the jboss+tomcat integrated binary, but I noticed that I will need to change the Tomcat startup