Re: include problem
- Original Message - From: "Kishor K" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 9:58 AM Subject: include problem hi, i have the following directory structure root - level1 -level21 -level22 -level23 how can i include a file a.jsp in files b.jsp in level21,c.jsp level22,d.jsp in level 23 this is what i have done %@ include file="../a.jsp"% this was working properly with tomcat3.1 but it is not working with tomcat3.2.1 is something wrong in the syntax? thanx in advance kishor _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === 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 _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === 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: opinion about WebSphere
Hi, If you install VA 3.0 on NT computer. Try Tutorial at Help menu. ThuLV, - Original Message - From: "Angela Chow" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 2:34 PM Subject: Re: opinion about WebSphere hi, i am currently using Visual Age to develop Java applications, I am wondering how i can i use this tool for jsp too? I believe I have Visual Age 3.5 comes with Websphere. Angela --- Le van Thu [EMAIL PROTECTED] wrote: Hi, It is very good and if you use it with Visual Age (Java, C++, SmallTalk..) you have the best develope tools But the price is a thing to think. ThuLV, - Original Message - From: "Micha Trojanowski" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 2:55 PM Subject: opinion about WebSphere Hi, I've got a question to users of WebSphere. I have been fighting it for some time and now I have to give my opinion to my boss. So from my experience it's not the best appserver we could use, but maybe I just don't know enough about it. Can you tell me what are your feelings about it? Should I work on it more or is it just a bad choice? Thanks for your opinions Michal == = 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ === 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
Connection Pooling
hello frds, iam trying to implement connection pooling.. but i have major prob:..my connection pooling is working but problem is that as iam not closing the connection a lock will be formed in my db(iam using Access now) so i want to remove that ..so what i want is to close all connections if nobody is using the server..or particular connection for some time..but iam confused about how to implement this ..in implementing conn pool iam making a application level bean.. TIA Kishor _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === 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: iPlanet and Jsp error using RMI-JDBC. - Help. New to planet.
Make sure you've installed the iPlanet service packs. If you run a version before SP1, as I recall, JSPs don't work at all! I'm running iPlanet Enterprise 4.1/SP5. Chris - Original Message - Sent: Tuesday, February 27, 2001 9:04 PM Message-ID: [EMAIL PROTECTED] Date: Tue, 27 Feb 2001 14:10:52 -0800 Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sender: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] From: Dylan Rosario [EMAIL PROTECTED] Subject: iPlanet and Jsp error using RMI-JDBC. - Help. New to planet. To: [EMAIL PROTECTED] Hi, I get this error when running a JSP on iPlanet connecting to Cloudscape via RMI-JDBC. The JSP works fine on Enhydra connecting to Cloudscape DB via RMI-JDBC. [27/Feb/2001:13:59:52] failure ( 652): Internal error: exception thrown from the servlet service function (uri=/INN/portal/page.jsp): javax.servlet.ServletException: COM.cloudscape.core.RmiJdbcDriver, Stack: javax.servlet.ServletException: COM.cloudscape.core.RmiJdbcDriver at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at javax.servlet.ServletException.(ServletException.java:122) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:384) at _jsps._INN._portal._page_jsp._jspService(Compiled Code) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:826) at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav a:502) I am wondering if it is a problem with the JRE configuration on iPlanet. Help. New to planet. Is there an application I can run to validate RMI-JDBC configs on iPlanet anywhere? Thanks, Dylan del Rosario === 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
JBuilder POST loose session
From inside JBuilder 4, (Tomcat), I have a form that submit data to a servlet (method=POST). In the submission form, I display the session Id. In the POST method of the servlet, which is called when the user SUBMIT the form, I display the session Id as well. Using JBuilder, when running the form, I get 2 different Session Id in the form and the post. Once deployed, on JRun, the session Id is the same both in the form and the post method, which is the correct behaviour. Do you know WHY the Id is different inside the POST method, using JBuilder (TomCat) ??? This is very annoying, since I can't debug my app from inside JBuilder - I have to deploy on the server after each modification, restart the server, and so on... THANKS for any info on this !! --ChD === 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: include problem
try giving path all the way from the root for each file... Nishit -Original Message- From: Kishor K [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 11:28 PM To: [EMAIL PROTECTED] Subject: include problem hi, i have the following directory structure root - level1 -level21 -level22 -level23 how can i include a file a.jsp in files b.jsp in level21,c.jsp level22,d.jsp in level 23 this is what i have done %@ include file="../a.jsp"% is something wrong in the syntax? thanx in advance kishor _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === 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: JBuilder POST loose session
Does JBuilder's browser support cookies? -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Christophe Dubourg Sent: Wednesday, February 28, 2001 7:21 AM To: [EMAIL PROTECTED] Subject: JBuilder POST loose session From inside JBuilder 4, (Tomcat), I have a form that submit data to a servlet (method=POST). In the submission form, I display the session Id. In the POST method of the servlet, which is called when the user SUBMIT the form, I display the session Id as well. Using JBuilder, when running the form, I get 2 different Session Id in the form and the post. Once deployed, on JRun, the session Id is the same both in the form and the post method, which is the correct behaviour. Do you know WHY the Id is different inside the POST method, using JBuilder (TomCat) ??? This is very annoying, since I can't debug my app from inside JBuilder - I have to deploy on the server after each modification, restart the server, and so on... THANKS for any info on this !! --ChD == = 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
resource access security
Hi, I have a question on EJB, Servlet, JSP, Connection pool, Trace components... security. I know we can use weblogic Access control list(ACL) to manage these components access by diff users, groups with diff authorization. Seems to me there is no much flexibility in WebLogic's security architecture. Can we do it in application level with user type, user, group and auth?. So that we could use the same architecture for the other types of application users. Suggestions, documentation URL would be great help. Thanks for your help in advance. Thanks, ~Hemu Naidu Get 250 color business cards for FREE! at Lycos Mail http://mail.lycos.com/freemail/vistaprint_index.html === 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: JBuilder POST loose session
I guess JBuilder supports cookies, since when I use a JSP that gets the session Id, and do multiple refreshes, it always returns the same session id. But JB may just not refresh the page. --ChD -Message d'origine- De: Robert Nicholson [SMTP:[EMAIL PROTECTED]] Date: mercredi 28 fvrier 2001 16:39 :[EMAIL PROTECTED] Objet:Re: JBuilder POST loose session Does JBuilder's browser support cookies? -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Christophe Dubourg Sent: Wednesday, February 28, 2001 7:21 AM To: [EMAIL PROTECTED] Subject: JBuilder POST loose session From inside JBuilder 4, (Tomcat), I have a form that submit data to a servlet (method=POST). In the submission form, I display the session Id. In the POST method of the servlet, which is called when the user SUBMIT the form, I display the session Id as well. Using JBuilder, when running the form, I get 2 different Session Id in the form and the post. Once deployed, on JRun, the session Id is the same both in the form and the post method, which is the correct behaviour. Do you know WHY the Id is different inside the POST method, using JBuilder (TomCat) ??? This is very annoying, since I can't debug my app from inside JBuilder - I have to deploy on the server after each modification, restart the server, and so on... THANKS for any info on this !! --ChD == = 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
Beans and scope
I have an application where I use Java beans in JSP pages. I declare these beans with a scope=session parameter. However, after a while of inactivity on the browser side, the data included in these beans seem to be invalidated. It looks like a garbage collector beeing done. This "timeout" seems to be something like 15 minutes... Here is a typical declaration : jsp:useBean id="headerBean" class="mypackage.orderHeaderBean" scope="session"/ I am using JSP 1.0 with Jrun 2.3.3 + patch 157. I have checked many documentation. I have found somewhere that the session may have a limited life time of 30 minutes when there is no activity. Can you confirm? Marie-Jo === 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
how to kill objects in session
I want to "kill" ("delete", "set to null", "reset", call it as u prefer) all the objects stored in the session (but i don't wan't to invalidate the session). How can i do that? === 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: how to kill objects in session
Try this: public void clearSession(HttpSession session) { Enumeration eAttributes = session.getAttributeNames(); while (eAttributes.hasMoreElements()) { String attributeName = (String) eAttributes.nextElement(); session.removeAttribute(attributeName); } } see http://java.sun.com/products/servlet/2.3/javadoc/index.html Regards, Richard Yee -Original Message- From: A.C. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: how to kill objects in session I want to "kill" ("delete", "set to null", "reset", call it as u prefer) all the objects stored in the session (but i don't wan't to invalidate the session). How can i do that? === 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: a very basic problem
Insted of if(rs.next()==true) can u try with if(rx.next()) { } Sagar. --- anurag dewan [EMAIL PROTECTED] wrote: hi, my if statement is DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); con=DriverManager.getConnection("jdbc:oracle:thin:@'ip..address..':1521:ORCL","scott","tiger"); Statement statement= con.createStatement(); ResultSet rs= statement.executeQuery("SELECT * from terminal where termkey ='345'"); if(rs.next()==true) ... the rest u know sorry for not writing this earlier -anurag --- Vidyasagar Guduru [EMAIL PROTECTED] wrote: It might be there is some problem with your if statement ? by the way how u r checking the strings with '==' of Object.equeals() method ? Sagar. --- anurag dewan [EMAIL PROTECTED] wrote: hi, In my main.jsp page i am getting the username and password form the user,checking it from the database and if correct then redirecting the user to the login.jsp. This procedure is going on fine... but when trying to redirect the user to an error.jsp page when the username or password is not correct, there is a problem. the code is like.. if(...) { % jsp:forward page="login.jsp" / % } else { % jsp:forward page="error.jsp" / % } % /form On executing the page...it directly goes to error.jsp. I think initially when the textboxes are blank..it takes it for wrong username or password and goes to error.jsp. Any suggestions on how to tackle it -anurag Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ === 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 Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ === 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
jsp based financial sites?
Has anyone out there developed a JSP/Servlet based financial site? Any url references? _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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 based financial sites?
Frank: what do you mean by financial site?? We are doing JSP work for financial institutions (all private URLs - sorry) so...if you question is "is it possible?" - yup - very!! Janet -Original Message- From: Frank Mancini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 1:27 PM To: [EMAIL PROTECTED] Subject: jsp based financial sites? Has anyone out there developed a JSP/Servlet based financial site? Any url references? _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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 based financial sites?
i'm not sure if www.citibankonline.com qualifies as a financial site, however they do use JSPs. --- Frank Mancini [EMAIL PROTECTED] wrote: Has anyone out there developed a JSP/Servlet based financial site? Any url references? _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ === 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 based financial sites?
yes, www.valuengine.com -Original Message- From: Frank Mancini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 1:27 PM To: [EMAIL PROTECTED] Subject: jsp based financial sites? Has anyone out there developed a JSP/Servlet based financial site? Any url references? _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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: JRun Connector Protocol Error
Have you successfully run the connector wizard for IIS? If not, then run the connector wizard from admin server. -Original Message- From: Steven [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 9:39 PM To: [EMAIL PROTECTED] Subject: JRun Connector Protocol Error I have installed JRun 3.01 on IIS 5.0, and everything seems to have installed with my JRE (1.3) and JSDK (2.1) - however, when I try to access my "First JSP Page", at http://localhost/MyFirstJspPage.jsp I get the following error: JRun Connector Protocol Error Seems pretty simple, but there are no entries in the .Log file. Also, it takes quite a few minutes to error out. Any suggestions? Thank you!! === 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 based financial sites?
Try https://www4.usbank.com/cgi/jsp/onlineexpress/logon.jsp A lot of servlets and JSPs - but of course if you don't have an account with them you won't get far. You can see their demo although those are just static pages. === 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
more specific: JSP/Servlet based financial sites
Sorry for the generic questionWhat I was looking for are specific sites that develop or have web based financial modules (eg. retirement planning, etc.) based upon jsp and or servlets. I want to integrate this into a portal site I'm developing. frank _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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: Beans and scope
The default value for session timeout is up to the container (JRun in your case), but you can modify it if you need to. See section 7.5 in the Servlets 2.2 spec. -- Martin Cooper Tumbleweed Communications - Original Message - From: "Marie Josephe Plainecassagne" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 9:21 AM Subject: Beans and scope I have an application where I use Java beans in JSP pages. I declare these beans with a scope=session parameter. However, after a while of inactivity on the browser side, the data included in these beans seem to be invalidated. It looks like a garbage collector beeing done. This "timeout" seems to be something like 15 minutes... Here is a typical declaration : jsp:useBean id="headerBean" class="mypackage.orderHeaderBean" scope="session"/ I am using JSP 1.0 with Jrun 2.3.3 + patch 157. I have checked many documentation. I have found somewhere that the session may have a limited life time of 30 minutes when there is no activity. Can you confirm? Marie-Jo === 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: more specific: JSP/Servlet based financial sites
try www.estrong.com -Original Message- From: Frank Mancini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:44 AM To: [EMAIL PROTECTED] Subject: more specific: JSP/Servlet based financial sites Sorry for the generic questionWhat I was looking for are specific sites that develop or have web based financial modules (eg. retirement planning, etc.) based upon jsp and or servlets. I want to integrate this into a portal site I'm developing. frank _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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: JBuilder POST loose session
If you are using Tomcat 3.1, could this be showing one of the 100 bugs that were fixed in Tomcat 3.2 ? Try Tomcat 3.2.don't forget to download the latest "webserver glue" wrapper debug classes from the JBuilder website though. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Christophe Dubourg Sent: Wednesday, February 28, 2001 10:21 AM To: [EMAIL PROTECTED] Subject: JBuilder POST loose session From inside JBuilder 4, (Tomcat), I have a form that submit data to a servlet (method=POST). In the submission form, I display the session Id. In the POST method of the servlet, which is called when the user SUBMIT the form, I display the session Id as well. Using JBuilder, when running the form, I get 2 different Session Id in the form and the post. Once deployed, on JRun, the session Id is the same both in the form and the post method, which is the correct behaviour. Do you know WHY the Id is different inside the POST method, using JBuilder (TomCat) ??? This is very annoying, since I can't debug my app from inside JBuilder - I have to deploy on the server after each modification, restart the server, and so on... THANKS for any info on this !! --ChD == = 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
pls solve my shopping cart problem
Hey guys I asked earlier also pls solve my problem Actually I'm working on a shopping cart using JSP and SQL Server and I'm also very new to JSP.. Now this is my first page on which I'm showing all the products and have a link which is called add to cart and what I want is that when I click on that link it should refresh the same page and it should show me the book_id on which the user has clicked but I'm not able to show that Pls help me out in this as it is very very urgent: my jsp code is : %@page language="java" import="java.util.*"% %@page import="shop.disBean"% HTML HEAD TITLE Display Products /TITLE /HEAD BODY topmargin="0" leftmargin="0" table cellspacing="2" cellpadding="2" border="1" tr List of Book table border="3" tr tdBook Name/td tdPrice/td tdPublisher/td tdCD/td tdCategory Name/td tdBuy/td /tr %--int ibook_id;--% % Vector vect=new Vector(); disBean disB=new disBean(); disB.connect(); vect=disB.query(); int size=vect.size(); for(int i=0;isize;i++) { Object refObj=vect.elementAt(i); disBean strRecord=(disBean) refObj; % tr td%= strRecord.getBook_name()%/a/td td%= strRecord.getPrice()%/td td%= strRecord.getPublisher() %/td td%= strRecord.getCd() %/td td%= strRecord.getCategory_name() %/td tda href="dis.jsp?book_id=%=strRecord.getBook_id()%"add to cart/a/td /tr % }% % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % %ibook_id = Integer.parseInt(request.getParameter("book_id"));% %disB.setBook_id(ibook_id);% %= disB.getBook_id()% /table /td/tr/table br % /BODY /HTML pls solve this problem that will be great Regards Preeti === 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
queryString problem
hey guys I have a JSP page in which I'm refreshing the same page and when I refresh I pass some value so now can anybody tell how can I check if the QueryString has something or not : I wanna do something like this : -- % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % Help Guys Regards Preeti === 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: queryString problem
use request.getParameterNames() method to get all parameter names... of if you are expecting some special string then use java.lang.String package.. Nishit -Original Message- From: Preeti [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: queryString problem hey guys I have a JSP page in which I'm refreshing the same page and when I refresh I pass some value so now can anybody tell how can I check if the QueryString has something or not : I wanna do something like this : -- % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % Help Guys Regards Preeti === 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: pls solve my shopping cart problem
Did you try putting some debugging statements to see what's printing? Are you getting the correct URLs in the HTML when you look at the source. What are you seeing? -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Preeti Sent: Wednesday, February 28, 2001 12:50 PM To: [EMAIL PROTECTED] Subject: pls solve my shopping cart problem Hey guys I asked earlier also pls solve my problem Actually I'm working on a shopping cart using JSP and SQL Server and I'm also very new to JSP.. Now this is my first page on which I'm showing all the products and have a link which is called add to cart and what I want is that when I click on that link it should refresh the same page and it should show me the book_id on which the user has clicked but I'm not able to show that Pls help me out in this as it is very very urgent: my jsp code is : %@page language="java" import="java.util.*"% %@page import="shop.disBean"% HTML HEAD TITLE Display Products /TITLE /HEAD BODY topmargin="0" leftmargin="0" table cellspacing="2" cellpadding="2" border="1" tr List of Book table border="3" tr tdBook Name/td tdPrice/td tdPublisher/td tdCD/td tdCategory Name/td tdBuy/td /tr %--int ibook_id;--% % Vector vect=new Vector(); disBean disB=new disBean(); disB.connect(); vect=disB.query(); int size=vect.size(); for(int i=0;isize;i++) { Object refObj=vect.elementAt(i); disBean strRecord=(disBean) refObj; % tr td%= strRecord.getBook_name()%/a/td td%= strRecord.getPrice()%/td td%= strRecord.getPublisher() %/td td%= strRecord.getCd() %/td td%= strRecord.getCategory_name() %/td tda href="dis.jsp?book_id=%=strRecord.getBook_id()%"add to cart/a/td /tr % }% % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % %ibook_id = Integer.parseInt(request.getParameter("book_id"));% %disB.setBook_id(ibook_id);% %= disB.getBook_id()% /table /td/tr/table br % /BODY /HTML pls solve this problem that will be great Regards Preeti == = 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: Beans and scope
Marie When you declare a bean to be in the session scope, the server sends a piece of information to the browser that the browser then includes in all subsequent requests. This is called a "session ID", and it's used by the server to recognize a set of requests from the same browser as related: in other words, as part of the same session. This session can be ended explicitly by the application, or the JSP container can end it after a period of user inactivity (the default value is typically 30 minutes after the last request). After that, the session ID is not more valid. How can you solve it? I don't use JRun. I use Tomcat, and I don't know, but I suppose you can change this default value. See your JRun documentation and how to configure it. Information extracted from the book: JAVASERVER PAGES Author:Hans Bergsten O'Reilly ISBN: 156592746X From: Marie Josephe Plainecassagne [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Beans and scope Date: Wed, 28 Feb 2001 18:21:28 +0100 I have an application where I use Java beans in JSP pages. I declare these beans with a scope=session parameter. However, after a while of inactivity on the browser side, the data included in these beans seem to be invalidated. It looks like a garbage collector beeing done. This "timeout" seems to be something like 15 minutes... Here is a typical declaration : jsp:useBean id="headerBean" class="mypackage.orderHeaderBean" scope="session"/ I am using JSP 1.0 with Jrun 2.3.3 + patch 157. I have checked many documentation. I have found somewhere that the session may have a limited life time of 30 minutes when there is no activity. Can you confirm? Marie-Jo === 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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. === 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: queryString problem
Try request.getQueryString() -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Preeti Sent: Wednesday, February 28, 2001 12:52 PM To: [EMAIL PROTECTED] Subject: queryString problem hey guys I have a JSP page in which I'm refreshing the same page and when I refresh I pass some value so now can anybody tell how can I check if the QueryString has something or not : I wanna do something like this : -- % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % Help Guys Regards Preeti == = 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: queryString problem
Use % String str = request.getQueryString(); if(str == null) out.print("Nothing is passed"); else out.print("Query String = " + str); % -Original Message- From: Preeti [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: queryString problem hey guys I have a JSP page in which I'm refreshing the same page and when I refresh I pass some value so now can anybody tell how can I check if the QueryString has something or not : I wanna do something like this : -- % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % Help Guys Regards Preeti == = 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
RequestDispatcher
Hi All, I am using JavaWebserver2.0 on Solaris. I am facing a problem. I have a few servlets and jsps. Consider the following sequence login.jsp --- serv1 ParmsMain.jsp Whenever I restart my Javawebserver2.0 and start with the login.jsp I get the following error: The servlet named range.RangeServlet at the requested URL http://cobra01:9085/servlet/range.RangeServlet reported this exception: java.lang.NullPointerException. Please report this to the administrator of the web server. java.lang.NullPointerException at com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP ageCompileServlet.java:517) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet (JspServlet.java:274) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer vlet.java:254) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja va:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202) at com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI mpl.java:249) at range.RangeServlet.addRange(RangeServlet.java:60) at range.RangeServlet.doGet RangeServlet.java:38) at . My servlet has the following code : if ( func == 1) getServletContext().getRequestDispatcher("/ParmsMain.jsp").forward(req,res); The jsp needs to be recompiled. Then it works fine. But If I replace this code snippet with res.sendRedirect("/ParmsMain.jsp") I no longer get the problem. But in this case the values from the login.jsp are not passed to the ParmsMain.jsp. Could somebody solve this problem. Thanks, JS === 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: more specific: JSP/Servlet based financial sites
were you the developer for this site? Actually, they don't provide the tools for me to utilize..they are a mutual fund company From: Sheryl Kwak [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: more specific: JSP/Servlet based financial sites Date: Wed, 28 Feb 2001 11:16:27 -0800 try www.estrong.com -Original Message- From: Frank Mancini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:44 AM To: [EMAIL PROTECTED] Subject: more specific: JSP/Servlet based financial sites Sorry for the generic questionWhat I was looking for are specific sites that develop or have web based financial modules (eg. retirement planning, etc.) based upon jsp and or servlets. I want to integrate this into a portal site I'm developing. frank _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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 _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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: write File format
Textbox is getting disabled in IE. formname.textboxname.DISABLED = TRUE , but this isn't working in Netscape 4.72. THANKS Neel -Original Message- From: Rosario Samanez [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 4:33 AM To: [EMAIL PROTECTED] Subject: write File format hello, I am doing download to a file and I want that this file that can be opened in way text and excel..pero I have problems. in the format. something like this, format in txt amount monto1monto2 100 200 300 200 500 600 and in excel also it must visualize, by columns and separated by rows... any idea... my file is of extension *.csv while(contador(columas+1)){ arrayBytes = new byte[Integer.parseInt(registro[1][contador-1])]; campo=registro[0][contador-1]+ ((contador==columas)? "\n":"\t"); campo.getBytes(0,campo.length(),arrayBytes,0); file.write(arrayBytes); contador++; } === 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: HTTP tutorial?
visit http://www.roseindia.net/jsp/jsp.htm for jsp tutotial - Original Message - From: jose ramon rodriguez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 7:49 AM Subject: HTTP tutorial? Hi all! I'm using Servlets and JSP and now I'm looking for some good tutorial for HTTP in the web. Please, could anyone help me? Regards. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. === 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 _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === 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: write File format
The 'disabled' attribute of a html input element did not come along until HTML 4.0. This standard is not supported in Netscape Browsers prior to Netscape 6. That is why it doesn't work in Netscape 4.72. Regards, Richard Yee -Original Message- From: Shaikh, NeelKamal (MED, TCS America) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:31 PM To: [EMAIL PROTECTED] Subject: Re: write File format Textbox is getting disabled in IE. formname.textboxname.DISABLED = TRUE , but this isn't working in Netscape 4.72. THANKS Neel -Original Message- From: Rosario Samanez [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 4:33 AM To: [EMAIL PROTECTED] Subject: write File format hello, I am doing download to a file and I want that this file that can be opened in way text and excel..pero I have problems. in the format. something like this, format in txt amount monto1monto2 100 200 300 200 500 600 and in excel also it must visualize, by columns and separated by rows... any idea... my file is of extension *.csv while(contador(columas+1)){ arrayBytes = new byte[Integer.parseInt(registro[1][contador-1])]; campo=registro[0][contador-1]+ ((contador==columas)? "\n":"\t"); campo.getBytes(0,campo.length(),arrayBytes,0); file.write(arrayBytes); contador++; } === 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
Calling Servlet from JSP
Dear All, I am working on a project now and facing a problem with JSP and Servlet. We already have a set of Servlets which deal with java application server. Now I need to generate web page using JSP. So my question is how to call these servlets from JSP in Java, not HTML form. These servlets output results in text format. I need to get these results. Any recommendation is highly appreciated. Bo SU === 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 based financial sites?
This is probably a BroadVision site: BV uses the same suffix, jsp, for it's pages. - Original Message - From: Tayler Mayer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 1:34 PM Subject: Re: jsp based financial sites? i'm not sure if www.citibankonline.com qualifies as a financial site, however they do use JSPs. --- Frank Mancini [EMAIL PROTECTED] wrote: Has anyone out there developed a JSP/Servlet based financial site? Any url references? _ Get your FREE download of MSN Explorer at http://explorer.msn.com === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ === 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: how to kill objects in session
Well you need to call the getAttributeNames method on the session object which would return an Enumeration Object. Traverse the Enumeration calling the removeAttribute method on the session object passing in the name of each attribute stored in the session. It would be great for you as well as the list if you had a look at the Servlet and Jsp Api documentation before forwarding your queries to the list. Just a suggestion :-). Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: A.C. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 11:16 PM Subject: how to kill objects in session I want to "kill" ("delete", "set to null", "reset", call it as u prefer) all the objects stored in the session (but i don't wan't to invalidate the session). How can i do that? === 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: a very basic problem
there is no need to check if (rs.next() == true) simply give if (rs.next(){ continu} else { ur error.jsp } deepa - Original Message - From: "anurag dewan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 9:24 AM Subject: Re: a very basic problem hi, my if statement is DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); con=DriverManager.getConnection("jdbc:oracle:thin:@'ip..address..':1521:ORCL ","scott","tiger"); Statement statement= con.createStatement(); ResultSet rs= statement.executeQuery("SELECT * from terminal where termkey ='345'"); if(rs.next()==true) ... the rest u know sorry for not writing this earlier -anurag --- Vidyasagar Guduru [EMAIL PROTECTED] wrote: It might be there is some problem with your if statement ? by the way how u r checking the strings with '==' of Object.equeals() method ? Sagar. --- anurag dewan [EMAIL PROTECTED] wrote: hi, In my main.jsp page i am getting the username and password form the user,checking it from the database and if correct then redirecting the user to the login.jsp. This procedure is going on fine... but when trying to redirect the user to an error.jsp page when the username or password is not correct, there is a problem. the code is like.. if(...) { % jsp:forward page="login.jsp" / % } else { % jsp:forward page="error.jsp" / % } % /form On executing the page...it directly goes to error.jsp. I think initially when the textboxes are blank..it takes it for wrong username or password and goes to error.jsp. Any suggestions on how to tackle it -anurag Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie === 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ === 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 Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie === 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: JBDC/OBDC driver loading problem.
generally for db conns.. u have to use like ths.. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection conn; // if ur DSN name is "Test" if it's goin to b ur sQl, userid = sa,password (byd default)="" conn = DriverManager.getConnection ("jdbc:odbc:Test,userid,password"); - Original Message - From: "Kyle Burke" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 8:00 AM Subject: Re: JBDC/OBDC driver loading problem. 1. You have a database user without a username or a password? Did you mean to use the dbo user? Because that's "sa","". 2. In the description for a dsn you may have the " " but in the name that you refer to to DSN with may not. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Thang Nguyen Sent: Tuesday, February 27, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: JBDC/OBDC driver loading problem. Hi, I am currently using Tomcat4.0 and jdk1.3 and my system is Windows 2000. I setup everything and it works fine. However, when I try to run one of my servlets (a servlet that will connect to odbc database). Pls take a look at my CLASSPATH and servelt, let me know if I am missing something. Thanks much. I got the error complaining about the driver which is "SQLException caught: No suitable driver" Here is my CLASSPATH: CLASSPATH= C:\tomcat4.0\jakarta-tomcat-4.0\bin\servlet.jar; C:\jdk1.3\jre\lib\rt.jar And here is my java code: /* VideoSelectServlet */ import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; /** * This is a simple example of an HTTP Servlet. It responds to the GET * method of the HTTP protocol. **/ public class VideoSelectServlet extends HttpServlet { public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { Connection con = null; Statement stmt = null; ResultSet rs = null; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc.odbc.Movie Catalog"; con = DriverManager.getConnection (url, "", ""); System.out.println("Testpoint"); } catch (ClassNotFoundException e) { System.out.println("SQLException caught: " + e.getMessage()); } catch (SQLException e) { System.out.println("SQLException caught: " + e.getMessage()); } finally { try { if (con != null) con.close(); } catch (SQLException ignored) {} } } public String getServletInfo() { return "The BookDetail servlet returns information about" + "any book that is available from the bookstore."; } } === 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
where jrun stores class or java files after compilation of jsp pages.
hi all, i'm using Jrun 3.0 to develop my jsp pages. earlier i was working on servlets. I need to know the path where jrun stores the class files or java files after compilation of jsp pages. or how can i get a jsp page compiled manually. thanks in advance. -- Surender Jain Senior Technologist Webchutney Studio Pvt. Ltd. www.webchutney.com === 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: how to kill objects in session
Hi Do session.remove() - Original Message - From: "A.C." [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 11:16 PM Subject: how to kill objects in session I want to "kill" ("delete", "set to null", "reset", call it as u prefer) all the objects stored in the session (but i don't wan't to invalidate the session). How can i do that? === 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: where jrun stores class or java files after compilation of jsppages.
drop ur jsp files @ root/servers/default/default-app/ class r java files @ root/servers/default/default-app/web-inf/classes -ravi surender jain wrote: hi all, i'm using Jrun 3.0 to develop my jsp pages. earlier i was working on servlets. I need to know the path where jrun stores the class files or java files after compilation of jsp pages. or how can i get a jsp page compiled manually. thanks in advance. -- Surender Jain Senior Technologist Webchutney Studio Pvt. Ltd. www.webchutney.com === 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
JSP FAQ Resource Information
This is a weekly informative posting to the jsp-interest list. Before asking questions of a general nature, please check out the resources available online to see if your question already has an answer. The best place to start is our web site: http://java.sun.com/products/jsp Some FAQs that may help you 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 The archives of this list are available at: http://archives.java.sun.com/archives/jsp-interest.html Tomcat is the reference implementation for the latest JSP and Servlet specs. You can download Tomcat from the Jakarta project's website: http://jakarta.apache.org. For feedback and discussion on Tomcat, please use the mailing list [EMAIL PROTECTED] A few notes about the use of this list. We at Sun enjoy hosting this list to give everyone a forum to discuss JSP, servlets and related technology. There are a few things that we ask of you, the list members: Please don't engage in advertising. We like to hear when new products are announced and a link for all the information. What we don't like are lengthy press releases, advertisements, and other material which falls under the umbrella term "marketing". There is no problem in stating how your product compares to another, but remember, this isn't run by Sun to be an advertising forum -- but as a technical forum. Please don't post attachments to the list. The use of VCards and S/MIME is not really needed on a list like this and is annoying to some whose readers don't support them. More serious is the posting of .zip files and other larger items. You might get flamed a little bit for S/MIME or posting in HTML. You will be removed from the list for posting a .zip or other archive file. If you need technical support from a vendor, please contact that vendor directly. Now, back to regularly scheduled programming. Anil Vijendran for the JSP/Tomcat team === 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: pls solve my shopping cart problem
hey in ur code i don't find what do u mean by this if (QueryString=null){ try if(QueryString.equals(null)){ also can u give the error u r getting ? that might help me to understand ur problem better... -ravi Preeti wrote: Hey guys I asked earlier also pls solve my problem Actually I'm working on a shopping cart using JSP and SQL Server and I'm also very new to JSP.. Now this is my first page on which I'm showing all the products and have a link which is called add to cart and what I want is that when I click on that link it should refresh the same page and it should show me the book_id on which the user has clicked but I'm not able to show that Pls help me out in this as it is very very urgent: my jsp code is : %@page language="java" import="java.util.*"% %@page import="shop.disBean"% HTML HEAD TITLE Display Products /TITLE /HEAD BODY topmargin="0" leftmargin="0" table cellspacing="2" cellpadding="2" border="1" tr List of Book table border="3" tr tdBook Name/td tdPrice/td tdPublisher/td tdCD/td tdCategory Name/td tdBuy/td /tr %--int ibook_id;--% % Vector vect=new Vector(); disBean disB=new disBean(); disB.connect(); vect=disB.query(); int size=vect.size(); for(int i=0;isize;i++) { Object refObj=vect.elementAt(i); disBean strRecord=(disBean) refObj; % tr td%= strRecord.getBook_name()%/a/td td%= strRecord.getPrice()%/td td%= strRecord.getPublisher() %/td td%= strRecord.getCd() %/td td%= strRecord.getCategory_name() %/td tda href="dis.jsp?book_id=%=strRecord.getBook_id()%"add to cart/a/td /tr % }% % if (QueryString=null){ out.print("nothing is passed"); } else { out.print("Something is passed"); } % %ibook_id = Integer.parseInt(request.getParameter("book_id"));% %disB.setBook_id(ibook_id);% %= disB.getBook_id()% /table /td/tr/table br % /BODY /HTML pls solve this problem that will be great Regards Preeti === 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