Re: How can i send a Fax through my JSP Page !
Hi, Its available at java.sun.com just check the site below http://java.sun.com/products/javacomm/ Regards Jitesh - Original Message - From: Bhuvaneswari Palanivel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 10, 2000 12:45 PM Subject: How can i send a Fax through my JSP Page ! Hi, For my project, one of the functionality is we need to send a fax through Email from my JSP. I searched in java.sun.com site. But i am not able to find any material. Please suggest some API or tool which will do this OR Please refer some URL where i can get some info regarding this. Thanks, Bhuvana === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Urgent: sorting japanese - off topic
Problem resolved Thanx -Original Message- From: Chandhan Rangarajan Sent: Friday, 10 November 2000 4:14 PM To: [EMAIL PROTECTED] Subject:Urgent: sorting japanese - off topic Hi Can somebody tell me if there is any java API that can help me sort Japanese words... Pls reply asap Thanks Chandhan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Problem with Tomcat 3.2beta
Can you check that upper/lowercase in your URL is the same as in your file systems ... Christian -- Christian Mallwitz INTERSHOP Communications Germany Senior Software Engineerphone: +49 3641 894 334 -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 07:28 To: [EMAIL PROTECTED] Subject: Problem with Tomcat 3.2beta Hi - I am using Tomcat 3.2 beta with JDK1.3 on a NT4.0 workstation. Loading a trivial JSP file causes the exception given below. What is causing this error? Thanks, Rk java.lang.NullPointerException at java.io.File.(File.java:185) at org.apache.jasper.compiler.JspCompiler.isOutDated(JspCompiler.java:307 ) at org.apache.jasper.compiler.JspCompiler.(JspCompiler.java:99) at org.apache.jasper.JspEngineContext.createCompiler(JspEngineContext.jav a:317) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:450) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:1 46) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:424) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary (JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServ let.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:30 9) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:38 7) at org.apache.tomcat.core.Handler.service(Handler.java:263) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.j ava:786) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection (HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:4 07) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java: 498) at java.lang.Thread.run(Thread.java:479) --- S Ramakrishnan, Cisco Systems Inc., San Jose, Ca === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: Best JSP Tool
Hello Mr. Mio Nino P. Marquez, Thanks a lot for such a helpful information but can you please tell me whether it is possible to get an evaluation version of JBuilder 4. I checked a few days ago and evaluation version of JBuilder 3.5 was available. Also what do you think regarding one feature of JBuilder, integration with other tools. I unerstand JBuilder is a full fulledge server side development product on its own. But what if I am developing my bussiness logic in Visual Age and would like to develop presentation and web layer in JBuilder. I will be waiting for your reply. Best Regards, Khurram ABN AMRO Global IT Systems Mio Nino Marquez [EMAIL PROTECTED] on 11/06/2000 07:11:31 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Khurram Sardar/PK/ABNAMRO/NL) Subject: Re: Best JSP Tool Khurram, We went to the product launch of JBuilder 4 recently and was really impressed with it. The JBuilder 4 Enterprise edition allows you to do Servlet / JSP debugging... this includes stepping through codes, modify variable values etc. It's expensive though. vbg But you can have the Pro albeit without JSP / Servlet debugging capabilities. g For other stuffs, you may want to check this out: JSP for Code Jockeys http://www.zdnet.com/products/stories/reviews/0,4161,2639151,00.html Mio Nino P. Marquez Senior Analyst Programmer Apsilon Technologies Pte Ltd Email: [EMAIL PROTECTED] DID : (65) 6613219 - Original Message - From: "Khurram Sardar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 3:00 PM Subject: Best JSP Tool Hello Everyone, Does any one know that which one is the best JSP tool other than notepad. AS per my knowledge Tools like JBuilder are really good at it. Please share your knowledge of JSP tools with me also if anyone know about some web site giving benchmarks on comparisons of JSP tools. I think it will be helful to all of us and solve many of tool dependent problems. Waiting for your interest Khurram Junior System Analyst Programmer _ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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 _ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Tomcat 3.2beta6: largeFile init parameter
Hi, I read about the largeFile init parameter and set it to true in my conf/web.xml file. but the static HTML is still in the class file. The FAQ says: "If the file is really large then all the static html is stored is a separate data file if the value of this param is set to true." How large is large and can I modify that value? Thanks Christian -- Christian Mallwitz INTERSHOP Communications Germany Senior Software Engineerphone: +49 3641 894 334 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: Best JSP Tool
ColdFusion Studio (Version 4.5.1) provides a good editor for developing JSP pages. I have not worked on it much but I am sure it does provide a better GUI. The latest version of ColdFusion viz. CF 4.5.1 has the feature to run JSP tags and run it on any webserver maybe JRUN,etc. I hope this mail does help you out as I am quite new to this mailing list. Srikanth.R Logica - OSS Bangalore , India. -Original Message- From: Khurram Sardar To: [EMAIL PROTECTED] Sent: 11/10/00 11:27 AM Subject: Re: Best JSP Tool IBM WebSphere Studio provides support to develop JSP pages. But ain't really good at it. It has a lot of wizards but not really good GUI (An essential need of a developer). Sherry Hu [EMAIL PROTECTED] on 11/09/2000 10:08:54 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Khurram Sardar/PK/ABNAMRO/NL) Subject: Re: Best JSP Tool Hi, Has anybody used IBM WebSphere to create JSP? According to the product introduction, I think it might be something like Symantec Visual Cafe, but not sure. Can someone help me out here? Thanks. Sherry --- Alan KF LAU [EMAIL PROTECTED] wrote: Very informative(Score: 5) and very helpful. Thanks a lot. It's worth checking out the free version of IBM VisualAge. You can run Apache Tomcat within the IDE and debug servlets and JSPs. You can even modify running code. See http://www7.software.ibm.com/vad.nsf/Data/Document2390?OpenDocumentp=1; BCT= 3Footer=1. I wouldn't call it an IDE for JSPs though, as there are no features for HTML designing. I could do with a visual HTML editor that knows JSP. Preferably free. Any ideas? Chris Walker Brainbench MVP for ASP http://www.brainbench.com -Original Message- From: Mio Nino Marquez [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 2:12 PM To: [EMAIL PROTECTED] Subject: Re: Best JSP Tool Khurram, We went to the product launch of JBuilder 4 recently and was really impressed with it. The JBuilder 4 Enterprise edition allows you to do Servlet / JSP debugging... this includes stepping through codes, modify variable values etc. It's expensive though. vbg But you can have the Pro albeit without JSP / Servlet debugging capabilities. g For other stuffs, you may want to check this out: JSP for Code Jockeys http://www.zdnet.com/products/stories/reviews/0,4161,2639151,00.html Mio Nino P. Marquez Senior Analyst Programmer Apsilon Technologies Pte Ltd Email: [EMAIL PROTECTED] DID : (65) 6613219 - Original Message - From: "Khurram Sardar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 3:00 PM Subject: Best JSP Tool Hello Everyone, Does any one know that which one is the best JSP tool other than notepad. AS per my knowledge Tools like JBuilder are really good at it. Please share your knowledge of JSP tools with me also if anyone know about some web site giving benchmarks on comparisons of JSP tools. I think it will be helful to all of us and solve many of tool dependent problems. Waiting for your interest Khurram Junior System Analyst Programmer __ ___ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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". 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
Re: Best JSP Tool
since 2 days ago, JBuilder 4 is available for download. we can download the Foundation edition. unfortunately, I tried to get the activation key and this function is not available now. Bye Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/989045 [EMAIL PROTECTED] --- http://www.delfi.it === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: bean initialization lock
Hello Primoz, Actually, the code you wrote should work. What JSP engine are you using? Dani's code might do the trick. If that still doesn't work, you might want to try using a Singleton (see the book Design Patterns by Gamma et al.) to make sure that only one instance of the class is ever created. regards, Manne -Original Message- From: Clemente Dani [mailto:[EMAIL PROTECTED]] Sent: 10 November 2000 08:24 To: [EMAIL PROTECTED] Subject: Re: bean initialization lock Hi, it should be working, shouldn't it?. Try putting your init() reference into you bean constructor method. Bye, Dani - Mensaje Original - De: Primo=BE Hrvatin [EMAIL PROTECTED] Fecha: Jueves, Noviembre 9, 2000 3:18 pm Asunto: bean initialization lock Hi! Is it possible to prevent other JSP pages from initializing multiple instances of an application scoped bean? I'm using gnujsp 1.0.1 on apache1.3.14/Jserv 1.1.2. I have this code in various JSP pages, which I want to be executed onlyonce in whichever page that is loaded first: jsp:useBean id="abc" scope="application" class="" % abc.init(application); % /jsp:useBean init() method has synchronized access, so it should be impossible for multiple bean instances to get initialized. The init() method starts a thread which writes to the servlet context log. Yet, I get multiple thread instances if the JspServlet is initialized with multiple client requests,i.e. heavy load. Help very much appreciated! Primoz === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 Consigue tu cuenta gratuita de acceso a internet y de correo en http://www.navegalia.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: SSL
u absolutly right Doug, SSL must be handled by Web Server Greetings MD -- Sent through GMX FreeMail - http://www.gmx.net === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: can i store an ArrayList in Session?
Ginni, My guess is that you're using a version that does not support v 2.2 of the Servlet API. In that case you have to use the deprecated methods putValue(String a, Object b) and getValue(String a) instead (not a long-term solution, though). This problem should be added to the faq, if it's not there already. It pops up on this list once a day or so. :-) /Regards, Manne -Original Message- From: Antonio W. Lagnada [mailto:[EMAIL PROTECTED]] Sent: 10 November 2000 00:16 To: [EMAIL PROTECTED] Subject: Re: can i store an ArrayList in Session? That's strange -- setAttribute should be able to take in any object. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. Ginni [EMAIL PROTECTED] wrote: hi everybody! i m trying to store an ArrayList in session ..here is the code %@ page language="java" import="java.util.*"% %@ page errorPage="errorpage.jsp" % % String [] values; ArrayList al = new ArrayList(); values = request.getParameterValues("product"); for (int i=0;ivalues.length;i++){ al.add(values[i]); } session.setAttribute ("SelectedProducts", al); % it gives me the following error Method setAttribute(java.lang.String, java.util.ArrayList) not found in interface javax.servlet.http.HttpSession. what do i do? thanks for your time, :-) Have a great Day! -Ginni === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, all in one place - sign up today at http://www.zdnetonebox.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: can i store an ArrayList in Session?
hi everybody We are working on a project which u can call as application hosting. basically we have some programmes written in the our site(In ASP) where user enters the some input , that input is processed by ASP result is given to user. Now what we want to achieve is that we have some method by which other portal show these application on theier site. but results should be processed by our site only.(To protect Intelectual property) could anyone help us achieve this by suggesting an architect for this -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Satyabrata Dash Sent: Friday, November 10, 2000 11:30 AM To: [EMAIL PROTECTED] Subject: Re: can i store an ArrayList in Session? setAttribute is defined in servlet API 2.2. you might be using an older version. so check your version. Rgds Satya -Original Message- From: Antonio W. Lagnada [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 4:46 AM To: [EMAIL PROTECTED] Subject: Re: can i store an ArrayList in Session? That's strange -- setAttribute should be able to take in any object. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. Ginni [EMAIL PROTECTED] wrote: hi everybody! i m trying to store an ArrayList in session ..here is the code %@ page language="java" import="java.util.*"% %@ page errorPage="errorpage.jsp" % % String [] values; ArrayList al = new ArrayList(); values = request.getParameterValues("product"); for (int i=0;ivalues.length;i++){ al.add(values[i]); } session.setAttribute ("SelectedProducts", al); % it gives me the following error Method setAttribute(java.lang.String, java.util.ArrayList) not found in interface javax.servlet.http.HttpSession. what do i do? thanks for your time, :-) Have a great Day! -Ginni === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, all in one place - sign up today at http://www.zdnetonebox.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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 _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 to retrieve asp session variables
It's a bit of a long shot, but I read an article on http://www.15seconds.com that showed how to call Java classes from ASP. So ASP could pass data to a class that writes to the JSP session. The alternative is to try to find the COM interface to ASP's intrinsic objects, but I'm not even sure how I'd start to do that, as they are ready-instantiated in ASP. ** By the way, this message had the sender's addresss in the Reply-to field. Most list servers use the list address, so the Reply button sends to the list. Is there a reason for this? Chris Walker Brainbench MVP for ASP http://www.brainbench.com -Original Message- From: Lesley Eadie [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 12:09 PM To: [EMAIL PROTECTED] Subject: Jsp to retrieve asp session variables Hi has anyone out there any knowledge of jsp's interfacing with asp's. I'm working on a site which has to share information, such as logins, with another site. The problem is that our site is running jsp servlets ejb and the other site is all asp. How do I get around the sharing problem between the two different implementation techniques. Thanks in advance dee_dee == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Tools in JSP
No one of the things you list is essential on its own. There are several Java IDEs that are good for developing beans and servlets. The ability to debug server code is important here. But the big issue in server development is decoupling the design job from the programming job. My view is that the real need is for a web designer's tool that can make some effort at representing the output of JSP code and custom tags, so that the final appearance of the page can be designed. This is obviously a very difficult thing to do - in many cases it's impossible. Maybe there should be some protocol whereby programs embedded in HTML can tell an editor what the output might look like. Chris Walker Brainbench MVP for ASP http://www.brainbench.com -Original Message- From: Raj [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 11:11 PM To: [EMAIL PROTECTED] Subject: Tools in JSP Hi all, I have been seeing recently lot of mails on JSP tools. Can you please let me know what exactly you are looking for from a JSP tool. 1. Debugger which helps you in identifying errors at the time of translation. 2. Version control Team development 3. Modeling (!?) or Design 4. Costs 5. Light Web Test Server Environment like VisualAge. 6. Multiple colors to identify different tags at source-level. 7. Compatibility with differnt web/ app servers. 8. Formatting of source code 9. Database access support Let me know how these JSP tools really justify these issues. Also which feature of the JSP tool is more important. Thank you Rajan == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Best JSP Tool
JBuilder4 has wonderful support for all aspects of JSP development, and comes with Tomcat straight out of the box. Edward Garson Channel 4 Television Corporation [EMAIL PROTECTED] -Original Message- From: Khurram Sardar [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 5:57 AM To: [EMAIL PROTECTED] Subject: Re: Best JSP Tool IBM WebSphere Studio provides support to develop JSP pages. But ain't really good at it. It has a lot of wizards but not really good GUI (An essential need of a developer). Sherry Hu [EMAIL PROTECTED] on 11/09/2000 10:08:54 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Khurram Sardar/PK/ABNAMRO/NL) Subject: Re: Best JSP Tool Hi, Has anybody used IBM WebSphere to create JSP? According to the product introduction, I think it might be something like Symantec Visual Cafe, but not sure. Can someone help me out here? Thanks. Sherry --- Alan KF LAU [EMAIL PROTECTED] wrote: Very informative(Score: 5) and very helpful. Thanks a lot. It's worth checking out the free version of IBM VisualAge. You can run Apache Tomcat within the IDE and debug servlets and JSPs. You can even modify running code. See http://www7.software.ibm.com/vad.nsf/Data/Document2390?OpenDocumentp=1BC T= 3Footer=1. I wouldn't call it an IDE for JSPs though, as there are no features for HTML designing. I could do with a visual HTML editor that knows JSP. Preferably free. Any ideas? Chris Walker Brainbench MVP for ASP http://www.brainbench.com -Original Message- From: Mio Nino Marquez [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 2:12 PM To: [EMAIL PROTECTED] Subject: Re: Best JSP Tool Khurram, We went to the product launch of JBuilder 4 recently and was really impressed with it. The JBuilder 4 Enterprise edition allows you to do Servlet / JSP debugging... this includes stepping through codes, modify variable values etc. It's expensive though. vbg But you can have the Pro albeit without JSP / Servlet debugging capabilities. g For other stuffs, you may want to check this out: JSP for Code Jockeys http://www.zdnet.com/products/stories/reviews/0,4161,2639151,00.html Mio Nino P. Marquez Senior Analyst Programmer Apsilon Technologies Pte Ltd Email: [EMAIL PROTECTED] DID : (65) 6613219 - Original Message - From: "Khurram Sardar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 3:00 PM Subject: Best JSP Tool Hello Everyone, Does any one know that which one is the best JSP tool other than notepad. AS per my knowledge Tools like JBuilder are really good at it. Please share your knowledge of JSP tools with me also if anyone know about some web site giving benchmarks on comparisons of JSP tools. I think it will be helful to all of us and solve many of tool dependent problems. Waiting for your interest Khurram Junior System Analyst Programmer __ ___ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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". 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
Struts stable enough for a production system?
Hi all: Has anybody used Struts for real development without the whole stuff crashing down every two weeks? Please, dont misinterpret me, I think Struts is a GREAT thing and Im very exited about it, but the 0.5 version stuff is scary at best I mean, we live in a world where most of the time 1.0 versions (and sometimes 2.0 versions) are only over hyped betas. Comments are very welcome Regards J. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: where to learn about JSP based dynamic web applications?
Actually, read up on the new "Java Web Start" initiative on Sun's web site (and in recent trade journals). It is for this type of application, with a sophisticated UI, and the good part is that it doesn't run under a browser but has many of the benefits - i.e. it is automatically updated if any code changes back at the source server, etc. -Original Message- From: Andy Purshottam [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 08, 2000 5:35 PM To: [EMAIL PROTECTED] Subject: Re: where to learn about JSP based dynamic web applications? -Original Message- From: Sicaud Patrice To: [EMAIL PROTECTED] Sent: 11/8/00 9:19 AM Subject: Re: where to learn about JSP based dynamic web applications? Andrew: I am interested in this thread. Can you expand on what you exactly mean? What is not exact about: "things that look and act like windows MVC-based applications, but run in a browser?" I mean GUI applications built with windows, menus, text and direct manipulation graphics, running in a browser with no installation footprint on local machine beyond cookies and browser cache. Examples include the (now defunct) funiture.com room planner and to a less extent, hotmail. Andy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Best JSP Tool - JBuilder 3.5/4.0 and Inprise AppServer
I use JBuilder 3.5 Enterprise Ed. which comes with the Inprise Application Server (IAS). I like the JBuilder IDE and the IAS interface, but give IAS a "B -" grade. IAS with JBuilder 3.5 uses Servlet 2.0 and JSP 0.92 APIs. without providing free upgrades. The "new" IAS that ships with JBuilder 4.0 uses Servlet 2.1 and JSP 1.0 APIs without any means of free upgrades. The FREE J2EE server uses Servlet 2.2 and JSP 1.1 APIs. What difference does this make? If your using a servlet with "RemoteDispatcher" and other newer J2EE commands, IAS won't recognize the method(s) and you WASTE lots of time trying to figure out what the heck is going on. Debugging JSP's using JBuilder/Inprise is a good idea; however, Inprise needs to provide much better server upgrade support before I will consider them for a commercial installation. I would appreciate other people's opinion regarding Application Servers: Tomcat, JRun 3.0, etc. I can't find anything written that contrasts the various servers (high end commercial with EJB/Transaction support versus Tomcat, etc.) I'm using JBuilder with the J2EE server and things work much better. The only issues I have dealt with J2EE server is figuring out how to set the configuration, use the deployment tool and understand the security management features "read/write" access of files handled with its Server.policy file. Documentation for J2EE Server beginners is poor in my opinion. W. Paul Waits |+- || [EMAIL PROTECTED]| || bnamro.com | || | || 11/10/00 03:56 AM | || Please respond to | || JSP-INTEREST | || | |+- ---| | | | To: [EMAIL PROTECTED] | | cc: (bcc: Paul Waits/Enron Communications) | | Subject: Re: Best JSP Tool | ---| Hello Mr. Mio Nino P. Marquez, Thanks a lot for such a helpful information but can you please tell me whether it is possible to get an evaluation version of JBuilder 4. I checked a few days ago and evaluation version of JBuilder 3.5 was available. Also what do you think regarding one feature of JBuilder, integration with other tools. I unerstand JBuilder is a full fulledge server side development product on its own. But what if I am developing my bussiness logic in Visual Age and would like to develop presentation and web layer in JBuilder. I will be waiting for your reply. Best Regards, Khurram ABN AMRO Global IT Systems Mio Nino Marquez [EMAIL PROTECTED] on 11/06/2000 07:11:31 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Khurram Sardar/PK/ABNAMRO/NL) Subject: Re: Best JSP Tool Khurram, We went to the product launch of JBuilder 4 recently and was really impressed with it. The JBuilder 4 Enterprise edition allows you to do Servlet / JSP debugging... this includes stepping through codes, modify variable values etc. It's expensive though. vbg But you can have the Pro albeit without JSP / Servlet debugging capabilities. g For other stuffs, you may want to check this out: JSP for Code Jockeys http://www.zdnet.com/products/stories/reviews/0,4161,2639151,00.html Mio Nino P. Marquez Senior Analyst Programmer Apsilon Technologies Pte Ltd Email: [EMAIL PROTECTED] DID : (65) 6613219 - Original Message - From: "Khurram Sardar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 3:00 PM Subject: Best JSP Tool Hello Everyone, Does any one know that which one is the best JSP tool other than notepad. AS per my knowledge Tools like JBuilder are really good at it. Please share your knowledge of JSP tools with me also if anyone know about some web site giving benchmarks on comparisons of JSP tools. I think it will be helful to all of us and solve many of tool dependent problems. Waiting for your interest Khurram Junior System Analyst Programmer _ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html
Re: Best JSP Tool
Visual Age for Java for itself does not offer a visual JSP editor. The Enterprise Edition (the one we're starting to use) comes bundled with WebSphere Studio, a very capable HTML/JSP editor. You can create JSP's, link them to a servlet, debug, test, etc. An amazing resource hungry program. William J Ortiz EDS E.Solutions/BlueSphere XEEP Buyout Phone: (716) 427-6892 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] e -Original Message- From: Edward Garson [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 8:12 AM To: [EMAIL PROTECTED] Subject: Re: Best JSP Tool JBuilder4 has wonderful support for all aspects of JSP development, and comes with Tomcat straight out of the box. Edward Garson Channel 4 Television Corporation [EMAIL PROTECTED] -Original Message- From: Khurram Sardar [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 5:57 AM To: [EMAIL PROTECTED] Subject: Re: Best JSP Tool IBM WebSphere Studio provides support to develop JSP pages. But ain't really good at it. It has a lot of wizards but not really good GUI (An essential need of a developer). Sherry Hu [EMAIL PROTECTED] on 11/09/2000 10:08:54 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Khurram Sardar/PK/ABNAMRO/NL) Subject: Re: Best JSP Tool Hi, Has anybody used IBM WebSphere to create JSP? According to the product introduction, I think it might be something like Symantec Visual Cafe, but not sure. Can someone help me out here? Thanks. Sherry --- Alan KF LAU [EMAIL PROTECTED] wrote: Very informative(Score: 5) and very helpful. Thanks a lot. It's worth checking out the free version of IBM VisualAge. You can run Apache Tomcat within the IDE and debug servlets and JSPs. You can even modify running code. See http://www7.software.ibm.com/vad.nsf/Data/Document2390?OpenDocumentp=1BC T= 3Footer=1. I wouldn't call it an IDE for JSPs though, as there are no features for HTML designing. I could do with a visual HTML editor that knows JSP. Preferably free. Any ideas? Chris Walker Brainbench MVP for ASP http://www.brainbench.com -Original Message- From: Mio Nino Marquez [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 2:12 PM To: [EMAIL PROTECTED] Subject: Re: Best JSP Tool Khurram, We went to the product launch of JBuilder 4 recently and was really impressed with it. The JBuilder 4 Enterprise edition allows you to do Servlet / JSP debugging... this includes stepping through codes, modify variable values etc. It's expensive though. vbg But you can have the Pro albeit without JSP / Servlet debugging capabilities. g For other stuffs, you may want to check this out: JSP for Code Jockeys http://www.zdnet.com/products/stories/reviews/0,4161,2639151,00.html Mio Nino P. Marquez Senior Analyst Programmer Apsilon Technologies Pte Ltd Email: [EMAIL PROTECTED] DID : (65) 6613219 - Original Message - From: "Khurram Sardar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 3:00 PM Subject: Best JSP Tool Hello Everyone, Does any one know that which one is the best JSP tool other than notepad. AS per my knowledge Tools like JBuilder are really good at it. Please share your knowledge of JSP tools with me also if anyone know about some web site giving benchmarks on comparisons of JSP tools. I think it will be helful to all of us and solve many of tool dependent problems. Waiting for your interest Khurram Junior System Analyst Programmer __ ___ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". Some relevant FAQs on JSP/Servlets can be found at:
Re: How can i send a Fax through my JSP Page !
Bhuvana, Rather than writing code for sending a fax, you should look at a service such as JFax (in the US) that allows you to just send an e-mail to the service site and they fax the contents of the e-mail. Regards, Richard -Original Message- From: Bhuvaneswari Palanivel [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 11:16 PM To: [EMAIL PROTECTED] Subject: How can i send a Fax through my JSP Page ! Hi, For my project, one of the functionality is we need to send a fax through Email from my JSP. I searched in java.sun.com site. But i am not able to find any material. Please suggest some API or tool which will do this OR Please refer some URL where i can get some info regarding this. Thanks, Bhuvana === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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
What kinf of Application Server I should chose?
Hi, There: I was always confused by so many application server. We have Jserver, Tomcat, Iplanet,Jrun, Websphere But How should I chose from all this list? Is there any web compared these AP server? Or Who can tell me some difference between these server? Speed, Load, Cache pool, database pool.. Thanks Alex __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: What kinf of Application Server I should chose?
check out http://www.theserverside.com Shireesh Thanneru On Fri, 10 Nov 2000, Alex zhang wrote: Hi, There: I was always confused by so many application server. We have Jserver, Tomcat, Iplanet,Jrun, Websphere But How should I chose from all this list? Is there any web compared these AP server? Or Who can tell me some difference between these server? Speed, Load, Cache pool, database pool.. Thanks Alex __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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
JSP ( Runtime access of filenames of images in JSP )
Dear JSP gurus, Pl. solve my following problem: Pl. see the following code for displaying images "1.jpg" , "2.jpg" , "3.jpg" , etc. in subsequent td in the same row: %@ page import = "ImageServlet" % html body %! int imgNo[]; int col; % !-- staticImgNo is a static int array in the servlet ImageServlet -- % imgNo = ImageServlet.staticImgNo ; % tabletr % for ( col = 0 ; col imgNo.length ; col++ ) { % td !-- I wish to display the various images with the for loop. But I know that the following statement in invalid since the JSP tag can't be nested inside an html tag. But I wish to know the alternative method of displaying the various images -- img src = %= "" + intImg[col] + ".jpg" % /td % } % /table /body /html Thanks in anticipation Eagerly waiting for a reply. Sunil K. Roy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: Problem with Tomcat 3.2beta
Yes the cases match (at any rate, its an NT system). The file is under $TOMCAT_HOME\webapps\ROOT and is named A.JSP. The JSP file is trivial: html headtitle Bajji /title/head body p % int x = 5 ; % b% out.println("X = " + x); %/b p /body /html The URL I request is http://localhost:8080/webapps/ROOT/A.JSP Could it be due to JDK version? Does Tomcat3.2beta not work with JDK1.3? Rk - Original Message - From: "Christian Mallwitz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: "'S Ramakrishnan'" [EMAIL PROTECTED] Sent: Friday, November 10, 2000 1:02 AM Subject: RE: Problem with Tomcat 3.2beta Can you check that upper/lowercase in your URL is the same as in your file systems ... Christian -- Christian Mallwitz INTERSHOP Communications Germany Senior Software Engineerphone: +49 3641 894 334 -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 07:28 To: [EMAIL PROTECTED] Subject: Problem with Tomcat 3.2beta Hi - I am using Tomcat 3.2 beta with JDK1.3 on a NT4.0 workstation. Loading a trivial JSP file causes the exception given below. What is causing this error? Thanks, Rk java.lang.NullPointerException at java.io.File.(File.java:185) at org.apache.jasper.compiler.JspCompiler.isOutDated(JspCompiler.java:307 ) at org.apache.jasper.compiler.JspCompiler.(JspCompiler.java:99) at org.apache.jasper.JspEngineContext.createCompiler(JspEngineContext.jav a:317) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:450) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:1 46) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:424) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary (JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServ let.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:30 9) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:38 7) at org.apache.tomcat.core.Handler.service(Handler.java:263) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.j ava:786) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection (HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:4 07) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java: 498) at java.lang.Thread.run(Thread.java:479) --- S Ramakrishnan, Cisco Systems Inc., San Jose, Ca === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: Problem with Tomcat 3.2beta
S Ramakrishnan wrote: Yes the cases match (at any rate, its an NT system). The file is under $TOMCAT_HOME\webapps\ROOT and is named A.JSP. The JSP file is trivial: html headtitle Bajji /title/head body p % int x = 5 ; % b% out.println("X = " + x); %/b A side note, you could use a JSP expression here instead of a scriptlet: b%= "X = " + x %/b p /body /html The URL I request is http://localhost:8080/webapps/ROOT/A.JSP Could it be due to JDK version? Does Tomcat3.2beta not work with JDK1.3? You should get a better error message, but I'm pretty sure the error is caused by the fact that you use upper case ".JSP"; the standard file extension for a JSP file is ".jsp", i.e. in lower case. Change both the file and the URL path and I'm sure it works better. Hans -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
JSP ContextPath is different than that in my Servlet
Hey there. I have a MVC setup..a controller servlet, passes off to action classes, populate a JavaBean then forward to a JSP page. Why is it in the action class, (which is basically a servlet), that the request.getContextPath() returns the proper value..the web-app context, the path etc. But in a JSP page, the same call returns an empty string. I don't understand why, if JSP is turned into a servlet and is invoked the same way..that it would return nothing at all. Thanks. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Java Developer's Guide to Servlets JSP
I was just wondering if anyone had this book, and had any comments on it. Java Developer's Guide to Servlets JSP Trade Paperback, 608 Pages, Sybex, Incorporated, October 2000 ISBN: 0782128092 Author: Brogden, William B. -- Michael Sloan Associate Programmer/JAVA Headway Technology Resources --- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 ( Runtime access of filenames of images in JSP )
that JSP tag inside the HTML tag is totally valid - Original Message - From: "Sunil Roy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 02, 2000 2:10 PM Subject: JSP ( Runtime access of filenames of images in JSP ) Dear JSP gurus, Pl. solve my following problem: Pl. see the following code for displaying images "1.jpg" , "2.jpg" , "3.jpg" , etc. in subsequent td in the same row: %@ page import = "ImageServlet" % html body %! int imgNo[]; int col; % !-- staticImgNo is a static int array in the servlet ImageServlet -- % imgNo = ImageServlet.staticImgNo ; % tabletr % for ( col = 0 ; col imgNo.length ; col++ ) { % td !-- I wish to display the various images with the for loop. But I know that the following statement in invalid since the JSP tag can't be nested inside an html tag. But I wish to know the alternative method of displaying the various images -- img src = %= "" + intImg[col] + ".jpg" % /td % } % /table /body /html Thanks in anticipation Eagerly waiting for a reply. Sunil K. Roy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Tools in JSP
Hi Rajan, For me, I would like to have a tool that let me 1. visually create/design JSP (good GUI, database access buttons...) 2. conveniently modify code (colorful/well formating, preview/test page...) 3. easily debug the code (precise error message, run-time debugging...) 4. virtually manage file/version/bean ,and finally 5. compatibility (web servers, platform, ...) I have used (Symantec) Visual Cafe (database version) for applets before, and I think it is pretty convenient. Is there such tool exiting for JSP? Thanks!! Sherry --- Raj [EMAIL PROTECTED] wrote: Hi all, I have been seeing recently lot of mails on JSP tools. Can you please let me know what exactly you are looking for from a JSP tool. 1. Debugger which helps you in identifying errors at the time of translation. 2. Version control Team development 3. Modeling (!?) or Design 4. Costs 5. Light Web Test Server Environment like VisualAge. 6. Multiple colors to identify different tags at source-level. 7. Compatibility with differnt web/ app servers. 8. Formatting of source code 9. Database access support Let me know how these JSP tools really justify these issues. Also which feature of the JSP tool is more important. Thank you Rajan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Class file of a JSP
Is it possible to see the servlet ( .java) file of a JSP? Where is it stored? ( I am using Tomcat) This is impt. since ,during error , the line no. of the generated servlet is indicated thus it is impossible to know the location of the error. Thanks in advance Sunil K. Roy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
[Off-Topic] pre-1.0 releases (was: Struts stable enough for a production system?)
On Fri, 10 Nov 2000, JavierG wrote: Hi all: Has anybody used Struts for real development without the whole stuff crashing down every two weeks? Please, dont misinterpret me, I think Struts is a GREAT thing and Im very exited about it, but the 0.5 version stuff is scary at best I mean, we live in a world where most of the time 1.0 versions (and sometimes 2.0 versions) are only over hyped betas. Comments are very welcome I would just like to note that version numbers mean rather different things in the open-source world versus the world of commercial software. Software vendors are usually in a rush to get their products to market, so in a first release, you can count on there being some bugs in a version 1 release. By contrast, open-source programmers usually do not get paid, and thus are more likely to be motivated by the prospect of gaining a reputation for producing good software. So most open-source software developers do not claim their software to be a "1.0" version until they are personally satisfied with the product. Many good pieces of software, such as the Enlightenment window manager for Unix systems, are quite stable and functional, but have not been declared to be version 1 or higher because the developers have set higher standards for themselves than the users have. If a piece of open-source software is version 1.0, I have a lot more confidence in it than I do a 1.0 release of a commercial program. -- Cheers, Bob Schmertz === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: Class file of a JSP
Hello Sunil, You can find it in x:\jakarta-tomcat\work\your host + your appname Tuesday, October 03, 2000, 12:50:43 AM, you wrote: SR Is it possible to see the servlet ( .java) file of a JSP? SR Where is it stored? ( I am using Tomcat) SR This is impt. since ,during error , the line no. of the generated servlet is SR indicated thus it is impossible to know the location of the error. SR Thanks in advance SR Sunil K. Roy SR === SR To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". SR Some relevant FAQs on JSP/Servlets can be found at: SR http://java.sun.com/products/jsp/faq.html SR http://www.esperanto.org.nz/jsp/jspfaq.html SR http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP SR http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- Best regards, Olegmailto:[EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
numberformat
OK, so I've been staring at my Nutshell book for a few hours now and the whole NumberFormat class doesn't seem to be getting any less confusing... currently, my price variables come up as 1 digit after the decimal ($8.0 instead of $8.00 for example). I know numberformat can format to currencies, but I can't figure out how to implement it since it can't be instanciated. Anyone know either how to use the class or if there is another way around it? thanks much. -Daniel === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: numberformat
Daniel, In order to obtain an instance of NumberFormat, you make use of the static methods of the class (getNumberInstance, getCurrencyInstance(), or getPercentInstance()). These methods create objects of one of the subclasses and returns it for use. -AMT -Original Message- From: Daniel Lynn [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 4:09 PM To: [EMAIL PROTECTED] Subject: numberformat OK, so I've been staring at my Nutshell book for a few hours now and the whole NumberFormat class doesn't seem to be getting any less confusing... currently, my price variables come up as 1 digit after the decimal ($8.0 instead of $8.00 for example). I know numberformat can format to currencies, but I can't figure out how to implement it since it can't be instanciated. Anyone know either how to use the class or if there is another way around it? thanks much. -Daniel == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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: Best JSP Tool
Macromedia's UltraDev has some slick features. but no debugger. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Khurram Sardar Sent: Friday, November 10, 2000 12:54 AM To: [EMAIL PROTECTED] Subject: Best JSP Tool Hello everyone, Thanks a lot for your interest in this discussion. I especially thank people for giving me references to web reviews of products and web links. It was really helpful but I think still we are not to the point we would like to be. Among us some are working on Oracle side, Cold Fusion side and some people working on IBM tools. But what we all want (I Think) is one tool for JSP no matter what other tools we use for developing other business layer components. It should provide support for the standard JSP features and for intergration of J2EE framework related components. The three possible J2EE schenarios coud be JSP to EIS JSP to EJB (Business Layer) JSP to HTTP Servlets (HTTP Servlets as controllers) So I would really like to know of such tool that can make my life easy for adding web content (HTML content) on the JSP page Visually. Secondly It could provide me with support to code calling my business layer or post forms to HTTP Servlets. Also provide database support. So isn't any such one tool available in the market. I would really like to have an evaluation version for evaluating the product. Answering Rajan's question precisely the following features could be really helpful. 1. Debugger which helps you in identifying errors at the time of development. 2. Version control Team development. 3. Design Web Layer if possible 4. Good JSP/HTML WYSWUG may be Visual Editing Support but little java coding is always required in JSP pages 5. Light Web Test Server Environment for unit testing 6. Multiple colors to identify different tags at source-level. 7. Compatibility with differnt web/ app servers especially loose coupled integration (so that it is not dedicated for any specific Development environment). 8. Formatting of source code 9. Intelli Sense Suuport while editing JSP code (the . or ctrl+space bar like support while editing) I hope sharing our knowledge will help us all at getting on to one product that can help us all a lot. Best Regards, Khurram Raj [EMAIL PROTECTED] on 11/10/2000 04:11:17 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Khurram Sardar/PK/ABNAMRO/NL) Subject: Tools in JSP Hi all, I have been seeing recently lot of mails on JSP tools. Can you please let me know what exactly you are looking for from a JSP tool. 1. Debugger which helps you in identifying errors at the time of translation. 2. Version control Team development 3. Modeling (!?) or Design 4. Costs 5. Light Web Test Server Environment like VisualAge. 6. Multiple colors to identify different tags at source-level. 7. Compatibility with differnt web/ app servers. 8. Formatting of source code 9. Database access support Let me know how these JSP tools really justify these issues. Also which feature of the JSP tool is more important. Thank you Rajan == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 _ Disclaimer: "This message is confidential. It may also be privileged or otherwise protected by legal rules. If you have received it by mistake please let us know by reply and then delete it from your system." == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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
contentType=Application always uses the name of the jsp page (o r action)??
Hi.. We are inacting a "download" feature on our site..where we create some files dynamically, and allow people to download them. First, let me explain how we did it and see if anyone agrees. We have a MVC setup, so all requests go to a single controller servlet, it then calls an action class. That action class calls an EJB (or session/logic class), does the logic to generate a dynamic file (in memory). We then populate a bean with the text, and finally forward to a JSP page. The JSP page is simple: %@ page contentType="application" % jsp:useBean id="beanName" scope="session" class="..." / %= beanName.getText() % So..the question is..how do we use a "decided" name for the dialog that pops up to save the file? Right now, it says Action.do in the file save-as input box. We would like to supply a name ourselves that gets put in there. Thanks. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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: what do i need to run .jsp?
I was always wondering, how does gnujsp stand out of other jsp-containers? if u-r running under Linux, u can use gnujsp, too. http://www.klomp.org The Internet runs on its programmers, and programmers run on coffee!!! Ricky Y. Artigas Analyst/Programmer Software Development - Information Technology Division Easycall Communications Phils., Inc. 418 Arayat Street Mandaluyong City 1550 Philippines Tel.no: (+632) 5338001 ext.6574 Pager: 141-002955 Email: [EMAIL PROTECTED] The Internet runs on its programmers, and programmers run on coffee!!! --- IMPORTANT NOTICE: This message (and any attachment hereto) may contain privileged and/or confidential information specific to EasyCall. If you are not the intended addressee indicated in this message, you may not copy or disseminate this message (or any attachment hereto) to anyone. Instead, please destroy this message (and any attachment hereto), and kindly notify the sender by reply email. Any information in this message (and any attachment thereto) that do not relate to the official business of EasyCall shall be understood as neither given nor endorsed by the company. -Original Message- From: Marcos [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 5:24 PM To: [EMAIL PROTECTED] Subject: what do i need to run .jsp? hi, i have JDK1.2, JSDK2, Apache-1.3.12, ApacheJServ, ... servlets are working fine but i want to run .jsp. what do i need in order to do that? any suggestions will be pleased, thanks in advance, marcos -- m a r c o s @ i v a l . e s == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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". 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: prepared statement problem
The skipped field should NOT be the PRIMARY KEY.. Venu --- Mutahar Qayum [EMAIL PROTECTED] wrote: Actually you can even specify what columns you are inserting. like. sql ="INSERT INTO test(userid,username) VALUES(?,?)"; regards -Original Message- From: Synu Jacob Vengal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 07, 2000 9:03 PM To: [EMAIL PROTECTED] Subject: prepared statement problem Hi, I am using a prepared statement to insert values into the database fields. Is it always necessary that we should insert data in all the fields or else null values?? for eg. i gave the sql as sql ="INSERT INTO test VALUES(?,?)"; when the actual table contained 3 fields. When i skipped one field it shows the following error java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid argument value Pls give me a solution. Thanks , SJ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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". 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 __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
Update: Numberformat
WooHoo! Worked, I get it now (thank god). Thank you everyone, much appreciated as always. -Daniel === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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