Re: URGENT About undocumented DB2 JDBC error ...
Hello Ali, Try this http://www.idug.org/ It's International DB2 User Group. I did not use DB2 for the last year, but I remember you can get the explanation of any error number from HTML help provided with DB2 Good luck! Regards, Ahmed Aboul-Enein -Original Message- From: Ali ASLAN [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 10:34 AM To: [EMAIL PROTECTED] Subject: URGENT About undocumented DB2 JDBC error ... > > > Hi, > > > > My platform is SunOs 5.8 > > App Server is : IBM WebSphere 3.5 > > DBMS is : IBM DB2 UDB ver 7.1 > > > > when I connect to DBMS I take some really strange undocumented error > such as, > > > > [IBM] [JDBC driver] CLI0647E Error handling DB2 environment rc=db2jdbc. > > > > Can Anyone ,who see this message, help me? > > > > Thanks in advance, > > > > Ali ASLAN > > > > > > > > > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP Vs Servlet
Also have a look @ http://java.sun.com/products/jsp/jsp_developer.html Regards, Ahmed Aboul-Enein Software Engineer Lucent Software Center in Egypt, Wireless Network Group, Lucent Technologies Inc., 1 Road 204, Salah Salem Square, Degla, Maadi 11435, Cairo, Egypt e-mail: [EMAIL PROTECTED] Say what you do and do what you say! -Original Message- From: Christian Cryder [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 6:55 AM To: [EMAIL PROTECTED] Subject: Re: JSP Vs Servlet I'd say the real difference is philosophical. In plain jane servlets, you often end up embedding HTML in your Java, which makes it very difficult to design and maintain the markup portions of an app. With JSP, you can better design your page, but you often end up embedding Java inside your HTML. Both plainly leave something to be desired. What is really needed is a better way to separate code (Java) from content (*ML) so that your designers can design and your developers can develop. This process should be able to go on simultaneously, rather than having the two roles tightly coupled. "Templating" seems to be a common approach to solving this problem, and there are a whole bunch of different solutions. Struts is a JSP centric templating framework; Turbine is a servlet centric approach that uses a template engine like Velocity. I'm working on a project called Barracuda that takes more of a Component/DOM centric approach to the problem, where templates are compiled into java DOM objects using a tool called XMLC, and those objects can be manipulated using a component model (like in Swing). Ultimately you have to decide which approach is best suited for your particular needs. There's a (somewhat dated) document summarizing a lot of the different approaches at http://barracuda.enhydra.org/Barracuda/docs/landscape.html Christian Christian Cryder [EMAIL PROTECTED] Barracuda - Open-source MVC Component Framework for Webapps http://barracuda.enhydra.org "What a great time to be a Geek" > > -Original Message- > > From: Ganesh MohanRao [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, April 11, 2001 3:54 PM > > To: [EMAIL PROTECTED] > > Subject: JSP Vs Servlet > > > > > > Hi All, > > > > I have a basic doubt. I would like to know in what way "Servlet" is > > advantageous over "JSP". > > > > I feel I can do everything in "JSP" that can be done in Servlet. > > > > Is there anything which can't be done by JSP and can be done > > by Servlet? > > > > > > Thank you > > > > Ganesh > > > > == > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: > > "signoff JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set > > JSP-INTEREST DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/
Re: Running dos native commands from java application...
Hello, cmd did not work for me, I'm using win98. I could not find any file with this name on my hard disk. It could be dependent on the windows version, do not worry about this! However the following worked... Runtime rt = Runtime.getRuntime(); rt.exec("c:\\command.com /c dir > c:\\abc.txt"); Do u know how to run more than one command with one call to command.com? Because if I called exec() for each, the JVM would create a new process for each command. The batch file could be an alternative if we cannot supply more than one command to command.com. Regards, Ahmed Aboul-Enein Software Engineer Lucent Software Center in Egypt, Wireless Network Group, Lucent Technologies Inc., 1 Road 204, Salah Salem Square, Degla, Maadi 11435, Cairo, Egypt e-mail: [EMAIL PROTECTED] Say what you do and do what you say! -Original Message- From: Zeng, Feng_Hua (CAP,CEF) [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 10:56 AM To: [EMAIL PROTECTED] Subject: Re: Running dos native commands from java application... Try the following: Runtime rt = Runtime.getRuntime(); rt.exec("cmd /c dir > abc.xyz"); and then check if a file named abc.xyz has been generated. Romantic Emotionalists Must Endure Ordeals. Email1(200103): [EMAIL PROTECTED] Email2(200011): [EMAIL PROTECTED] Email3(199908): [EMAIL PROTECTED] Email4(199906): [EMAIL PROTECTED] Office: Tokyo, Japan http://www.gecapital.com Home: Dalian, Liaoning, China (Hometown: Hunan) -Original Message- From: Padmakar Neelapareddy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 3:29 PM To: [EMAIL PROTECTED] Subject: Running dos native commands from java application... Dear All, I need to execute DOS native commnads such as "dir","copy","copy x.txt > prn"...etc from inside a java application. I tried them using following code Runtime rt = Runtime.getRuntime(); rt.exec("dir"); rt.exec("copy x.txt > prn"); But I got following exception java.io.IOException: CreateProcess: dir error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Unknown Source) at java.lang.Runtime.execInternal(Native Method) Can any one help me regarding this please ? I want it urgently...! Waiting for your valuable replies Rgds padmakar neelapareddy The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Running dos native commands from java application...
Hello, I'm not 100% sure of what I'm saying as I'm not a DOS guru! The DOS commands that can run from a JVM in separate processes should be a stand alone application. Meaning .com or .exe "binary" .bat also works. I believe this is not the case for dir, and copy as they are only, I'm not sure, built-in DOS commands that are interepreted from a DOS shell and cannot run alone as a process or application. The DOS shell is itself the process. For the DOS commands that are applications, see the director \windows\command For example edit.com, xcopy.exe will work. Runtime rt = Runtime.getRuntime(); rt.exec("c:\\windows\\command\\Edit.com"); As a work arround for your needs, I suggest you create a batch file that contains the DOS commands you need to execute, and run this batch file from your Java code. Runtime rt = Runtime.getRuntime(); rt.exec("c:\\test.bat"); test.bat contains the DOS commands. This solution worked with me! Regards, Ahmed Aboul-Enein Software Engineer Lucent Software Center in Egypt, Wireless Network Group, Lucent Technologies Inc., 1 Road 204, Salah Salem Square, Degla, Maadi 11435, Cairo, Egypt e-mail: [EMAIL PROTECTED] Say what you do and do what you say! -Original Message- From: Padmakar Neelapareddy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 8:29 AM To: [EMAIL PROTECTED] Subject: Running dos native commands from java application... Dear All, I need to execute DOS native commnads such as "dir","copy","copy x.txt > prn"...etc from inside a java application. I tried them using following code Runtime rt = Runtime.getRuntime(); rt.exec("dir"); rt.exec("copy x.txt > prn"); But I got following exception java.io.IOException: CreateProcess: dir error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Unknown Source) at java.lang.Runtime.execInternal(Native Method) Can any one help me regarding this please ? I want it urgently...! Waiting for your valuable replies Rgds padmakar neelapareddy The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets