Apache 1.3 as a proxy server for TOMCAT 4.0
Hello everybody, i've just joined this mailing list and I have a little problem for configuring Apache 1.3 as a proxy server for Tomcat 4.0. I have already done what was suggested in TOMCAT documentation , part Proxy support How To but it does not work. I would appreciate if someone could help me to solve that little problem. Tanks in advance and have a great day (it's the beginning of the day here in France). Antoine
How to adjust the weblogic pool parameter to improve system performance?
Death all : How to adjust the weblogic pool parameter to improve system performance?I use the data pool but I do not know the parameter information . Thanks for your help . Yours: Robin === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Usage of jsp:include versus file include
Hi All. For caching I am using the following code and am putting in a common JSP which could be included in different JSPs. response.setHeader(Cache-Control,no-cache); //HTTP 1.1, response.setHeader(Pragma,no-cache); //HTTP 1.0, response.setDateHeader (Expires, 0); //prevents caching at the proxy server If I use %@ include page file=sample.jsp% the purpose does not get solved and caching of the pages occurs but when I use jsp:include directive it does work properly. What is the difference and why is it happening... Thanks, -ShriKant === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Substituting values in JSP code
I have the following code: % String paramname = myname; % jsp:forward page=mypage.jsp jsp:param name=%= paramname % value=%= myvalue %/ /jsp:forward There isn't a problem with substituting the value for 'myvalue' - this works fine. However, the param name causes an IllegalArgumentException. I know the value for paramname has been set OK because I can test it in the Java code above. If I hardcode the same value as the param name it works fine. Has anyone got any idea what is going wrong here? Thanks, Catharine === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Urgent !!!!!!!! Please help me
Dear All, Problem : I have a jsp page, which should talk to database and fetches file name from the table and prints the file on to browser. Current Result : No error, but there is no single data from the file are not written to the browser. Request : Can any body send me the code for my requirement, earliest. Code : %--* PrintFiles.jsp* Created on December 13, 2001, 4:00 PM--% %@ page import = "java.io.*" %%@ page import = "java.sql.*" %%@ page import = "javax.servlet.*" % %--*@author Ravindra Varna*@version 1.0.0--%htmlbody bgcolor = "#246890"%!Connection con;CallableStatement cstmt;ResultSet rs;String Hi = "Ravindra Varna";PrintWriter out;%%!void getConnection(){try{Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");con = DriverManager.getConnection("jdbc:odbc:DB","sa","");}catch(Exception e){file://out.println(e);}}%%=Hi %%!void getResultSet(){String mysql_Statement;String file_Name;try{mysql_Statement = "{call DB_Sl_FileName}";cstmt = con.prepareCall(mysql_Statement);rs = cstmt.executeQuery();while (rs.next()){file_Name = rs.getString(2);FileReader fr = new FileReader(file_Name);int c = 0;while (c != -1){c = fr.read();out.println((char)c);}}}catch(Exception e){out.println(e);}}%%=Hi %/body/html Thanks Varna.
TomCat as service
Hello All, I'm sorry if it's off-topic, but anyone knows how to run TomCat as a service in win2000? Regards, Sami === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent !!!!!!!! Please help me
If this is the page in question then the problem is that you are not calling any of the methods. Also, you might want to make sure that the jsp page actually compiles. I dont know whatfile://out.println(e); is but I'm sure it wont compile. -Tim -Original Message-From: Ravindra [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 6:40 AMTo: [EMAIL PROTECTED]Subject: Urgent Please help me Dear All, Problem : I have a jsp page, which should talk to database and fetches file name from the table and prints the file on to browser. Current Result : No error, but there is no single data from the file are not written to the browser. Request : Can any body send me the code for my requirement, earliest. Code : %--* PrintFiles.jsp* Created on December 13, 2001, 4:00 PM--% %@ page import = "java.io.*" %%@ page import = "java.sql.*" %%@ page import = "javax.servlet.*" % %--*@author Ravindra Varna*@version 1.0.0--%htmlbody bgcolor = "#246890"%!Connection con;CallableStatement cstmt;ResultSet rs;String Hi = "Ravindra Varna";PrintWriter out;%%!void getConnection(){try{Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");con = DriverManager.getConnection("jdbc:odbc:DB","sa","");}catch(Exception e){file://out.println(e);}}%%=Hi %%!void getResultSet(){String mysql_Statement;String file_Name;try{mysql_Statement = "{call DB_Sl_FileName}";cstmt = con.prepareCall(mysql_Statement);rs = cstmt.executeQuery();while (rs.next()){file_Name = rs.getString(2);FileReader fr = new FileReader(file_Name);int c = 0;while (c != -1){c = fr.read();out.println((char)c);}}}catch(Exception e){out.println(e);}}%%=Hi %/body/html Thanks Varna.
Tomcat question
The documentation says When Tomcat starts up it will automatically create a configuration file for Apache in Tomcat_home/conf/tomcat_apache.conf- this wasn't created. Any ideas why? Is there a specific way to start up Tomcat other than calling startup.bat?
Apache question
In Apache, the documentation mentions the server.xml file and setting the values for Server, Logger, ContextManager etc but there are no examples- how do I decide what values to set these to? What determines them?
Re: Urgent !!!!!!!! Please help me
Hey Ravindra, One suggestion i would like to give you ..is that ur .jsp file looks more like a .java file. Eliminate all your java codeand database connections, statements and put them in a .java file. That will make ur job easy later on...Access database thru a java bean from a JSP. U should put the java code in a java file and then compile the java file and call themethods in the java file. Instead offile://out.println(e); use System.out.println(" Exception: +e"); Hope it helps. Praveen - Original Message - From: Chen, Gin To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 8:36 AM Subject: Re: Urgent Please help me If this is the page in question then the problem is that you are not calling any of the methods. Also, you might want to make sure that the jsp page actually compiles. I dont know whatfile://out.println(e); is but I'm sure it wont compile. -Tim -Original Message-From: Ravindra [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 6:40 AMTo: [EMAIL PROTECTED]Subject: Urgent Please help me Dear All, Problem : I have a jsp page, which should talk to database and fetches file name from the table and prints the file on to browser. Current Result : No error, but there is no single data from the file are not written to the browser. Request : Can any body send me the code for my requirement, earliest. Code : %--* PrintFiles.jsp* Created on December 13, 2001, 4:00 PM--% %@ page import = "java.io.*" %%@ page import = "java.sql.*" %%@ page import = "javax.servlet.*" % %--*@author Ravindra Varna*@version 1.0.0--%htmlbody bgcolor = "#246890"%!Connection con;CallableStatement cstmt;ResultSet rs;String Hi = "Ravindra Varna";PrintWriter out;%%!void getConnection(){try{Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");con = DriverManager.getConnection("jdbc:odbc:DB","sa","");}catch(Exception e){file://out.println(e);}}%%=Hi %%!void getResultSet(){String mysql_Statement;String file_Name;try{mysql_Statement = "{call DB_Sl_FileName}";cstmt = con.prepareCall(mysql_Statement);rs = cstmt.executeQuery();while (rs.next()){file_Name = rs.getString(2);FileReader fr = new FileReader(file_Name);int c = 0;while (c != -1){c = fr.read();out.println((char)c);}}}catch(Exception e){out.println(e);}}%%=Hi %/body/html Thanks Varna.
HP Bluestone??
Does anyone use the HP Bluestone HTTP/JSP/Servlet server? Can you give any feedback on: 1 - stability 2 - performance 3 - load balancing 3 - JSP standards compliance 4 - process monitoring 5 - reporting etc... thanks, Jon This message was posted using eunumTo interact with a real-time, threaded interface to this e-mail list, clickthe link below:JSP-INTEREST === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: How to adjust the weblogic pool parameter to improve system performance?
Robin, First, It is not nice to wish Death All: Second, What version of Weblogic do you use. And what type of jdbc driver do you use Original Message Follows From: Robin [EMAIL PROTECTED] Death all : How to adjust the weblogic pool parameter to improve system performance?I use the data pool but I do not know the parameter information . Thanks for your help . Yours: Robin _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: iplanet
On Wed, 12 Dec 2001, Yan Zhu wrote: anyone using iplanet webserver 6.0 as a j2ee web container? how do you feel about it? thanks We are at the University of Arkansas. Personally, I hate it. We used to use JWS and I liked it much better. Also BEA Enterprise server and Tomcat standalone are also much nicer. iPlanet provides partial support for Servlet 2.3 and full support for Servlet 2.2. It's difficult to add web applications to the server, as you have to add the deployment descriptors to a global configuration file. We've had problems with legacy servlet support (2.1), and problems with restarting the server. Michael Akerman === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Usage of jsp:include versus file include
I am sorry if it troubles but I am forced to repeat my query. I used to think that it is always better to use static include in the JSP instead of using jsp:include. But now this problem bothers me. Please advice.. -ShriKant A mailing list about Java Server Pages specification and reference wrote: From: ShriKant Vashishtha [EMAIL PROTECTED]@JAVA.SUN.COM on 12/12/2001 03:43 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Usage of jsp:include versus file include Hi All. For caching I am using the following code and am putting in a common JSP which could be included in different JSPs. response.setHeader(Cache-Control,no-cache); //HTTP 1.1, response.setHeader(Pragma,no-cache); //HTTP 1.0, response.setDateHeader (Expires, 0); //prevents caching at the proxy server If I use %@ include page file=sample.jsp% the purpose does not get solved and caching of the pages occurs but when I use jsp:include directive it does work properly. What is the difference and why is it happening... Thanks, -ShriKant === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
off topic ( How to know which Service pack in win2k)
Hi, could you please tell me how to know what Service pack in windows and in unix ? Thanks _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Usage of jsp:include versus file include
What is happening is that @% include file= is included at translation time vs. jsp:include page= is included at request. If the included file changes , using @% include file=, then the files that use the include need to be resaved. Hopes this helps. Jaime -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of ShriKant Vashishtha Sent: Wednesday, December 12, 2001 7:52 AM To: [EMAIL PROTECTED] Subject: Re: Usage of jsp:include versus file include I am sorry if it troubles but I am forced to repeat my query. I used to think that it is always better to use static include in the JSP instead of using jsp:include. But now this problem bothers me. Please advice.. -ShriKant A mailing list about Java Server Pages specification and reference wrote: From: ShriKant Vashishtha [EMAIL PROTECTED]@JAVA.SUN.COM on 12/12/2001 03:43 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Usage of jsp:include versus file include Hi All. For caching I am using the following code and am putting in a common JSP which could be included in different JSPs. response.setHeader(Cache-Control,no-cache); //HTTP 1.1, response.setHeader(Pragma,no-cache); //HTTP 1.0, response.setDateHeader (Expires, 0); //prevents caching at the proxy server If I use %@ include page file=sample.jsp% the purpose does not get solved and caching of the pages occurs but when I use jsp:include directive it does work properly. What is the difference and why is it happening... Thanks, -ShriKant === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
iplanet
sounds like you only need http/jsp/servlet stuff. We use Resin www.caucho.com It works great, handles load balancing, is Enterprise ready, and the price is right!!! This message was posted using eunumTo interact with a real-time, threaded interface to this e-mail list, clickthe link below:JSP-INTEREST === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
TimeZone in jsp
Hi all, I need to find the date and time of Australia in my jsp. How can i find out this? I appreciate your help. thanks, Sridhar Boddula, GISG/Global Products 2-5832 -Original Message- From: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED]@STATESTREET On Behalf Of JOSHY MON M C [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: A JSP Question - model 1 architecture
Then it going to be model 2 architecture.? I dont want servlet to do the job. -Original Message- From: King, Nancy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:11 PM To: [EMAIL PROTECTED] Subject: Re: A JSP Question - model 1 architecture You can use servlet to pass the vector. NK -Original Message- From: JOSHY MON M C [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: A JSP Question - model 1 architecture
Try storing the vector in session variable and then use it whenever u want. Hope that helps Praveen - Original Message - From: JOSHY MON M C [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:46 AM Subject: Re: A JSP Question - model 1 architecture Then it going to be model 2 architecture.? I dont want servlet to do the job. -Original Message- From: King, Nancy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:11 PM To: [EMAIL PROTECTED] Subject: Re: A JSP Question - model 1 architecture You can use servlet to pass the vector. NK -Original Message- From: JOSHY MON M C [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: A JSP Question - model 1 architecture
It depends how you are chaining from the controller to the page. If you are forwarding from the controller servlet (I'm assuming that your controller is a servlet) you can set the Vector into the request as an attribute and retrieve it in the JSP page. If you are redirecting, the JSP page will have a new request and you cannot do that. In that case you will need to store the servlet at application scope or in a session. hth, bear === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: A JSP Question - model 1 architecture
I dont want this vector forever. I want to use it another page, so its scope ends after that. Any idea ? -Original Message- From: Praveen Potineni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:41 PM To: [EMAIL PROTECTED] Subject: Re: A JSP Question - model 1 architecture Try storing the vector in session variable and then use it whenever u want. Hope that helps Praveen - Original Message - From: JOSHY MON M C [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:46 AM Subject: Re: A JSP Question - model 1 architecture Then it going to be model 2 architecture.? I dont want servlet to do the job. -Original Message- From: King, Nancy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:11 PM To: [EMAIL PROTECTED] Subject: Re: A JSP Question - model 1 architecture You can use servlet to pass the vector. NK -Original Message- From: JOSHY MON M C [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: A JSP Question - model 1 architecture
It depends on how you are navigating from elmpleelist.jsp to EmployeeListView.jsp. If you are using response.sendRedirect then you must store it in the session. If you are using request.getRequestDispatcher().forward() or jsp:forward then you should store it in the request (request.set/getAttribute). === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Substituting values in JSP code
I've never worked with jsp:param but I'm guessing the name attribute does not accept runtime values--taglib attributes can be specified as runtime or not. Another way to do it is to build a querystring with your new params and forward that way. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: A JSP Question - model 1 architecture
My controller is a JSP. I want to show the result on another page. ( I stick to Model 1 - How this is done ? Is there any object with request scope ? -Original Message- From: BootedBear [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:42 PM To: [EMAIL PROTECTED] Subject: Re: A JSP Question - model 1 architecture It depends how you are chaining from the controller to the page. If you are forwarding from the controller servlet (I'm assuming that your controller is a servlet) you can set the Vector into the request as an attribute and retrieve it in the JSP page. If you are redirecting, the JSP page will have a new request and you cannot do that. In that case you will need to store the servlet at application scope or in a session. hth, bear === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Web Application Structure iplanet4.1 ??
what is the Web Application Structure for iPlanet4.1, I did not find anything in the doc, thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent !!!!!!!! Please help me
Ravindra, Since you're using the %! directive, you're just declaring methods, not actually calling them. You need to actually call them. You should also be aware that what you're doing is incredibly dangerous. If two requests hit this page at the same time your output will be corrupt. The best way is to put this Java code in a real class, but if you must do it in JSP do this--take out all the %! declarations. %--* PrintFiles.jsp* Created on December 13, 2001, 4:00 PM--% %@ page import = "java.io.*" %%@ page import = "java.sql.*" %%@ page import = "javax.servlet.*" % %--*@author Ravindra Varna*@version 1.0.0--%htmlbody bgcolor = "#246890"%Connection con;CallableStatement cstmt;ResultSet rs;String Hi = "Ravindra Varna";PrintWriter out; try{Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");con = DriverManager.getConnection("jdbc:odbc:DB","sa","");}catch(Exception e){ out.println(e); } String mysql_Statement;String file_Name;try{mysql_Statement = "{call DB_Sl_FileName}";cstmt = con.prepareCall(mysql_Statement);rs = cstmt.executeQuery();while (rs.next()){file_Name = rs.getString(2);FileReader fr = new FileReader(file_Name);int c = 0;while (c != -1){c = fr.read();out.println((char)c);}}}catch(Exception e){out.println(e);}%/body/html
Re: TimeZone in jsp
I've never actually done this but I believe what you can do is create a DateFormat object and call its setTimeZone(TimeZone t) method, then parse a Date object with it. -Original Message- From: Boddula, Sridhar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:46 AM To: [EMAIL PROTECTED] Subject: TimeZone in jsp Hi all, I need to find the date and time of Australia in my jsp. How can i find out this? I appreciate your help. thanks, Sridhar Boddula, GISG/Global Products 2-5832 -Original Message- From: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED]@STATESTREET On Behalf Of JOSHY MON M C [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Web Application Structure iplanet4.1 ??
I don't think it supports j2ee standards in 4.1 sufi malak wrote: what is the Web Application Structure for iPlanet4.1, I did not find anything in the doc, thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: TimeZone in jsp
The Jakarta DateTime Tag Library has a nifty tag for handling time zones in JSPs: http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Cheng Sent: Wednesday, December 12, 2001 11:29 AM To: [EMAIL PROTECTED] Subject: Re: TimeZone in jsp I've never actually done this but I believe what you can do is create a DateFormat object and call its setTimeZone(TimeZone t) method, then parse a Date object with it. -Original Message- From: Boddula, Sridhar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:46 AM To: [EMAIL PROTECTED] Subject: TimeZone in jsp Hi all, I need to find the date and time of Australia in my jsp. How can i find out this? I appreciate your help. thanks, Sridhar Boddula, GISG/Global Products 2-5832 -Original Message- From: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED]@STATESTREET On Behalf Of JOSHY MON M C [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Web Application Structure iplanet4.1 ??
iPlanet 4.1 does not support WAR files and Web application stuff :o(( Fred -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: 12 December 2001 16:23 To: [EMAIL PROTECTED] Subject: Web Application Structure iplanet4.1 ?? what is the Web Application Structure for iPlanet4.1, I did not find anything in the doc, thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Web Application Structure iplanet4.1 ??
Do you know if it supports TABLIBs? What would be something comparable to the web.xml file? Thank you for any help you can give! -Original Message- From: Frederic Lardieg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Web Application Structure iplanet4.1 ?? iPlanet 4.1 does not support WAR files and Web application stuff :o(( Fred -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: 12 December 2001 16:23 To: [EMAIL PROTECTED] Subject: Web Application Structure iplanet4.1 ?? what is the Web Application Structure for iPlanet4.1, I did not find anything in the doc, thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Web Application Structure iplanet4.1 ??
as far as i know, it does NOT support web.xml, or taglib, or WEB-INF, it supports standard jsp, servlet etc, but that's about it. Troy Campano wrote: Do you know if it supports TABLIBs? What would be something comparable to the web.xml file? Thank you for any help you can give! -Original Message- From: Frederic Lardieg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Web Application Structure iplanet4.1 ?? iPlanet 4.1 does not support WAR files and Web application stuff :o(( Fred -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: 12 December 2001 16:23 To: [EMAIL PROTECTED] Subject: Web Application Structure iplanet4.1 ?? what is the Web Application Structure for iPlanet4.1, I did not find anything in the doc, thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
tomcat
ok, I got tomcat, could someone recommand a good place/book for tutorials/docs on webapps? using tomcat? I already read the doc comes with it, seems to be a bit vague. thanks yan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
WebSphere and JSP
Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Have you tried putting this at the top of the page? %@ page language=java % Thanks! Troy Campano -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Printing out all beans available to a jsp page
Antony, The pageContext bit won't work because the method doesn't exist (I was just guessing it might). Instead, it looks like there's a better way to do the whole thing. You can use the method: Enumeration PageContext.getAttributeNamesInScope(int scope) to get the attribute names at each level of scoping. Just use one of: PageContext.PAGE_SCOPE PageContext.REQUEST_SCOPE PageContext.SESSION_SCOPE PageContext.APPLICATION_SCOPE for the scope parameter. --Chris 12/11/2001 6:14:14 PM, Antony Stace [EMAIL PROTECTED] wrote: Thanks for the reply Chris. I just ran your code and it works fine, except for the Enumeration enum = pageContext.getAttributeNames(); while( enum.hasMoreElements() ) { out.println( enum.nextElement() + br ); } My jsp page is hanging on the pageContext.getAttributeNames() line. Any ideas why, the request.getAttributeNames(), session.getAttributeNames() and application.getAttributeNames() calls work fine. Cheers Antony % Enumeration enum = pageContext.getAttributeNames(); while( enum.hasMoreElements() ) { out.println( enum.nextElement() + br ); } enum = request.getAttributeNames(); while( enum.hasMoreElements() ) { out.println( enum.nextElement() + br ); } enum = session.getAttributeNames(); while( enum.hasMoreElements() ) { out.println( enum.nextElement() + br ); } enum = application.getAttributeNames(); while( enum.hasMoreElements() ) { out.println( enum.nextElement() + br ); } % === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Help! Creating simple JSP cart
The code is all below. I have a repeating record (invoice) page that sorts correctly. I want the users to be able to check a checkbox within the same form, allowing the record to be set-aside and displayed in a persistent location (cart) when a button is pressed. I have added: a button to perform the set-aside the checkbox in the repeating area containing ID and have created the page to display the persistent data. How do I program the button on the sort page, and how do I program the session logic on the set-aside(cart) page? I want to try to perform this task using only JSP, for the cart needs to be funtioning by week end. Thanks for any advice you can provide! -- Invoice Page %@page language=java import=java.sql.*% %@ include file=../Connections/connBeachwear.jsp % % String rsBeachwear__varCheckbox = 1; String rsBeachwear__showCheckbox = no; if (request.getParameter (valueCheckbox)!=null) {rsBeachwear__varCheckbox = (String)request.getParameter (valueCheckbox) ;} % % String rsBeachwear__name = ID;//default sort value if (request.getParameter (order) !=null) {rsBeachwear__name = (String)request.getParameter (order);} String rsBeachwear__sort = ASC;//default sort value if (request.getParameter (sort) !=null) {rsBeachwear__sort = (String)request.getParameter (sort);} String rsBeachwear__orderby =ID;//default value if (request.getParameter (order) !=null) {rsBeachwear__orderby = (String)request.getParameter(order);} String rsBeachwear__sortby =ASC;//default value if (request.getParameter (sort) !=null) {rsBeachwear__sortby = (String)request.getParameter(sort);} % % Driver DriverrsBeachwear = (Driver)Class.forName(MM_connBeachwear_DRIVER).newInstance(); Connection ConnrsBeachwear = DriverManager.getConnection(MM_connBeachwear_STRING,MM_connBeachwear_USERNAME,MM_connBeachwear_PASSWORD); String chkValues[]=request.getParameterValues(valueCheckbox); StringBuffer prepStr=new StringBuffer(SELECT ID, Item, Color, Size FROM Beachwear WHERE ID=); for(int x = 0; x chkValues.length; ++x) { prepStr.append(chkValues[x]); if((x+1)chkValues.length){ prepStr.append( OR ID=); }//end if }//end for loop prepStr.append( ORDER BY + rsBeachwear__name + + rsBeachwear__sort ); PreparedStatement StatementrsBeachwear=ConnrsBeachwear.prepareStatement(prepStr.toString()); ResultSet rsBeachwear = StatementrsBeachwear.executeQuery(); Object rsBeachwear_data; % titleBeachwear Title/title body bgcolor=#FF pnbsp;/p pnbsp;/p pbr INVOICEbr /p %//FORM GET METHOD% form name=form1 method=get action=Invoice.jsp p align=center % //NEW BUTTON TO SUBMIT CHECK-MARKED RECORDS TO CART: NOT SURE HOW TO CODE??? % input type=submit name=Submit2 value=Set Aside All Records Checked /p %while(rsBeachwear.next()){ ; % table width=75% border=1 tr td width=8%ID:/td td width=69%%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td td width=23% % SEND-RECORD-TO-CART CHECKBOX % div align=centerSet-Aside: input type=checkbox name=cbSetAside value=%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)% /div /td /tr tr td width=8%ITEM:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Item))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%COLOR:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Color))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%SIZE:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Size))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr % //TEST TO DETERMINE IF CHECKBOX ROW SHOULD BE DISPLAYED??? if (rsBeachwear__showCheckbox == yes) { % tr td width=8%nbsp;/td td colspan=2 input type=checkbox name=valueCheckbox value=%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)% checked /td /tr % } % /table % } % pnbsp; /p br table width=54% border=1 tr td width=29% div align=centerParameter /div /td td width=28% div align=center1/div /td td width=43% div align=center2/div /td /tr tr td width=29% div align=center input type=submit value=Sort Now /div /td td width=28% div align=center select name=order size=1 option value=ID % if (rsBeachwear__orderby.equals(ID)) {out.print(selected); } % ID/option option value=Item % if (rsBeachwear__orderby.equals(Item)) {out.print(selected); } % Item/option option value=Color % if (rsBeachwear__orderby.equals(Color)) {out.print(selected); } % Color/option option value=Size % if (rsBeachwear__orderby.equals(Size)) {out.print(selected); } % Size/option
Re: URLConnection and Password and Username
Title: RE: URLConnection and Password and Username You know.. I went ahead and followed this.. and there is a major typo on the first tutorial on the second page when creating the mysql database for tomcatusers. Look for it if you do it this way: 5. Create the user_roles table using the following command: create table users ( user_name varchar(15) not null, role_name varchar(15) not null, primary key(user_name, role_name) ); SHOULD SAY: 5. Create the user_roles table using the following command: create table user_roles ( user_name varchar(15) not null, role_name varchar(15) not null, primary key(user_name, role_name) ); - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Ronald Wildenberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:36 AM To: [EMAIL PROTECTED] Subject: Re: URLConnection and Password and Username Hi Peter, You are taking the wrong approach here I think. You should not code these kind of security issues directly into your JSP or servlets, but instead use the Tomcat security features. If you use Tomcat, of course :-) There are some very good article on O'Reilly about protecting parts of your web site with username/password combinations: http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html Good luck, Ronald Wildenberg. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: HP Bluestone??
The documentation and feature list are available at http://www.bluestone.com/products/hp-as/default.htm -Original Message-From: Eunum Listener [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 9:13 AMTo: [EMAIL PROTECTED]Subject: HP Bluestone??Does anyone use the HP Bluestone HTTP/JSP/Servlet server? Can you give any feedback on:1 - stability2 - performance3 - load balancing3 - JSP standards compliance4 - process monitoring5 - reportingetc...thanks, Jon This message was posted using eunumTo interact with a real-time, threaded interface to this e-mail list, clickthe link below:JSP-INTEREST=== 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Red Hat 7.1 Tomcat 4.0.1
Title: RE: Red Hat 7.1 Tomcat 4.0.1 Also, it's /etc/init.d/tomcat4 not /etc/init.d/tomcat (at least on my system) - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: [Moisey Oysgelt] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 12:58 PM To: [EMAIL PROTECTED] Subject: Re: Red Hat 7.1 Tomcat 4.0.1 The port is 8180 !!! -Original Message- From: moisey.g.oysgelt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 1:41 PM To: JSP-INTEREST Subject: Red Hat 7.1 Tomcat 4.0.1 I've install Tomcat . No Errors. Everything Ok. But Localhost:8080 is empty What did I need to do to start Tomcat. I've done /etc/init.d/tomcat restart already Moisey Oysgelt Proposal, Engineering Pricing Software Sprint-NIS-OSPI-ADM-PEPS Business Phone: 404.649.5374 Business Fax: 404.649.5409 3100 Cumberland Circle Atlanta GA 30339 Mailstop: GA ATL N1604 [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: tomcat
Title: RE: tomcat A BOOK was just released. Apache Jakarta-Tomcat by APress. I pre-ordered mine a month before it hit the shelf. It's awesome! Also, There is another book I would recommend. It's called JSP, Servlets, and MySQL by David Harms. EXCELLENT. Coolest Tutorial I've ever read. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:03 AM To: [EMAIL PROTECTED] Subject: tomcat ok, I got tomcat, could someone recommand a good place/book for tutorials/docs on webapps? using tomcat? I already read the doc comes with it, seems to be a bit vague. thanks yan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Title: RE: WebSphere and JSP Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language=java % Thanks! Troy Campano -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Title: Message No, once I was trying to get WebSphere working on my machine and couldn't figure why it wasn't working. I just added: %@ page language="java" % and it magically worked. But this is not the case in this instance. -Original Message-From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 2:38 PMTo: [EMAIL PROTECTED]Subject: Re: WebSphere and JSPImportance: High Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language="java" % Thanks! Troy Campano -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Red Hat 7.1 Tomcat 4.0.1
Title: RE: Red Hat 7.1 Tomcat 4.0.1 Also also, if you do netstat -ac you can see all the open ports currently running on your machine. if you do netstat -ac | grep 8180, you will see ifport 8180is running. .or if you just did netstat -ac | grep 80 it would show ports 80 8080 8180 8990, whatever has an 80 in it. This is especially useful when you are checking to see if connections on your tomcat port are bring received or not. Help to figure out where the problem is. RedHat 7.1 has some REAL HARSH firewall rules if you selected them when installing. They also may need to be modified. -Original Message-From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 12:34 PMTo: [EMAIL PROTECTED]Subject: Re: Red Hat 7.1 Tomcat 4.0.1Importance: High Also, it's /etc/init.d/tomcat4 not /etc/init.d/tomcat (at least on my system) - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: [Moisey Oysgelt] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 12:58 PM To: [EMAIL PROTECTED] Subject: Re: Red Hat 7.1 Tomcat 4.0.1 The port is 8180 !!! -Original Message- From: moisey.g.oysgelt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 1:41 PM To: JSP-INTEREST Subject: Red Hat 7.1 Tomcat 4.0.1 I've install Tomcat . No Errors. Everything Ok. But Localhost:8080 is empty What did I need to do to start Tomcat. I've done /etc/init.d/tomcat restart already Moisey Oysgelt Proposal, Engineering Pricing Software Sprint-NIS-OSPI-ADM-PEPS Business Phone: 404.649.5374 Business Fax: 404.649.5409 3100 Cumberland Circle Atlanta GA 30339 Mailstop: GA ATL N1604 [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Title: Message I figured as much. Try putting the jsp in the default webapp's dir with all it's jsps and see if it runs there. That will help you to determine where in WAS it's not setup right. -Original Message-From: Troy Campano [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 12:40 PMTo: [EMAIL PROTECTED]Subject: Re: WebSphere and JSP No, once I was trying to get WebSphere working on my machine and couldn't figure why it wasn't working. I just added: %@ page language="java" % and it magically worked. But this is not the case in this instance. -Original Message-From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 2:38 PMTo: [EMAIL PROTECTED]Subject: Re: WebSphere and JSPImportance: High Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language="java" % Thanks! Troy Campano -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Title: Message You also MAY have to bounce WAS after adding JSP content. I don't remember if you do for JSP's. I know you do for defined servlets. -Original Message-From: Troy Campano [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 12:40 PMTo: [EMAIL PROTECTED]Subject: Re: WebSphere and JSP No, once I was trying to get WebSphere working on my machine and couldn't figure why it wasn't working. I just added: %@ page language="java" % and it magically worked. But this is not the case in this instance. -Original Message-From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 2:38 PMTo: [EMAIL PROTECTED]Subject: Re: WebSphere and JSPImportance: High Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language="java" % Thanks! Troy Campano -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Web Application Structure iplanet4.1 ??
I found this link which might help you http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/2-examp.htm#21044 -Davis Yan Zhu wrote: as far as i know, it does NOT support web.xml, or taglib, or WEB-INF, it supports standard jsp, servlet etc, but that's about it. Troy Campano wrote: > Do you know if it supports TABLIBs? > What would be something comparable to the web.xml file? > > Thank you for any help you can give! > > -Original Message- > From: Frederic Lardieg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 12, 2001 11:25 AM > To: [EMAIL PROTECTED] > Subject: Re: Web Application Structure iplanet4.1 ?? > > iPlanet 4.1 does not support WAR files and Web application stuff :o(( > > Fred > -Original Message- > From: sufi malak [mailto:[EMAIL PROTECTED]] > Sent: 12 December 2001 16:23 > To: [EMAIL PROTECTED] > Subject: Web Application Structure iplanet4.1 ?? > > what is the Web Application Structure for iPlanet4.1, I did not find > anything in the doc, thanks > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > === > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Have already tried but didnt work. Did restart the WebSphere too. That too didnt work. Any more ideas??? Thanks for your input, -Rizwan Swart, James (Jim) ** CTR To: [EMAIL PROTECTED] ** cc: (bcc: Rizwan Lodhi/US-Corporate/3M/US) [EMAIL PROTECTED] Subject: Re: WebSphere and JSP OM 12/12/2001 01:42 PM Please respond to A mailing list about Java Server Pages specification and reference I figured as much. Try putting the jsp in the default webapp's dir with all it's jsps and see if it runs there. That will help you to determine where in WAS it's not setup right. -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP No, once I was trying to get WebSphere working on my machine and couldn't figure why it wasn't working. I just added: %@ page language=java % and it magically worked. But this is not the case in this instance. -Original Message- From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 2:38 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Importance: High Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language=java % Thanks! Troy Campano -Original Message- From: Joe Blow [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
Re: tomcat
hmm, been playing around with it, tomcat seems to lack logging stuff, also it's a bit cryptic in deploying/managing webapps. "Swart, James (Jim) ** CTR **" wrote: A BOOK was just released. "Apache Jakarta-Tomcat" by APress. I pre-ordered mine a month before it hit the shelf. It's awesome! Also, There is another book I would recommend. It's called JSP, Servlets, and MySQL by David Harms. EXCELLENT. Coolest Tutorial I've ever read. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 FAX: 720-494-2331 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:03 AM To: [EMAIL PROTECTED] Subject: tomcat ok, I got tomcat, could someone recommand a good place/book for tutorials/docs on webapps? using tomcat? I already read the doc comes with it, seems to be a bit vague. thanks yan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: tomcat
O'Reillys JavaServer Pages the one with the toaster on the cover Theo Starr Asset Information System Specialist Integral Energy Huntingwood [EMAIL PROTECTED] [EMAIL PROTECTED] 13/12/2001 4:03:01 ok, I got tomcat, could someone recommand a good place/book for tutorials/docs on webapps? using tomcat? I already read the doc comes with it, seems to be a bit vague. thanks yan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ** NOTICE - This communication contains information which is confidential and the copyright of Integral Energy Australia or a third party. If you are not the intended recipient of this communication please delete and destroy all copies and telephone Integral Energy on 131081 immediately. If you are the intended recipient of this communication you should not copy, disclose or distribute this communication without the authority of Integral Energy. Any views expressed in this Communication are those of the individual sender, except where the sender specifically states them to be the views of Integral Energy. Except as required at law, Integral Energy does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or inference. ** ==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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Title: RE: WebSphere and JSP Do other JSP's in the default webapp work? - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:54 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have already tried but didnt work. Did restart the WebSphere too. That too didnt work. Any more ideas??? Thanks for your input, -Rizwan Swart, James (Jim) ** CTR To: [EMAIL PROTECTED] ** cc: (bcc: Rizwan Lodhi/US-Corporate/3M/US) [EMAIL PROTECTED] Subject: Re: WebSphere and JSP OM 12/12/2001 01:42 PM Please respond to A mailing list about Java Server Pages specification and reference I figured as much. Try putting the jsp in the default webapp's dir with all it's jsps and see if it runs there. That will help you to determine where in WAS it's not setup right. -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP No, once I was trying to get WebSphere working on my machine and couldn't figure why it wasn't working. I just added: %@ page language=java % and it magically worked. But this is not the case in this instance. -Original Message- From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 2:38 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Importance: High Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language=java % Thanks! Troy Campano -Original Message- From: Joe Blow [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com http://www.jspinsider.com File att1.htm not included with reply ==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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: tomcat
You may want to join the Tomcat Users List. It's HIGH traffic (about 150 messages a day). I keep an archive of all their messages and it averages 6000 a month. I know on that list, people have brought up logging in tomcat.. and people have posted work-arounds sure to be included as standard in future realses (or it's already there and I don't care because I don't log my java apps yet). -Original Message-From: Yan Zhu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 12, 2001 1:11 PMTo: [EMAIL PROTECTED]Subject: Re: tomcat hmm, been playing around with it, tomcat seems to lack logging stuff, also it's a bit cryptic in deploying/managing webapps. "Swart, James (Jim) ** CTR **" wrote: A BOOK was just released. "Apache Jakarta-Tomcat" by APress. I pre-ordered mine a month before it hit the shelf. It's awesome! Also, There is another book I would recommend. It's called JSP, Servlets, and MySQL by David Harms. EXCELLENT. Coolest Tutorial I've ever read. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:03 AM To: [EMAIL PROTECTED] Subject: tomcat ok, I got tomcat, could someone recommand a good place/book for tutorials/docs on webapps? using tomcat? I already read the doc comes with it, seems to be a bit vague. thanks yan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: tomcat
Theo Starr wrote: O'Reillys JavaServer Pages the one with the toaster on the cover Thanks for recommending my book. Just to clarify, the book is available with two covers: a toaster cover and a wolf cover. The content is the same. For more about this, see: http://TheJSPBook.com/faq/details.jsp?id=1020 Hans [EMAIL PROTECTED] 13/12/2001 4:03:01 ok, I got tomcat, could someone recommand a good place/book for tutorials/docs on webapps? using tomcat? I already read the doc comes with it, seems to be a bit vague. thanks yan === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ** NOTICE - This communication contains information which is confidential and the copyright of Integral Energy Australia or a third party. If you are not the intended recipient of this communication please delete and destroy all copies and telephone Integral Energy on 131081 immediately. If you are the intended recipient of this communication you should not copy, disclose or distribute this communication without the authority of Integral Energy. Any views expressed in this Communication are those of the individual sender, except where the sender specifically states them to be the views of Integral Energy. Except as required at law, Integral Energy does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or inference. ** 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com Author of JavaServer Pages (O'Reilly), http://TheJSPBook.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: TimeZone in jsp
Sridhar, Take a look at the java.util.GregorianCalendar class. It has two constructors: GregorianCalendar(TimeZone zone) Constructs a GregorianCalendar based on the current time in the given time zone with the default locale. and GregorianCalendar(TimeZone zone, Locale aLocale) Constructs a GregorianCalendar based on the current time in the given time zone with the given locale. Of course, you will need to know what timezone in Australia you'd like the time in. The list of timezones can be obtained from java.util.TimeZone.getAvailableIDs() Regards, Richard At 10:45 AM 12/12/2001 -0500, you wrote: Hi all, I need to find the date and time of Australia in my jsp. How can i find out this? I appreciate your help. thanks, Sridhar Boddula, GISG/Global Products 2-5832 -Original Message- From: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED]@STATESTREET On Behalf Of JOSHY MON M C [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
JSP Calendar
Title: JSP Calendar Has anyone come across a free JSP web based calendar that uses a database in the backend?? I've been looking and the closest thing I can find it a servlet. Thanks! Troy Campano
Advanced programmers: How can I add cart functionality to this page?
The code is below. I've successfully coded a repeating-record detail page with pull-down sort boxes. Though the page works perfectly, I need to add cart functionality, and would like to keep it simple. I would simply like to have clients view the repeating details, sort the records, and then select each record desired to be placed in a cart. Where do I start??? -- Repeating Detail Page: Needs Cart %@page language=java import=java.sql.*% %@ include file=../Connections/connBeachwear.jsp % % String rsBeachwear__varCheckbox = 1; String rsBeachwear__showCheckbox = no; if (request.getParameter (valueCheckbox)!=null) {rsBeachwear__varCheckbox = (String)request.getParameter (valueCheckbox) ;} % % String rsBeachwear__name = ID;//default sort value if (request.getParameter (order) !=null) {rsBeachwear__name = (String)request.getParameter (order);} String rsBeachwear__sort = ASC;//default sort value if (request.getParameter (sort) !=null) {rsBeachwear__sort = (String)request.getParameter (sort);} String rsBeachwear__orderby =ID;//default value if (request.getParameter (order) !=null) {rsBeachwear__orderby = (String)request.getParameter(order);} String rsBeachwear__sortby =ASC;//default value if (request.getParameter (sort) !=null) {rsBeachwear__sortby = (String)request.getParameter(sort);} % % Driver DriverrsBeachwear = (Driver)Class.forName(MM_connBeachwear_DRIVER).newInstance(); Connection ConnrsBeachwear = DriverManager.getConnection(MM_connBeachwear_STRING,MM_connBeachwear_USERNAME,MM_connBeachwear_PASSWORD); String chkValues[]=request.getParameterValues(valueCheckbox); StringBuffer prepStr=new StringBuffer(SELECT ID, Item, Color, Size FROM Beachwear WHERE ID=); for(int x = 0; x chkValues.length; ++x) { prepStr.append(chkValues[x]); if((x+1)chkValues.length){ prepStr.append( OR ID=); }//end if }//end for loop prepStr.append( ORDER BY + rsBeachwear__name + + rsBeachwear__sort ); PreparedStatement StatementrsBeachwear=ConnrsBeachwear.prepareStatement(prepStr.toString()); ResultSet rsBeachwear = StatementrsBeachwear.executeQuery(); Object rsBeachwear_data; % titleBeachwear Title/title body bgcolor=#FF pnbsp;/p pnbsp;/p pbr INVOICEbr /p %//FORM GET METHOD% form name=form1 method=get action=Invoice.jsp p align=center /p %while(rsBeachwear.next()){ ; % table width=75% border=1 tr td width=8%ID:/td td width=69%%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td td width=23% /div /td /tr tr td width=8%ITEM:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Item))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%COLOR:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Color))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%SIZE:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Size))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr % tr td width=8%nbsp;/td td colspan=2 input type=checkbox name=valueCheckbox value=%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)% checked /td /tr /table % } % pnbsp; /p br table width=54% border=1 tr td width=29% div align=centerParameter /div /td td width=28% div align=center1/div /td td width=43% div align=center2/div /td /tr tr td width=29% div align=center input type=submit value=Sort Now /div /td td width=28% div align=center select name=order size=1 option value=ID % if (rsBeachwear__orderby.equals(ID)) {out.print(selected); } % ID/option option value=Item % if (rsBeachwear__orderby.equals(Item)) {out.print(selected); } % Item/option option value=Color % if (rsBeachwear__orderby.equals(Color)) {out.print(selected); } % Color/option option value=Size % if (rsBeachwear__orderby.equals(Size)) {out.print(selected); } % Size/option /select /div /td td width=43% div align=center select name=sort size=1 option value=ASC % if (rsBeachwear__sortby.equals(ASC)) {out.print(selected); } %Ascending/option option value=DESC % if (rsBeachwear__sortby.equals(DESC)) {out.print(selected); } %Descending/option /select /div /td /tr /table /form % rsBeachwear.close(); ConnrsBeachwear.close(); % === 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://archives.java.sun.com/jsp-interest.html
Re: Advanced programmers: How can I add cart functionality to this page?
Michael, I'd suggest that the first thing you do is get some good books on JSP, Java, and application development for the web. It's unlikely anyone will be able to afford the time to go through your code, work out what it's doing, pick out how to do what you need to do, and then tell you how to do it. Take a look at Hans' book on JSP (O'Reillys JavaServer Pages) as everyone seems to like that (though I haven't personally used it yet). For a Java book, the traditional university text when I was at uni was Deitel Deitel's Java book (can't remember the title or publisher), and while not the best textbook ever will cover everything you need to get a really firm foundation in the nicer points of Java. As for web app development, not sure: I tend to spend a lot of time using the specs etc. from w3.org directly, as they're the reference from which a lot of this stuff is implemented (that is, this web stuff -- the JSP/Servlet/J2EE etc. specs are all on java.sun.com). Sorry I can't be of more help, --Chris -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Sent: Wednesday, December 12, 2001 3:19 PM To: [EMAIL PROTECTED] Subject: Advanced programmers: How can I add cart functionality to this page? The code is below. I've successfully coded a repeating-record detail page with pull-down sort boxes. Though the page works perfectly, I need to add cart functionality, and would like to keep it simple. I would simply like to have clients view the repeating details, sort the records, and then select each record desired to be placed in a cart. Where do I start??? -- Repeating Detail Page: Needs Cart %@page language=java import=java.sql.*% %@ include file=../Connections/connBeachwear.jsp % % String rsBeachwear__varCheckbox = 1; String rsBeachwear__showCheckbox = no; if (request.getParameter (valueCheckbox)!=null) {rsBeachwear__varCheckbox = (String)request.getParameter (valueCheckbox) ;} % % String rsBeachwear__name = ID;//default sort value if (request.getParameter (order) !=null) {rsBeachwear__name = (String)request.getParameter (order);} String rsBeachwear__sort = ASC;//default sort value if (request.getParameter (sort) !=null) {rsBeachwear__sort = (String)request.getParameter (sort);} String rsBeachwear__orderby =ID;//default value if (request.getParameter (order) !=null) {rsBeachwear__orderby = (String)request.getParameter(order);} String rsBeachwear__sortby =ASC;//default value if (request.getParameter (sort) !=null) {rsBeachwear__sortby = (String)request.getParameter(sort);} % % Driver DriverrsBeachwear = (Driver)Class.forName(MM_connBeachwear_DRIVER).newInstance(); Connection ConnrsBeachwear = DriverManager.getConnection(MM_connBeachwear_STRING,MM_connBeachwear_USERNAM E,MM_connBeachwear_PASSWORD); String chkValues[]=request.getParameterValues(valueCheckbox); StringBuffer prepStr=new StringBuffer(SELECT ID, Item, Color, Size FROM Beachwear WHERE ID=); for(int x = 0; x chkValues.length; ++x) { prepStr.append(chkValues[x]); if((x+1)chkValues.length){ prepStr.append( OR ID=); }//end if }//end for loop prepStr.append( ORDER BY + rsBeachwear__name + + rsBeachwear__sort ); PreparedStatement StatementrsBeachwear=ConnrsBeachwear.prepareStatement(prepStr.toString()); ResultSet rsBeachwear = StatementrsBeachwear.executeQuery(); Object rsBeachwear_data; % titleBeachwear Title/title body bgcolor=#FF pnbsp;/p pnbsp;/p pbr INVOICEbr /p %//FORM GET METHOD% form name=form1 method=get action=Invoice.jsp p align=center /p %while(rsBeachwear.next()){ ; % table width=75% border=1 tr td width=8%ID:/td td width=69%%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td td width=23% /div /td /tr tr td width=8%ITEM:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Item))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%COLOR:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Color))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%SIZE:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Size))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr % tr td width=8%nbsp;/td td colspan=2 input type=checkbox name=valueCheckbox value=%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)% checked /td /tr /table % } % pnbsp; /p br table width=54% border=1 tr td width=29% div align=centerParameter /div /td td width=28% div align=center1/div /td td width=43% div align=center2/div /td /tr tr td width=29% div align=center input
: How to adjust the weblogic pool parameter to improve systemperformance?
Sorry all: My PC has a worm virus so it change my e-mail content , I am sorry for all . I use weblogic 6.0 and oracle 8.1.6 Sorry again. Thanks for help. -ÓʼþÔ¼þ- ·¢¼þÈË: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] ´ú±í Daniel Jaffa ·¢ËÍʱ¼ä: 2001Äê12ÔÂ12ÈÕ 22:30 ÊÕ¼þÈË: [EMAIL PROTECTED] Ö÷Ìâ: Re: How to adjust the weblogic pool parameter to improve systemperformance? Robin, First, It is not nice to wish Death All: Second, What version of Weblogic do you use. And what type of jdbc driver do you use Original Message Follows From: Robin [EMAIL PROTECTED] Death all : How to adjust the weblogic pool parameter to improve system performance?I use the data pool but I do not know the parameter information . Thanks for your help . Yours: Robin _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Programmers: Adding cart functionality
Thanks, Chris. Thanks for the recommendations! I use WROX Professional JSP-2nd Edition. I don't think I expressed myself clearly. My code works well. My prob is I can't figure out how to add ANOTHER submit button to pass a string variable out of the form and into the cart page without causing an exception. Thanks again, Michael - Original Message - From: Chris Tucker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 5:35 PM Subject: Re: Advanced programmers: How can I add cart functionality to this page? Michael, I'd suggest that the first thing you do is get some good books on JSP, Java, and application development for the web. It's unlikely anyone will be able to afford the time to go through your code, work out what it's doing, pick out how to do what you need to do, and then tell you how to do it. Take a look at Hans' book on JSP (O'Reillys JavaServer Pages) as everyone seems to like that (though I haven't personally used it yet). For a Java book, the traditional university text when I was at uni was Deitel Deitel's Java book (can't remember the title or publisher), and while not the best textbook ever will cover everything you need to get a really firm foundation in the nicer points of Java. As for web app development, not sure: I tend to spend a lot of time using the specs etc. from w3.org directly, as they're the reference from which a lot of this stuff is implemented (that is, this web stuff -- the JSP/Servlet/J2EE etc. specs are all on java.sun.com). Sorry I can't be of more help, --Chris -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Sent: Wednesday, December 12, 2001 3:19 PM To: [EMAIL PROTECTED] Subject: Advanced programmers: How can I add cart functionality to this page? The code is below. I've successfully coded a repeating-record detail page with pull-down sort boxes. Though the page works perfectly, I need to add cart functionality, and would like to keep it simple. I would simply like to have clients view the repeating details, sort the records, and then select each record desired to be placed in a cart. Where do I start??? -- Repeating Detail Page: Needs Cart %@page language=java import=java.sql.*% %@ include file=../Connections/connBeachwear.jsp % % String rsBeachwear__varCheckbox = 1; String rsBeachwear__showCheckbox = no; if (request.getParameter (valueCheckbox)!=null) {rsBeachwear__varCheckbox = (String)request.getParameter (valueCheckbox) ;} % % String rsBeachwear__name = ID;//default sort value if (request.getParameter (order) !=null) {rsBeachwear__name = (String)request.getParameter (order);} String rsBeachwear__sort = ASC;//default sort value if (request.getParameter (sort) !=null) {rsBeachwear__sort = (String)request.getParameter (sort);} String rsBeachwear__orderby =ID;//default value if (request.getParameter (order) !=null) {rsBeachwear__orderby = (String)request.getParameter(order);} String rsBeachwear__sortby =ASC;//default value if (request.getParameter (sort) !=null) {rsBeachwear__sortby = (String)request.getParameter(sort);} % % Driver DriverrsBeachwear = (Driver)Class.forName(MM_connBeachwear_DRIVER).newInstance(); Connection ConnrsBeachwear = DriverManager.getConnection(MM_connBeachwear_STRING,MM_connBeachwear_USERNAM E,MM_connBeachwear_PASSWORD); String chkValues[]=request.getParameterValues(valueCheckbox); StringBuffer prepStr=new StringBuffer(SELECT ID, Item, Color, Size FROM Beachwear WHERE ID=); for(int x = 0; x chkValues.length; ++x) { prepStr.append(chkValues[x]); if((x+1)chkValues.length){ prepStr.append( OR ID=); }//end if }//end for loop prepStr.append( ORDER BY + rsBeachwear__name + + rsBeachwear__sort ); PreparedStatement StatementrsBeachwear=ConnrsBeachwear.prepareStatement(prepStr.toString()); ResultSet rsBeachwear = StatementrsBeachwear.executeQuery(); Object rsBeachwear_data; % titleBeachwear Title/title body bgcolor=#FF pnbsp;/p pnbsp;/p pbr INVOICEbr /p %//FORM GET METHOD% form name=form1 method=get action=Invoice.jsp p align=center /p %while(rsBeachwear.next()){ ; % table width=75% border=1 tr td width=8%ID:/td td width=69%%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td td width=23% /div /td /tr tr td width=8%ITEM:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Item))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%COLOR:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Color))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%SIZE:/td td colspan=2%=(((rsBeachwear_data =
Re: TimeZone in jsp
Read advanced Javaserver pages, by David M. Geary. There is a chapter about this. Good luck! --- Richard Yee [EMAIL PROTECTED] wrote: Sridhar, Take a look at the java.util.GregorianCalendar class. It has two constructors: GregorianCalendar(TimeZone zone) Constructs a GregorianCalendar based on the current time in the given time zone with the default locale. and GregorianCalendar(TimeZone zone, Locale aLocale) Constructs a GregorianCalendar based on the current time in the given time zone with the given locale. Of course, you will need to know what timezone in Australia you'd like the time in. The list of timezones can be obtained from java.util.TimeZone.getAvailableIDs() Regards, Richard At 10:45 AM 12/12/2001 -0500, you wrote: Hi all, I need to find the date and time of Australia in my jsp. How can i find out this? I appreciate your help. thanks, Sridhar Boddula, GISG/Global Products 2-5832 -Original Message- From: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED]@STATESTREET On Behalf Of JOSHY MON M C [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: A JSP Question - model 1 architecture Can any body answer me. I am waiting for an IMMEDIATE reply. Using model 1 Architecture : 1. I have an elmpleelist.jsp - contoller gets a Vector of emplyee Object 2. EmployeeListView.jsp - showing the result, iterating it. My doubt, how to pass the vector from one page to other.? Please respond ASAP. Also I want somebody to compare model 1 and Model 2. Is model 1 that bad compated to model 2 -Regards Joshy === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Package
Hi All, Does anyone know where the following is contained in? import javax.sql.DataSource; import javax.naming.InitialContext; import javax.naming.Context; import javax.naming.NamingException; I opened the DBTagLib using JBuilder and it seems that JBuilder cannot find the packages. I assume I'm missing something in my ClassPath. Thank you and regards, Dinesh, S. === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Usage of jsp:include versus file include
When do we actually need to use the jsp:include instead of file include. As I think in all possible scenerio we can use file include. The problem is I never changed the included file. It just contains the code for no caching and I never needed to change it. Then why does it work using jsp:include but does not work with file include. Thanks, -ShriKant A mailing list about Java Server Pages specification and reference wrote: From: Jaime Barnett [EMAIL PROTECTED]@JAVA.SUN.COM on 12/12/2001 08:22 AM MST Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Usage of jsp:include versus file include What is happening is that @% include file= is included at translation time vs. jsp:include page= is included at request. If the included file changes , using @% include file=, then the files that use the include need to be resaved. Hopes this helps. Jaime -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of ShriKant Vashishtha Sent: Wednesday, December 12, 2001 7:52 AM To: [EMAIL PROTECTED] Subject: Re: Usage of jsp:include versus file include I am sorry if it troubles but I am forced to repeat my query. I used to think that it is always better to use static include in the JSP instead of using jsp:include. But now this problem bothers me. Please advice.. -ShriKant A mailing list about Java Server Pages specification and reference wrote: From: ShriKant Vashishtha [EMAIL PROTECTED]@JAVA.SUN.COM on 12/12/2001 03:43 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Usage of jsp:include versus file include Hi All. For caching I am using the following code and am putting in a common JSP which could be included in different JSPs. response.setHeader(Cache-Control,no-cache); //HTTP 1.1, response.setHeader(Pragma,no-cache); //HTTP 1.0, response.setDateHeader (Expires, 0); //prevents caching at the proxy server If I use %@ include page file=sample.jsp% the purpose does not get solved and caching of the pages occurs but when I use jsp:include directive it does work properly. What is the difference and why is it happening... Thanks, -ShriKant === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: WebSphere and JSP
Check from the WebSphere console the Documnet root specified for your web-application in the Advanced tab of web-app. There only you need to put your JSPs. Again try to check whether JSP engine has the write permission in $WASHOME/temp/default_host/webapp if you are using UNIX. Hope this helps, -ShriKant A mailing list about Java Server Pages specification and reference wrote: From: Swart, James (Jim) ** CTR ** [EMAIL PROTECTED]@JAVA.SUN.COM on 12/12/2001 04:31 PM EST Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: WebSphere and JSP Do other JSP's in the default webapp work? - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Joe Blow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:54 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have already tried but didnt work. Did restart the WebSphere too. That too didnt work. Any more ideas??? Thanks for your input, -Rizwan Swart, James (Jim) ** CTR To: [EMAIL PROTECTED] ** cc: (bcc: Rizwan Lodhi/US-Corporate/3M/US) [EMAIL PROTECTED] Subject: Re: WebSphere and JSP OM 12/12/2001 01:42 PM Please respond to A mailing list about Java Server Pages specification and reference I figured as much. Try putting the jsp in the default webapp's dir with all it's jsps and see if it runs there. That will help you to determine where in WAS it's not setup right. -Original Message- From: Troy Campano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP No, once I was trying to get WebSphere working on my machine and couldn't figure why it wasn't working. I just added: %@ page language=java % and it magically worked. But this is not the case in this instance. -Original Message- From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 2:38 PM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Importance: High Boy I almost though you were bring sarcastic there. - J a m e s B. S w a r t Agere Systems - Colorado Design Centers Unix/Windows Systems Administrator, WAN, LAN, Desktop, Voice, Printers, Security Focal Point, Local CIO Service Delivery Manager Contact VOICE: 720-494-2330 ¿ FAX: 720-494-2331 -Original Message- From: Troy Campano [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, December 12, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere and JSP Have you tried putting this at the top of the page? %@ page language=java % Thanks! Troy Campano -Original Message- From: Joe Blow [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, December 12, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: WebSphere and JSP Hi there, I'm trying to run a simple .jsp file. Web server is IBM WebSphere Application Server 4.0. I can run the .html file without any problem, but due to some reason when I change the ext to .jsp it doesnt work. Any ideas??? Thanks, -Rizwan === 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://archives.java.sun.com/jsp-interest.html http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://java.sun.com/products/jsp/faq.html
Re: Advanced programmers: How can I add cart functionality to thi s page?
hi michael, for making a shopping cart you shall have to make use of the session. What i had done in my shopping cart was adding the elements to the vector and adding the vector in the session. I have used a bean for setting and getting the values which he added to the shopping cart. u can find shopping cart example in so many books and sites on how to do. Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-3140 -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 3:19 PM To: [EMAIL PROTECTED] Subject: Advanced programmers: How can I add cart functionality to this page? The code is below. I've successfully coded a repeating-record detail page with pull-down sort boxes. Though the page works perfectly, I need to add cart functionality, and would like to keep it simple. I would simply like to have clients view the repeating details, sort the records, and then select each record desired to be placed in a cart. Where do I start??? -- Repeating Detail Page: Needs Cart %@page language=java import=java.sql.*% %@ include file=../Connections/connBeachwear.jsp % % String rsBeachwear__varCheckbox = 1; String rsBeachwear__showCheckbox = no; if (request.getParameter (valueCheckbox)!=null) {rsBeachwear__varCheckbox = (String)request.getParameter (valueCheckbox) ;} % % String rsBeachwear__name = ID;//default sort value if (request.getParameter (order) !=null) {rsBeachwear__name = (String)request.getParameter (order);} String rsBeachwear__sort = ASC;//default sort value if (request.getParameter (sort) !=null) {rsBeachwear__sort = (String)request.getParameter (sort);} String rsBeachwear__orderby =ID;//default value if (request.getParameter (order) !=null) {rsBeachwear__orderby = (String)request.getParameter(order);} String rsBeachwear__sortby =ASC;//default value if (request.getParameter (sort) !=null) {rsBeachwear__sortby = (String)request.getParameter(sort);} % % Driver DriverrsBeachwear = (Driver)Class.forName(MM_connBeachwear_DRIVER).newInstance(); Connection ConnrsBeachwear = DriverManager.getConnection(MM_connBeachwear_STRING,MM_connBeachwear_USERNAM E,MM_connBeachwear_PASSWORD); String chkValues[]=request.getParameterValues(valueCheckbox); StringBuffer prepStr=new StringBuffer(SELECT ID, Item, Color, Size FROM Beachwear WHERE ID=); for(int x = 0; x chkValues.length; ++x) { prepStr.append(chkValues[x]); if((x+1)chkValues.length){ prepStr.append( OR ID=); }//end if }//end for loop prepStr.append( ORDER BY + rsBeachwear__name + + rsBeachwear__sort ); PreparedStatement StatementrsBeachwear=ConnrsBeachwear.prepareStatement(prepStr.toString()); ResultSet rsBeachwear = StatementrsBeachwear.executeQuery(); Object rsBeachwear_data; % titleBeachwear Title/title body bgcolor=#FF pnbsp;/p pnbsp;/p pbr INVOICEbr /p %//FORM GET METHOD% form name=form1 method=get action=Invoice.jsp p align=center /p %while(rsBeachwear.next()){ ; % table width=75% border=1 tr td width=8%ID:/td td width=69%%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td td width=23% /div /td /tr tr td width=8%ITEM:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Item))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%COLOR:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Color))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr tr td width=8%SIZE:/td td colspan=2%=(((rsBeachwear_data = rsBeachwear.getObject(Size))==null || rsBeachwear.wasNull())?:rsBeachwear_data)%/td /tr % tr td width=8%nbsp;/td td colspan=2 input type=checkbox name=valueCheckbox value=%=(((rsBeachwear_data = rsBeachwear.getObject(ID))==null || rsBeachwear.wasNull())?:rsBeachwear_data)% checked /td /tr /table % } % pnbsp; /p br table width=54% border=1 tr td width=29% div align=centerParameter /div /td td width=28% div align=center1/div /td td width=43% div align=center2/div /td /tr tr td width=29% div align=center input type=submit value=Sort Now /div /td td width=28% div align=center select name=order size=1 option value=ID % if (rsBeachwear__orderby.equals(ID)) {out.print(selected); } % ID/option option value=Item % if (rsBeachwear__orderby.equals(Item)) {out.print(selected); } % Item/option option value=Color % if (rsBeachwear__orderby.equals(Color)) {out.print(selected); } % Color/option option value=Size % if (rsBeachwear__orderby.equals(Size)) {out.print(selected); } % Size/option /select /div /td td width=43% div align=center select name=sort size=1 option value=ASC % if
Re: Urgent !!!!!!!! Please help me
Dear Joe, Thanks for your suggestion, if you don't mind can u send me the code itself.Becos i have a another task, which should be completed very soon.It's a personal request for every member of our community.Don't mind, if this hurts anybody feeling or status. Thanks Varna... - Original Message - From: Joe Cheng To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 9:53 PM Subject: Re: Urgent Please help me Ravindra, Since you're using the %! directive, you're just declaring methods, not actually calling them. You need to actually call them. You should also be aware that what you're doing is incredibly dangerous. If two requests hit this page at the same time your output will be corrupt. The best way is to put this Java code in a real class, but if you must do it in JSP do this--take out all the %! declarations. %--* PrintFiles.jsp* Created on December 13, 2001, 4:00 PM--% %@ page import = "java.io.*" %%@ page import = "java.sql.*" %%@ page import = "javax.servlet.*" % %--*@author Ravindra Varna*@version 1.0.0--%htmlbody bgcolor = "#246890"%Connection con;CallableStatement cstmt;ResultSet rs;String Hi = "Ravindra Varna";PrintWriter out; try{Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");con = DriverManager.getConnection("jdbc:odbc:DB","sa","");}catch(Exception e){ out.println(e); } String mysql_Statement;String file_Name;try{mysql_Statement = "{call DB_Sl_FileName}";cstmt = con.prepareCall(mysql_Statement);rs = cstmt.executeQuery();while (rs.next()){file_Name = rs.getString(2);FileReader fr = new FileReader(file_Name);int c = 0;while (c != -1){c = fr.read();out.println((char)c);}}}catch(Exception e){out.println(e);}%/body/html
HP Bluestone??
thanks for your response...I've already rtfm...I"m looking for someone with serious hands on experience who can tell me how the documented features perform in real life. We are starting a thorough due diligence on the product and I'm looking for outside input. thanks, Jon This message was posted using eunumTo interact with a real-time, threaded interface to this e-mail list, clickthe link below:JSP-INTEREST === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Urgent !!!!!!!! Please help me
Hi, My JSP contains the following things A text box and a GO button which fetches the result based on the criteria entered in textbox. The GO button has a validation for a blank search criteria and displayes alert message if we press GO without entering anything. But the problem is, if I hit on ENTER, it fetches me the result even if I haven't entered anything in the text box. It does not go through the validation which executes on pressing on GO button. Please help... -ShriKant === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
SV: Urgent !!!!!!!! Please help me
I'm not sure of this but can't you connect it to an javascript event? document.form.onsubmit(myfuction) As I said, I don't know if there is a onsubmit event on the form, but if it is, I would recomend it... Another way to do it is to have the go button make the function call (I't probably how you do it today, i'm not sure) input type=submit name=submit value=Go onClick=return checkAll() the function returns false if something is wrong and true otherwise... Since the submit always is run (even if enter is pressed) you will run this function. return is used so the submit is canceled if there is something wrong (you don't want to give a error message and then continue) Hoped it helped.. // Jan Areno -Ursprungligt meddelande- Fran: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]For ShriKant Vashishtha Skickat: den 13 december 2001 08:27 Till: [EMAIL PROTECTED] Amne: Urgent Please help me Hi, My JSP contains the following things A text box and a GO button which fetches the result based on the criteria entered in textbox. The GO button has a validation for a blank search criteria and displayes alert message if we press GO without entering anything. But the problem is, if I hit on ENTER, it fetches me the result even if I haven't entered anything in the text box. It does not go through the validation which executes on pressing on GO button. Please help... -ShriKant === 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent !!!!!!!! Please help me
U can try this way also var i=window.event.keyCode; window.status = Ready; if(i=!13){ //fetch ur result here } Meenu -Original Message- From: ShriKant Vashishtha [SMTP:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 12:57 PM To: [EMAIL PROTECTED] Subject: Urgent Please help me Hi, My JSP contains the following things A text box and a GO button which fetches the result based on the criteria entered in textbox. The GO button has a validation for a blank search criteria and displayes alert message if we press GO without entering anything. But the problem is, if I hit on ENTER, it fetches me the result even if I haven't entered anything in the text box. It does not go through the validation which executes on pressing on GO button. Please help... -ShriKant == = 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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com