Jrun to Tomcat conversion
Hi, I am new to the list, sorry if this has been discussed before. I was wondering if anybody had gone through this process before and if any issues on this. We are using Allaire JRun and trying to convert to Tomcat. Any, ANY information is usful before I attempt the process. Thanks in advance, AK Menon __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP FAQ Resource Information
This is a weekly informative posting to the jsp-interest list. Before asking questions of a general nature, please check out the resources available online to see if your question already has an answer. The best place to start is our web site: http://java.sun.com/products/jsp Some FAQs that may help you http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets The archives of this list are available at: http://archives.java.sun.com/archives/jsp-interest.html Tomcat is the reference implementation for the latest JSP and Servlet specs. You can download Tomcat from the Jakarta project's website: http://jakarta.apache.org. For feedback and discussion on Tomcat, please use the mailing list [EMAIL PROTECTED] A few notes about the use of this list. We at Sun enjoy hosting this list to give everyone a forum to discuss JSP, servlets and related technology. There are a few things that we ask of you, the list members: Please don't engage in advertising. We like to hear when new products are announced and a link for all the information. What we don't like are lengthy press releases, advertisements, and other material which falls under the umbrella term "marketing". There is no problem in stating how your product compares to another, but remember, this isn't run by Sun to be an advertising forum -- but as a technical forum. Please don't post attachments to the list. The use of VCards and S/MIME is not really needed on a list like this and is annoying to some whose readers don't support them. More serious is the posting of .zip files and other larger items. You might get flamed a little bit for S/MIME or posting in HTML. You will be removed from the list for posting a .zip or other archive file. If you need technical support from a vendor, please contact that vendor directly. Now, back to regularly scheduled programming. Anil Vijendran for the JSP/Tomcat team === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object and javascript
thanks a lot, I was also looking for such method but I didn't think it was possible. seb -Original Message- From: Konuru, Raghu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 1:30 AM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript You can use get methods such as var index="%=bean.getIndex()%"; var str="%=strIndex%"; Raghu -Original Message- From: Castiaux, Sebastien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:01 AM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript I don't think so because your JSP objects are at the server side and Javascript is at the client side. Seb -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: jsp object and javascript hey all, is there a way to reference jsp java object inside of a javascript function? 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
How to control Jsp Script timeout?
I am looking for a way to control the Jsp script time out in Jrn. Any ideas or guidance would be highly appreciated. Thanks, himanshu __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Pass Parameters and Nested Jsp Question
The answers yes. Doing it yourself is thje best way to learn. This is such an easy thing to try, you should have tried it before sending the question here, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Cheng-Liang Shen Sent: 01 February 2001 00:16 To: [EMAIL PROTECTED] Subject: Pass Parameters and Nested Jsp Question Hi all I have a question as the following I have three jsp files , they are 1.jsp, 2.jsp, 3.jsp. 1.jsp will include 2.jsp and 2.jsp will include 3.jsp. In 1.jsp jsp:include page="2.jsp" jsp:param name="aaa" value="AAA" /jsp:include In 2.jsp jsp:include page="3.jsp" jsp:param name="bbb" value="BBB" /jsp:include So in 3.jsp, we can use request.getParameter("bbb") to get the parameter value, if we still can use request.getParameter("aaa") to get the parameter value passed by 1.jsp. Thanks. Chengliang _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Thanks!! Re: [JSP-INTEREST] Which JSP Engine/Application Server is thebest?
Thanks to all of you! Some of the detailed analysis really help me A LOT! Now at least I know where to begin to look! I must say I'm pleasantly surprised by the response time of this list, thank you one more time, all of you! best regards ZHU Jia === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Disallowing concurrent login
Hi, A example is available in Professional JSP from wrox, pls check it out John thomas Venkat [EMAIL PROTECTED]@java.sun.com on 02/01/2001 02:50:03 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Disallowing concurrent login Hi All This has reference to an previous discussion on 'disallowing concurrent login' and Mr.Hans Bergsten came out with a suggestion of implementing HttpSessionBindingListener interface, add every new user to a vector, check the existence when a new user logs in ... I have implemented a solution similar to that, create a table to store details such as sessionId, User Ip, User's unique login id, session created time etc., check the table for login id, if not found, create a new session, add the loginid to that table and deny new session if the login id is found in the table. so, if the same user or anybody with the same loginid tries to sign again is redirected to another page which shows the details such the session details from the table This method works as long the user signs out using another jsp page which removes all cookies and invalidates the session, but the probelm is that if the user closes the browser window without signing out, those details are never removed from the table and he will not be able to login at all unless someone removes his details from the table Here, I am looking for a mechanism 1. which allows the tomcat container to remove all expired sessions from using sessions Ids, 2. Inform the first logged in user, log him out, invalidate that session andcreate new session for the newly signed in user 3. A method which can invalidate a session by its session Id (such as session.invalidate(sessionId), becuse HttpSession.invalidate() method does not take any arguement and invalidate current session) I am contemplating this to work similar to Yahoo Messanger (invalidates old session and creates new) I seek your valuable suggestions Thanks in advance Venkat _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Editable Combo Box
Hi, Is there any editable combo box available in html ? In Normal Combo box i can only select but the requirement is that the user can select as well as enter values in Combo box . Can anyone help me out ? Jwas === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
New tag libraries available
I'd like to announce a major revision to the Taglib Roadmap I created well over a year ago, it seems, at http://epesh.com/tagroadmap.jsp, and also announce that I now have five taglibraries available for download: 1) Transform (http://epesh.com/transformtags.jsp), for transforming content (including XML) 2) Log (http://epesh.com/logtags.jsp) for genering output via Log4J 3) Form (http://epesh.com/formtags.jsp) for generating HTML input widgets using JSP-style bean introspection 4) File (http://epesh.com/filetags.jsp) for generating static content from a file 5) View (http://epesh.com/viewtags.jsp) for creating output based on variable information, of limited use (due to be massively revised or deprecated altogether) _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Error Accessing Connection pool
Thanks. That was the problem. It was an error in putting the initial context factory and provider_url. Thank You T R Yogeeta -- From: Lee Turner[SMTP:[EMAIL PROTECTED]] Reply To: A mailing list about Java Server Pages specification and reference Sent: Wednesday, January 31, 2001 7:48 PM To: [EMAIL PROTECTED] Subject: Re: Error Accessing Connection pool Could this be an error accessing the Context and not the connection pool ??? You could try putting a blank username and password in the properties as follows: public static Context getInitialContext() throws NamingException { String url = "t3://127.0.0.1:7001"; String user = null; String password = null; Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); p.put(Context.PROVIDER_URL, url); if (user != null) { p.put(Context.SECURITY_PRINCIPAL, user); if (password == null) password = ""; p.put(Context.SECURITY_CREDENTIALS, password); } return new InitialContext(p); } Lee _ Lee Turner Systems Developer _ Watt Gilchrist Ltd Ring Road, West Park Leeds, LS16 6RA Tel: 0113 288 3200 Fax: 0113 275 1690 http://www.wattgilchrist.co.uk _ -Original Message- From: Yogeeta_Raghunathan [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 7:10 AM To: [EMAIL PROTECTED] Subject: Error Accessing Connection pool Hi, I created a connection pool under weblogic 5.1 server as below. weblogic.jdbc.connectionPool.bscsPool=\ url=jdbc:weblogic:oracle:IPAdd:Port,\ driver=weblogic.jdbc.oci.Driver,\ initialCapacity=4,\ maxCapacity=10,\ capacityIncrement=1,\ props=user=sysadm;password=sysadm;server=ServerName weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.bscsPool=bscsPool weblogic.allow.reserve.weblogic.jdbc.connectionPool.bscsPool=everyone weblogic.allow.reset.weblogic.jdbc.connectionPool.oraclePool=everyone weblogic.allow.shrink.weblogic.jdbc.connectionPool.oraclePool=everyone The connection pool is created. When I am trying to access it from my JSP as below. try { Context ctx = null; System.setProperty("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory"); System.setProperty("java.naming.provider.url", "t3://127.0.0.1:7001"); ctx = new InitialContext(); javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("bscsPool"); conn=ds.getConnection(); stmt = conn.createStatement(); System.out.println(conn); } catch(Exception e) { out.println("Could not connect to the database"+e); } I am getting the error as java.security.AccessControlException: access denied (java.util.PropertyPermission java.naming.factory.initial write) Should I set some permission for the JSPs? Thank You T R Yogeeta == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How get a JSP to write CSV file?
Thanks a lot Hans! Does anybody know what this flipping Comma-Separated-Value format is exactly?! because it does NOT work for me? What I am doing wrong? I though the syntax was line ::= = value [ "," value ] * '\n'; value ::= any character except for quote or double quote!!! Does anybody have a Servlet example that does this CSV thing? Cheers BTW: Here is my JSP %@ taglib uri="/orataglib" prefix="ora" %%@ taglib uri="/emistaglib" prefix="emis" %%@ page import="com.ora.jsp.util.*" %%@ page import="com.ora.jsp.sql.*" %%@ page language="java" contentType="application/cvs" % jsp:useBean id="detailBean" class="com.db.gdd3.emis.report.ReportDetailBean" scope="request" /jsp:useBean id="sqlBean" class="com.db.gdd3.emis.sql.ExpressoSQLCommandBean" scope="request" / Report Author "," jsp:getProperty name="detailBean" property="title" / "," Report Date "," jsp:getProperty name="detailBean" property="date" / "," Copyright "," jsp:getProperty name="detailBean" property="copyright" / "," Remarks "," jsp:getProperty name="detailBean" property="remarks" / "," Report URL "," jsp:getProperty name="detailBean" property="url" / "," ora:loop name="sqlBean" property="columnNameList" loopId="columnName" className="java.lang.String" %= columnName % "," /ora:loop ora:loop name="rowsetData" loopId="row" className="Row" ora:loop name="row" property="columns" loopId="col" className="Column" jsp:getProperty name="col" property="string" / "," /ora:loop /ora:loop -- Peter Pilgrim G.O.A.T "the Greatest Of All Time" Message History From: Hans Bergsten [EMAIL PROTECTED]@java.sun.com on 30/01/2001 21:40 PST Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] DELEGATED - Sent by: A mailing list about Java Server Pages specification and [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: How get a JSP to write CSV file? Peter Pilgrim wrote: How do get a JSP to write a properly formatted CSV file? Is there a way to make JSP stop adding new lines or spaces? Can JSP pack spaces tightly between % .. % and tag .../tag? JSP follows the lead from XML with regards to line feeds: they are preserved but ignored. So the trick is to make sure you don't add any line feeds in the JSP page where you don't want them. In your sample, you have a line feed character after all JSP directives and action elements. When the JSP container processes the page, it consumes the JSP elements but adds the line feed characters to the response. By placing ending and starting the JSP elements on the same line, you get rid of all of the unwanted line feeds: %@ taglib uri="/orataglib" prefix="ora" %%@ taglib uri="/emistaglib" prefix="emis" %%@ page import="com.ora.jsp.util.*" %%@ page import="com.ora.jsp.sql.*" %%@ page language="java" contentType="application/vnd.ms-excel" %jsp:useBean id="detailBean" class="com.db.gdd3.emis.report.ReportDetailBean" scope="request" / ... and so on for all JSP elements. I describe this in Chapter 12 of my book, in relation to WML since WML browsers are sometimes picky about this stuff. Conversely can JSP be to told print a new line directly ( java.io.PrintStream.println() )? Any line feed in the JSP page is preserved, so just put a line feed where you need it. In a custom action tag handler or a bean that writes to the response, you can use JspWriter.newLine(); --CUT-- -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Editable Combo Box
you can enter values in combo box with Javascript: function addValues(value,text) { document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options. length] = new Option(value, text); } Seb -Original Message- From: [Jwas J] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: Editable Combo Box Hi, Is there any editable combo box available in html ? In Normal Combo box i can only select but the requirement is that the user can select as well as enter values in Combo box . Can anyone help me out ? Jwas == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
[SOLVED] Re: How get a JSP to write CSV file?
DOH! 1) The MIME type was wrong it should have been "application/csv" not "cvs"! I got Concurrent Version System on the brain regexp ( I must read my code. I must read my code. I must read my code. ){1 , 50 } /regexp 2) The comma donot need to be double quoted like "," but simply just commas(,) DOH! DOH! -- Peter Pilgrim G.O.A.T "the Greatest Of All Time" -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Logout
Hi folks, I am trying to log out from my web app. I am using JDBC realm to authenticate users. Any clue? Thanks, Vittorio === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Pointers on JavaDoc-ing JSPs
Hi. I'm wondering if anyone has any pointers about how to document and comment code in JSPs so that they can be read and parsed by JavaDoc. I don't think you can have the JavaDoc tool examine JSPs themselves but perhaps it's possible to generate JavaDoc from the servlet code generated by the servlet/JSP engine... but that would require JavaDoc comments being included in the JSPs in some ways. Does anybody have any experience on that? Don't you think JavaDoc should be able to generate from JSPs as well as pure Java code files? Regards, Stefan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object and javascript
Ha Ha! It worked! You guys are too cool! thanks yan Hung Yee wrote: Here's some more details as to what is happening between jsp code and javascript code: http://thejspbook.com/faq/details.jsp?id=1003 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 6:47 PM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript really? wow, let me try that. "Konuru, Raghu" wrote: You can use get methods such as var index="%=bean.getIndex()%"; var str="%=strIndex%"; Raghu -Original Message- From: Castiaux, Sebastien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:01 AM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript I don't think so because your JSP objects are at the server side and Javascript is at the client side. Seb -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: jsp object and javascript hey all, is there a way to reference jsp java object inside of a javascript function? 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
Javascript code on the client cannot access Java objects that were created in the JSP page on the server! The link that I gave you shows you how to create javascript code using jsp, BUT the jsp code itself is only executed at the server and the javascript code that is dynamically built by the jsp code is only executed on the client, so the two technologies cannot share objects (I think the web article clearly explains this). I you want the client to access Java objects, I think you'll have to use applets instead somehow. So, if you want the browser to send back data to the jsp on the server, here's how Hans says you need to do it in the article: "To only way to pass data from the browser to a JSP page is to pass the data as HTTP request parameters. If the data is generated by JavaScript code in the browser, the JavaScript code can set hidden form fields or the query string of an a href element, and this way get the data sent to the page with the HTTP request. To the JSP page, it doesn't matter how the parameter value was assigned; it uses the parameter value exactly the same way as it uses a parameter value passed as a regular form field value or a hardcoded query string." -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 7:43 AM To: [EMAIL PROTECTED] Subject: jsp object(Param) and javascript ok, a little twist, anyone done calling a java object method inside of a javascript with a Parameter (which is a javascript variable) ? thanks yan Hung Yee wrote: Here's some more details as to what is happening between jsp code and javascript code: http://thejspbook.com/faq/details.jsp?id=1003 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 6:47 PM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript really? wow, let me try that. "Konuru, Raghu" wrote: You can use get methods such as var index="%=bean.getIndex()%"; var str="%=strIndex%"; Raghu -Original Message- From: Castiaux, Sebastien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:01 AM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript I don't think so because your JSP objects are at the server side and Javascript is at the client side. Seb -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: jsp object and javascript hey all, is there a way to reference jsp java object inside of a javascript function? 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html
refresh of Session scoped beans
Hi all, A recent thread out here has me playing with the "scope" attribute of the jsp:useBean tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a jsp:setProperty name="foo" property="*"/. The initial population of the bean is OK, however when I hit "back" on the browser to make corrections to the form data, subsequent updates of the beans information are not successful. This is alleviated by using a bean of scope="request", however that is not what I need. Anyone encounter this problem and have a solution??? TIA. -Pete === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
jsp object(Param) and javascript
ok, a little twist, anyone done calling a java object method inside of a javascript with a Parameter (which is a javascript variable) ? thanks yan Hung Yee wrote: Here's some more details as to what is happening between jsp code and javascript code: http://thejspbook.com/faq/details.jsp?id=1003 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 6:47 PM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript really? wow, let me try that. "Konuru, Raghu" wrote: You can use get methods such as var index="%=bean.getIndex()%"; var str="%=strIndex%"; Raghu -Original Message- From: Castiaux, Sebastien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:01 AM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript I don't think so because your JSP objects are at the server side and Javascript is at the client side. Seb -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: jsp object and javascript hey all, is there a way to reference jsp java object inside of a javascript function? 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript, and got the right value! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
The point is any JavaScript code can get the value of Java object, but you can not alter those java objects by javascript. if you like to do the work like % String name = javaObject1.getName(); % function myFunction() { var name = %= name%; name = name+" test"; if (document.yourForm.yourName.value != name) return false; return true; } it's legal for you to do it, but if you try to change %= name% by javascript, it's not possbile, because it's already processed by the server. use "view source", you will see %= name % part has been replaced by real value. I guess it's how you interpreted "access". Using Applet is another story, the fact is how many application still using applet Dawei -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Hung Yee Sent: Thursday, February 01, 2001 10:08 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Javascript code on the client cannot access Java objects that were created in the JSP page on the server! The link that I gave you shows you how to create javascript code using jsp, BUT the jsp code itself is only executed at the server and the javascript code that is dynamically built by the jsp code is only executed on the client, so the two technologies cannot share objects (I think the web article clearly explains this). I you want the client to access Java objects, I think you'll have to use applets instead somehow. So, if you want the browser to send back data to the jsp on the server, here's how Hans says you need to do it in the article: "To only way to pass data from the browser to a JSP page is to pass the data as HTTP request parameters. If the data is generated by JavaScript code in the browser, the JavaScript code can set hidden form fields or the query string of an a href element, and this way get the data sent to the page with the HTTP request. To the JSP page, it doesn't matter how the parameter value was assigned; it uses the parameter value exactly the same way as it uses a parameter value passed as a regular form field value or a hardcoded query string." -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 7:43 AM To: [EMAIL PROTECTED] Subject: jsp object(Param) and javascript ok, a little twist, anyone done calling a java object method inside of a javascript with a Parameter (which is a javascript variable) ? thanks yan Hung Yee wrote: Here's some more details as to what is happening between jsp code and javascript code: http://thejspbook.com/faq/details.jsp?id=1003 -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 6:47 PM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript really? wow, let me try that. "Konuru, Raghu" wrote: You can use get methods such as var index="%=bean.getIndex()%"; var str="%=strIndex%"; Raghu -Original Message- From: Castiaux, Sebastien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:01 AM To: [EMAIL PROTECTED] Subject: Re: jsp object and javascript I don't think so because your JSP objects are at the server side and Javascript is at the client side. Seb -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: jsp object and javascript hey all, is there a way to reference jsp java object inside of a javascript function? 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html
Transform taglibrary updated to 1.2
The transform tag library (http://epesh.com/transformtags.jsp) have been updated to version 1.2, after the addition of a regular expression transformation. This allows you to do something like: transform:transform global="true" transform:search\'([^\']+)\'/transform:search transform:replace"$1"/transform:replace 'James', James 'Bond' /transform:transform And get "James", James "Bond" in the output stream. Comments, flames, jeers, and money orders welcomed. _ Get your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
I think we're getting confused on what i mean by 'access'. When I mean 'access' I'm talking about directly getting a pointer to the object's address in memory, not about evaluating a expression and assigning that value to some other variable or expression. Hans' article talks about passing a variable's VALUE from jsp code to javascript code, BUT not the object(i.e., variable) itself. Do not get confused between a value returned by a method in a Java object with the Java object itself - they're not the same thing. -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 8:46 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript, and got the right value! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refresh of Session scoped beans
Where are your setProperty elements If your page looks like this jsp:useBean scope="session... jsp:setProperty ... / /jsp:useBean That's exactly what I'd expect. The body of the jsp:useBean tag is only executed iif the bean is created. Try this jsp:useBean scope="session... / jsp:setProperty name="foo" property="*"/ Does it still fail? Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Bishop Sent: 01 February 2001 16:56 To: [EMAIL PROTECTED] Subject: refresh of Session scoped beans Hi all, A recent thread out here has me playing with the "scope" attribute of the jsp:useBean tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a jsp:setProperty name="foo" property="*"/. The initial population of the bean is OK, however when I hit "back" on the browser to make corrections to the form data, subsequent updates of the beans information are not successful. This is alleviated by using a bean of scope="request", however that is not what I need. Anyone encounter this problem and have a solution??? TIA. -Pete == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refresh of Session scoped beans
Hi, Thanks for the response. The exact syntax of the page is: jsp:useBean id="foo" class="Bar" scope="session" jsp:setProperty name="foo" property="*"/ /jsp:useBean So I think the bean is created correctly (?). This initial form/bean combination is then forwarded on to a confirmation page where the user can validate that what was entered is correct (at this point, the data entered into the form is retrived from the bean, so the intial creation/loading appears to be OK). The problem occurs when the user hits "back", updates the form and hits submit for the second time. The confirmation page does not reflect the changes made to the session beans properties. -Pete -Original Message- From: Kevin Jones [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 12:31 PM To: [EMAIL PROTECTED] Subject: Re: refresh of Session scoped beans Where are your setProperty elements If your page looks like this jsp:useBean scope="session... jsp:setProperty ... / /jsp:useBean That's exactly what I'd expect. The body of the jsp:useBean tag is only executed iif the bean is created. Try this jsp:useBean scope="session... / jsp:setProperty name="foo" property="*"/ Does it still fail? Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Bishop Sent: 01 February 2001 16:56 To: [EMAIL PROTECTED] Subject: refresh of Session scoped beans Hi all, A recent thread out here has me playing with the "scope" attribute of the jsp:useBean tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a jsp:setProperty name="foo" property="*"/. The initial population of the bean is OK, however when I hit "back" on the browser to make corrections to the form data, subsequent updates of the beans information are not successful. This is alleviated by using a bean of scope="request", however that is not what I need. Anyone encounter this problem and have a solution??? TIA. -Pete == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
Yan Zhu wrote: Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript, and got the right value! Most likely, what you really did was generate the JavaScript code in a JSP page, and a part of the JavaScript you generated was a statement that assigns a value to a JavaScript variable, using JSP scriptlets to get the value from a Java object. Something like this: script language="JavaScript" // JavaScript code var myVar = "%= someSessionBean.getSomeValue() %"; /script As far as JSP is concerned, this is just template text (all the JavaScript code) and a JSP expression. When the JSP page is processed, all template text is sent as is to the browser, along with the result of executing the JSP expression (on the server). The result could look like this: script language="JavaScript" // JavaScript code var myVar = "foo"; /script Note how the JSP expression has been replaced with the value resulting from executing the Java code in the expression. When this response reaches the browser, the browser executes it and myVar gets the value "foo". Even though it may appear that you assign the value of a a Java object directly to a JavaScript variable, the fact is that you don't, as this example shows; you generate parts of the JavaScript code, containing Java object values, on the server, and the real assignment takes place in the browser when the result is executed. And by then, it's just a simple string assignment. I hope this makes it clearer what's going on. Hans -- 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object. :( thanks a lot though. yan Hung Yee wrote: I think we're getting confused on what i mean by 'access'. When I mean 'access' I'm talking about directly getting a pointer to the object's address in memory, not about evaluating a expression and assigning that value to some other variable or expression. Hans' article talks about passing a variable's VALUE from jsp code to javascript code, BUT not the object(i.e., variable) itself. Do not get confused between a value returned by a method in a Java object with the Java object itself - they're not the same thing. -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 8:46 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript, and got the right value! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
Don't be too dispointed, I may have a solution for your problem. I think you can have an input field in the form and have your parameter in that field and the request will send it for you, on the javaside, use request.getParameter to get it, look like that, at client site: function assignValue() { //do some other job var changeTo = "value"; document.myform.name.value = changeTo; // do your script logic here return true; } form method="post" action="..." name="myform" onsubmit="return assignValue()" input type="text" name="name" value="%=whateverhere%" On the java side, you simplely need as you always to with others: String name = (String)request.getParameter("name"); you can get what ever value you have assigned in your javascript function. So if your question is how to pass a dynamic value to the server, I guess the trick is reset the value in your script function right before you submit the form. Therefore, although you see the value of the form looks "3", but the value may be well changed to whatever you want when it arrives the server. Hope it answer your question Dawei -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Yan Zhu Sent: Thursday, February 01, 2001 12:44 PM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object. :( thanks a lot though. yan Hung Yee wrote: I think we're getting confused on what i mean by 'access'. When I mean 'access' I'm talking about directly getting a pointer to the object's address in memory, not about evaluating a expression and assigning that value to some other variable or expression. Hans' article talks about passing a variable's VALUE from jsp code to javascript code, BUT not the object(i.e., variable) itself. Do not get confused between a value returned by a method in a Java object with the Java object itself - they're not the same thing. -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 8:46 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript, and got the right value! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refresh of Session scoped beans
-Original Message- From: A. C. [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: Re: refresh of Session scoped beans A recent thread out here has me playing with the "scope" attribute of the jsp:useBean tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a jsp:setProperty name="foo" property="*"/. The initial population of the bean is OK, however when I hit "back" on the browser to make corrections to the form data, subsequent updates of the beans information are not successful. This is alleviated by using a bean of scope="request", however that is not what I need. Anyone encounter this problem and have a solution??? I solved the problem "resetting" the bean. Instead of the useBean tag, i use: myBeanClass bean = new myBeanClass(); session.setAttribute("id bean istance", bean) So each time u acces to this page, the bean is resetted to the deafult value. After this, u'll have to put the setProperty * tag to initialize the bean with the new values submitted. P.S.: Remember that using the setProperty * feature, the corresponding set methods are called only if the corresponding form field is not empty. I mean, if u fill submit the form, then u come back, delete a field and then submit again, the field u deleted won't be set to a null value in the bean but it will keep the old value. It's better to use manually the set property methods: bean.setProperty1("value") for each fields of the form. Thanks for the reply. I agree that this will solve the problem, but at the same time doesn't that defeat alot of the "convenience" associated with the JSP/Beans combo? For a large form, that is alot of bean.setProperty... calls. I wonder if there is a better way? Thanks for the heads up on the blank form fields are not set to null thing. I'm sure that would have bothered me in the future. -Pete === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
global.jsa file
Does Tomcat support the "golbal.jsa" init file? If yes, where do i've to put it and what's its template? Thanx. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re-execution of servlet
Hi All, I am describing my situation below. I have a page called AddTicket.jsp, which sends all the ticket related data entered by the user to the servlet AddTicket.java. Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id from the database and adding 1 to it. Then AddTicket.java inserts the record which consists of parameters received from the jsp as well as the ticket_id generated. If the insert is successful then it sends a message to the message page using the following code ServletContext sc=getServletContext(); RequestDispatcher rd = sc.getRequestDispatcher(/jsp/Message.jsp); rd.forward(req,res); Now when the record is inserted then the Message is displayed on the message page whereas the URL on the browser is still that of the servlet. When I press F5 at this juncture, the servlet AddTicket re-executes thus creating another record with the next ticket id but all the data is same as the previous one. I want to prevent executing this servlet at this point when I refresh the page. What should I do and how should I go about it. I hope someone can help me fast Thanks in Advance Shashwati === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
session/servlet container question
Do any of the appserver or servlet container products support maintaining sessions across multiple webservers???...that is, I would set up our load balancer so it didn't need to maintain the connection/session on one specific machine, it could bounce around to the fastest one at that moment. To avoid any confusion: I am talking about servlet sessions here, for storing objects via session.setAttribute/getAttribute. And what does Orion use for a servlet container? Did they write their own? Thanks much! phil === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: how best to execute long-running batch process in JSP
Why not create a class that implements Thread? You could start it from your JSP page or servlet, and it should run in the background. Then, your JSP page will continue processing concurrently with the ODBC process. -- Tim Keuning - Date:Wed, 31 Jan 2001 10:55:07 -0700 From:Aaron Crandall [EMAIL PROTECTED] Subject: how best to execute long-running batch process in JSP MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello all, I am about to write a JSP/Servlet app (Tomcat w/ IIS on W2K). This app will have some batch processes that will extract data from an ODBC data source, perform some lengthy manipulation on that data, and then store it to an ODBC data store (may be the same source or another). What are your thoughts on the best way to go about this? I would like to be able to "trigger" the process if necessary from a web page, but if I try to perform the calculations within the scope of that page it will likely time out. Perhaps I can schedule this process somehow to run once a night? Any comments/help will be appreciated. Aaron --- Tim Keuning Professional Geek --- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
how to start the server
Hi the JSP group, I have been using the JSWDK for long.Recently, i downloaded the tomcat4.0. Could some one clarify me on how to start the server, with out using the 'startup.bat' file.Also, which all the JAR files to be kept in classpath.Can i specify my own document root and port dynamically(as we do in the case of JSWDK with -d and -port options). Thanks, Ram === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Re-execution of servlet
I think that forward is an internal redirection in the server, so the client browser still sees the same original url. Check it searching the word "forward" in www.jspinsider.com for more info. Hope it helps. - Original Message - From: Shashwati Panigrahi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 9:36 PM Subject: Re-execution of servlet Hi All, I am describing my situation below. I have a page called AddTicket.jsp, which sends all the ticket related data entered by the user to the servlet AddTicket.java. Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id from the database and adding 1 to it. Then AddTicket.java inserts the record which consists of parameters received from the jsp as well as the ticket_id generated. If the insert is successful then it sends a message to the message page using the following code ServletContext sc=getServletContext(); RequestDispatcher rd = sc.getRequestDispatcher(/jsp/Message.jsp); rd.forward(req,res); Now when the record is inserted then the Message is displayed on the message page whereas the URL on the browser is still that of the servlet. When I press F5 at this juncture, the servlet AddTicket re-executes thus creating another record with the next ticket id but all the data is same as the previous one. I want to prevent executing this servlet at this point when I refresh the page. What should I do and how should I go about it. I hope someone can help me fast Thanks in Advance Shashwati === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refresh of Session scoped beans
I agree that this will solve the problem, but at the same time doesn't that defeat alot of the "convenience" associated with the JSP/Beans combo? For a large form, that is alot of bean.setProperty... calls. I know, but unlickily this is the only way to solve the problem. The setProperty tag doesn't call the set methods if the corresponding fields of the form are null. This is written in the sun jsp specification (but it hink it's one of their worst mistakes!) Anyway if u want more infos, u can do a search on java.sun.com, section: forum, keywords: setProperty * null. U should find a long thread about this jsp "bug". === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refresh of Session scoped beans
A recent thread out here has me playing with the "scope" attribute of the jsp:useBean tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a jsp:setProperty name="foo" property="*"/. The initial population of the bean is OK, however when I hit "back" on the browser to make corrections to the form data, subsequent updates of the beans information are not successful. This is alleviated by using a bean of scope="request", however that is not what I need. Anyone encounter this problem and have a solution??? I solved the problem "resetting" the bean. Instead of the useBean tag, i use: myBeanClass bean = new myBeanClass(); session.setAttribute("id bean istance", bean) So each time u acces to this page, the bean is resetted to the deafult value. After this, u'll have to put the setProperty * tag to initialize the bean with the new values submitted. P.S.: Remember that using the setProperty * feature, the corresponding set methods are called only if the corresponding form field is not empty. I mean, if u fill submit the form, then u come back, delete a field and then submit again, the field u deleted won't be set to a null value in the bean but it will keep the old value. It's better to use manually the set property methods: bean.setProperty1("value") for each fields of the form. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
UNCLASSIFIED: dbSwing Applet cannot be not instatiated
I own JBuilder 3.5, and am having problems with dbSwing. I have created a JdbTable that gets populated from a text file (using a TableDataSet and TextDataFile). It works fine when run in JBuilder. However, will not run when deployed (it loads but cannot be instantiated. And my other Swing Applets load, are instantiated and run correctly). If I remove the following line it is instantiated and displays what you'd expect (the rest of the applet, but no data): tableDataSet1.setDataFile(textDataFile1); I have hard coded the TextDataFile location, so there should be no problem in locating that. What can I do? Sincerely Hamish Papple Underwater Systems Software Support * +64 9 4455809 * +64 9 4455033 * mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Re-execution of servlet
Shashwati Panigrahi wrote: Hi All, I am describing my situation below. I have a page called AddTicket.jsp, which sends all the ticket related data entered by the user to the servlet AddTicket.java. Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id from the database and adding 1 to it. Then AddTicket.java inserts the record which consists of parameters received from the jsp as well as the ticket_id generated. If the insert is successful then it sends a message to the message page using the following code ServletContext sc=getServletContext(); RequestDispatcher rd = sc.getRequestDispatcher(/jsp/Message.jsp); rd.forward(req,res); Now when the record is inserted then the Message is displayed on the message page whereas the URL on the browser is still that of the servlet. When I press F5 at this juncture, the servlet AddTicket re-executes thus creating another record with the next ticket id but all the data is same as the previous one. I want to prevent executing this servlet at this point when I refresh the page. What should I do and how should I go about it. I hope someone can help me fast This is a situation where you could use a redirect instead of a forward: response.sendRedirect(request.getContextPath() + "/jsp/Message.jsp"); This way, the browser knows that you switch to another page to display the result and changes the URL in the address field. If the user reloads the page, only the result page will be requested again. Note though, that you must save the result as session scope objects, or send add it as a query string in the redirect URL; request scope objects are not available to the JSP page when you use redirect, since the JSP page is invoked by a new request in this scenario. Hans -- 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: refresh of Session scoped beans
Peter Bishop wrote: -Original Message- From: A. C. [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: Re: refresh of Session scoped beans A recent thread out here has me playing with the "scope" attribute of the jsp:useBean tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a jsp:setProperty name="foo" property="*"/. The initial population of the bean is OK, however when I hit "back" on the browser to make corrections to the form data, subsequent updates of the beans information are not successful. This is alleviated by using a bean of scope="request", however that is not what I need. Anyone encounter this problem and have a solution??? I solved the problem "resetting" the bean. Instead of the useBean tag, i use: myBeanClass bean = new myBeanClass(); session.setAttribute("id bean istance", bean) So each time u acces to this page, the bean is resetted to the deafult value. After this, u'll have to put the setProperty * tag to initialize the bean with the new values submitted. P.S.: Remember that using the setProperty * feature, the corresponding set methods are called only if the corresponding form field is not empty. I mean, if u fill submit the form, then u come back, delete a field and then submit again, the field u deleted won't be set to a null value in the bean but it will keep the old value. It's better to use manually the set property methods: bean.setProperty1("value") for each fields of the form. Thanks for the reply. I agree that this will solve the problem, but at the same time doesn't that defeat alot of the "convenience" associated with the JSP/Beans combo? For a large form, that is alot of bean.setProperty... calls. I wonder if there is a better way? There is, and I believe someone else already suggested it: move the jsp:setProperty element out of the body of your jsp:useBean action. If you have it within the body, it's only executed when the bean is created. Since you create a session bean, the bean exists on the second request. Hence, jsp:setProperty is not executed the second time. If you move it outside the body, it's executed even when the bean exists: jsp:useBean id="userInfo" class="com.foo.UserInfoBean" scope="session" / jsp:setProperty name="userInfo" property="*" / Thanks for the heads up on the blank form fields are not set to null thing. I'm sure that would have bothered me in the future. One way to solve this is to add a setReset(String foo) method to your bean that resets all bean property values to their default values (e.g. null). Then add a jsp:setProperty action to call it before you set the properties based on the new request parameters: jsp:useBean id="userInfo" class="com.foo.UserInfoBean" scope="session" / jsp:setProperty name="userInfo" property="reset" value="anything" / jsp:setProperty name="userInfo" property="*" / Hans -- 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Which JSP Engine/Application Server is the best?
orion has been my fav. for a while now.. check it out www.orionserver.com _Ivan -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jann VanOver Sent: Wednesday, January 31, 2001 2:51 PM To: [EMAIL PROTECTED] Subject: Re: Which JSP Engine/Application Server is the best? One problem with Tomcat is that the Exception messages are exceptionally cryptic. Jrun's error messages were much more helpful in tracking down the source of a problem. So -- if you've got junior programmers, you may find that Tomcat's error messages are over their heads. -Original Message- From: Dennis Leary [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 5:34 AM To: [EMAIL PROTECTED] Subject: Re: Which JSP Engine/Application Server is the best? You may want to check out Jrun from Allaire, WebLogic from BEA. However, my personal opinion is Tomcat because it is free and easily configurable. Also when something goes wrong you know the exact config files to check. ZHU Jia [EMAIL PROTECTED] 01/31/01 07:56AM Hi there, we have used Perl/CGI for years in our company, now we are considering switch to JSP/Servlet. I've had some early experiments with JSP (Tomcat 3.2) and I'm convinced that this is better than CGI. Now my question is which JSP Engine/Java Application Server should we use in our production environment? I only tried out Tomcat, it's OK and it's free, but is there anything better out there, considering the stability/ease of configuration/feature/price? Any hints or tips will be highly appreciated, and many thanks in advance! regards ZHU Jia === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Disallowing concurrent login
Venkat wrote: Hi All This has reference to an previous discussion on 'disallowing concurrent login' and Mr.Hans Bergsten came out with a suggestion of implementing HttpSessionBindingListener interface, add every new user to a vector, check the existence when a new user logs in ... I have implemented a solution similar to that, create a table to store details such as sessionId, User Ip, User's unique login id, session created time etc., check the table for login id, if not found, create a new session, add the loginid to that table and deny new session if the login id is found in the table. so, if the same user or anybody with the same loginid tries to sign again is redirected to another page which shows the details such the session details from the table This method works as long the user signs out using another jsp page which removes all cookies and invalidates the session, but the probelm is that if the user closes the browser window without signing out, those details are never removed from the table and he will not be able to login at all unless someone removes his details from the table The approach you refer to, that I suggested in some other thread on another list, was intended to handle the case where it's important to make sure the user is only logged in from *one* browser/PC at a time. In most cases, this is not really an issue, and you can get away with a much simpler approach: just keep the user info as a bean in the session, without the need for a central, servlet context table. See below for how this approach solves your problem. Here, I am looking for a mechanism 1. which allows the tomcat container to remove all expired sessions from using sessions Ids, Sessions expire automatically after a period of inactivity. You can set the time-out period globally in web.xml or per session with session.setMaxInactiveInterval(). 2. Inform the first logged in user, log him out, invalidate that session andcreate new session for the newly signed in user If a new user just starts using the same browser as the previous user, there's no way for you to know that it's a new user. So for this to work at all, the first user must either log out explicitly (and then you can invalidate the session) or close the browser (the session will time out). Given this, a new session will always be created automatically for a new user, so you just have to save the user data in the session. 3. A method which can invalidate a session by its session Id (such as session.invalidate(sessionId), becuse HttpSession.invalidate()method does not take any arguement and invalidate current session) This is not possible with the Servlet 2.2 API (it was possible with 2.1 but was removed due to security concerns). And given your requirements, as I understand they, I don't see why you would need it. I am contemplating this to work similar to Yahoo Messanger (invalidates old session and creates new) I seek your valuable suggestions I hope this helped. Hans -- 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
if you want to do it w/o reloading the page you can place a small applet that will talk to your server object. from javascript you can pass a value to the applet and the applet will send it to the server. anyway the best bet maybe is to change your design. -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 12:44 PM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object. :( thanks a lot though. yan Hung Yee wrote: I think we're getting confused on what i mean by 'access'. When I mean 'access' I'm talking about directly getting a pointer to the object's address in memory, not about evaluating a expression and assigning that value to some other variable or expression. Hans' article talks about passing a variable's VALUE from jsp code to javascript code, BUT not the object(i.e., variable) itself. Do not get confused between a value returned by a method in a Java object with the Java object itself - they're not the same thing. -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 8:46 AM To: [EMAIL PROTECTED] Subject: Re: jsp object(Param) and javascript Hung Yee wrote: Javascript code on the client cannot access Java objects that were created in the JSP page on the server! but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascript, and got the right value! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Transaction Handling..
This might not be a JSP related issue. But however if anyone knows more about this please respond. I've an application where in once use logs in his connection object is stored in a session and this is fetched whenever he inserts/deletes/updates the database. To control transactions I did the following (as mentioned in Jason Hunter' Servlet Book) conn.setAutoCommit(false); try{ ... stmt.executeUpdate(sql1); stmt.executeUpdate(sql2); .. //If success conn.commit(); } catch {SQLException e) { // Error conn.rollback(); } finally{ conn.setAutoCommit(true); } But when I try to issue a conn.setAutoCommit(true) it gives the following error "SET CHAINED command not allowed within multi-statement transaction)". I'm using jConnect5.2 as the database driver. I've explored most of the avenues and I really appreciate if anyone can suggest some method in which I can turn the transaction back to "true". I'm using Apache/Tomcat setup. Regards -Original Message- From: Hans Bergsten [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 1:43 PM To: [EMAIL PROTECTED] Subject: Re: Disallowing concurrent login Venkat wrote: Hi All This has reference to an previous discussion on 'disallowing concurrent login' and Mr.Hans Bergsten came out with a suggestion of implementing HttpSessionBindingListener interface, add every new user to a vector, check the existence when a new user logs in ... I have implemented a solution similar to that, create a table to store details such as sessionId, User Ip, User's unique login id, session created time etc., check the table for login id, if not found, create a new session, add the loginid to that table and deny new session if the login id is found in the table. so, if the same user or anybody with the same loginid tries to sign again is redirected to another page which shows the details such the session details from the table This method works as long the user signs out using another jsp page which removes all cookies and invalidates the session, but the probelm is that if the user closes the browser window without signing out, those details are never removed from the table and he will not be able to login at all unless someone removes his details from the table The approach you refer to, that I suggested in some other thread on another list, was intended to handle the case where it's important to make sure the user is only logged in from *one* browser/PC at a time. In most cases, this is not really an issue, and you can get away with a much simpler approach: just keep the user info as a bean in the session, without the need for a central, servlet context table. See below for how this approach solves your problem. Here, I am looking for a mechanism 1. which allows the tomcat container to remove all expired sessions from using sessions Ids, Sessions expire automatically after a period of inactivity. You can set the time-out period globally in web.xml or per session with session.setMaxInactiveInterval(). 2. Inform the first logged in user, log him out, invalidate that session andcreate new session for the newly signed in user If a new user just starts using the same browser as the previous user, there's no way for you to know that it's a new user. So for this to work at all, the first user must either log out explicitly (and then you can invalidate the session) or close the browser (the session will time out). Given this, a new session will always be created automatically for a new user, so you just have to save the user data in the session. 3. A method which can invalidate a session by its session Id (such as session.invalidate(sessionId), becuse HttpSession.invalidate()method does not take any arguement and invalidate current session) This is not possible with the Servlet 2.2 API (it was possible with 2.1 but was removed due to security concerns). And given your requirements, as I understand they, I don't see why you would need it. I am contemplating this to work similar to Yahoo Messanger (invalidates old session and creates new) I seek your valuable suggestions I hope this helped. Hans -- 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest:
Re: Which JSP Engine/Application Server is the best?
There's pockets of brilliance at IBM, but also lots of administrative bungling.. good example: I ordered a trial, 90 day version of DB2/UDB 7.1. Took 60 days to be delivered.when I received it, only 30 days remained on the license ! -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey Sent: Wednesday, January 31, 2001 5:39 PM To: [EMAIL PROTECTED] Subject: Re: Which JSP Engine/Application Server is the best? I don't know to be honest..my disgruntlement with them is that IBM is so up on the java bandwagon, but was behind. I am glad to see a fix came out that allows them to work with JSP 1.1/Servlet 2.2. Now that Servlet 2.3/JSP 1.2 is soon to be released, I wonder if it will be 2 years before they add that in or not. I have also heard WS is not exactly easy to work with, cumbersome to install and configure, and so on. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of robert young Sent: Wednesday, January 31, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: Re: Which JSP Engine/Application Server is the best? WebSphere..bah..they are behind the times. Being that IBM is so active in the Java community I am really surprised their app server is such a beast to work with and does not yet support Servlet 2.2/JSP 1.1 (unless a new version came out recently that does). I would think they would be up on top of the list of J2EE supporters. according to the ibm site, fixpack 2 (circa 1/5/01) supports 2.2/1.1. BUT is WS so bad that you would turn down a position with a place that used it exclusively, along with VAJ?? thanx, robert young == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
Look into Rhino (http://www.mozilla.org/js/) and BSF (http://oss.software.ibm.com/developerworks/projects/bsf) through which you can expose the Java API to javascript and evaluate js code on the server. .michael. At 12:44 PM 2/1/01 -0600, you wrote: ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object. :( thanks a lot though. 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Escaping ' in a SQL INSERT
Greetings, I am new to JSP, so if this question has been asked and aswered before, please point me to the FAQ. If not, could someone provide a code sample of how you escape a ' when doing a SQL Insert in JSP? I am familiar with the VBScript replace function that would allow you to do this and am hoping that there is a corresponding JSP function. Anil -- ___ Anil John [EMAIL PROTECTED] [PGP Key Available] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp object(Param) and javascript
Michael Sweeney wrote: Look into Rhino (http://www.mozilla.org/js/) and BSF (http://oss.software.ibm.com/developerworks/projects/bsf) through which you can expose the Java API to javascript and evaluate js code on the server. .michael. Not to rain on your parade, but both these products only let you use JavaScript as the scripting language in a JSP page instead of Java. My understanding of what Yan wants to do is let code running in the browser call an object living on the server, so replacing one server-side language with another doesn't help him (probably it just adds to the confusion). The only way to let code in the browser invoke some object on the server is by making a new request. One way of doing this is through an applet, as someone else suggested, but it still requires a new HTTP request, served by a special servlet (or JSP page), or a remote call to an RMI server, or something similar. There's no way to assign a client-side JavaScript variable a direct reference to a server-side Java object, or a server-side JavaScript object for that matter (if you use Rhino or BSF). Something is always needed to bridge the two execution environments, And that's true no matter which language or server-side technology you use (Perl-CGI, ASP, ColdFusion, etc). Hans At 12:44 PM 2/1/01 -0600, you wrote: ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object. :( thanks a lot though. 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: FW: Jrun to Tomcat conversion
Hi, One of the reasons for the switch is the future switch to Vignette. Vignette StoryServer engine uses Tomcat for all its JSP stuff. Thank you very much for the warning. Cheers AK --- "M. Simms" [EMAIL PROTECTED] wrote: A good question: WHY ARE YOU DOING THIS ? Tomcat 3.1 performance was so bad, it was almost unusable. Unless 3.2 really improved, you are in for a rude awakening !!! -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Anil Menon Sent: Thursday, February 01, 2001 3:43 AM To: [EMAIL PROTECTED] Subject: Jrun to Tomcat conversion Hi, I am new to the list, sorry if this has been discussed before. I was wondering if anybody had gone through this process before and if any issues on this. We are using Allaire JRun and trying to convert to Tomcat. Any, ANY information is usful before I attempt the process. Thanks in advance, AK Menon __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Editable Combo Box
Hi Seb, Thanks for the quick reply you can enter values in combo box with Javascript: function addValues(value,text) { document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options. length] = new Option(value, text); } But the requirement is that user should be able to type in some values or Select from the combo box using only one control...So we cannot provide another text field and then add to combo box. Actually there is no requirement to add into the list of combo box... Hope u understood the requirement Is any other way to handle this. Regards Jwas === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Editable Combo Box
Editable Combobox Try: http://www.ycode.com/ComboBox/Latest/combo_box_simple.htm I think Oracle JDeveloper includes a Combobox bean to do that too. Regards -Original Message- From: [Jwas J] [mailto:[EMAIL PROTECTED]] Sent: Friday, 2 February 2001 15:34 To: [EMAIL PROTECTED] Subject: Re: Editable Combo Box Hi Seb, Thanks for the quick reply you can enter values in combo box with Javascript: function addValues(value,text) { document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options. length] = new Option(value, text); } But the requirement is that user should be able to type in some values or Select from the combo box using only one control...So we cannot provide another text field and then add to combo box. Actually there is no requirement to add into the list of combo box... Hope u understood the requirement Is any other way to handle this. Regards Jwas === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Fwd: UNCLASSIFIED: dbSwing Applet cannot be not instatiated
Hi All, I had a similar problem of "applet cannot be inst" but got fixed with 1. setting the classpath to include used libs of Java on server (through Environment variable) 2. Worked fine on Netscape (4.0 ) with doing 1. (you may see java console for exceptions) 2'. On Internet Explorer (can't get Java console) Lowering the security restrictions. In any case I am still looking for a more genuine explanation as to why the Applet could not be inst. --- "PAPPLE HAMISH,MR" [EMAIL PROTECTED] Subject: UNCLASSIFIED: dbSwing Applet cannot be not instatiated I own JBuilder 3.5, and am having problems with dbSwing. I have created a JdbTable that gets populated from a text file (using a TableDataSet and TextDataFile). It works fine when run in JBuilder. However, will not run when deployed (it loads but cannot be instantiated. And my other Swing Applets load, are instantiated and run correctly). If I remove the following line it is instantiated and displays what you'd expect (the rest of the applet, but no data): tableDataSet1.setDataFile(textDataFile1); I have hard coded the TextDataFile location, so there should be no problem in locating that. What can I do? Sincerely Hamish Papple Underwater Systems Software Support * +64 9 4455809 * +64 9 4455033 * mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
float to decimal?
hi all, i have a column in my database(DB2) with type=decimal,i m suceessfully gettin this out.println(rs1.getFloat("app_rate")); but when i try to assign it to float variable like this, float app_rate1=rs1.getFloat("app_rate"); it is givin errors, any brains..? thx MJ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Escaping ' in a SQL INSERT
Use double single quote . For example, if you want to insert ab'c, your insert statement will be like this : insert into tablename(field1) values(value1,'ab''c); M.Chitra www.3rdagenda.com - Original Message - From: Anil John [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 02, 2001 6:56 AM Subject: Escaping ' in a SQL INSERT Greetings, I am new to JSP, so if this question has been asked and aswered before, please point me to the FAQ. If not, could someone provide a code sample of how you escape a ' when doing a SQL Insert in JSP? I am familiar with the VBScript replace function that would allow you to do this and am hoping that there is a corresponding JSP function. Anil -- ___ Anil John [EMAIL PROTECTED] [PGP Key Available] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Escaping ' in a SQL INSERT
I think it should be insert into tablename(field1) values(value1,'ab''c'); :^) Ricky Y. Artigas Analyst/Programmer Information Technology Division Easycall Communications Phils., Inc. - Easycall Internet - 418 Arayat St., Mandaluyong City 1550, Philippines Personal WAP Site: http://www.buzzed.co.uk/mobile/?rya Company Website: http://www.easycall.com.ph Tel.no: (+632) 5338001 ext.6574 Mobile:(+63) 0917-8951783 Pager: 141-002955 Email: [EMAIL PROTECTED] --- IMPORTANT NOTICE: This message (and any attachment hereto) may contain privileged and/or confidential information specific to EasyCall. If you are not the intended addressee indicated in this message, you may not copy or disseminate this message (or any attachment hereto) to anyone. Instead, please destroy this message (and any attachment hereto), and kindly notify the sender by reply email. Any information in this message (and any attachment thereto) that do not relate to the official business of EasyCall shall be understood as neither given nor endorsed by the company. -Original Message- From: Chitra Muthukrishnan [SMTP:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 2:14 PM To: [EMAIL PROTECTED] Subject: Re: Escaping ' in a SQL INSERT Use double single quote . For example, if you want to insert ab'c, your insert statement will be like this : insert into tablename(field1) values(value1,'ab''c); M.Chitra www.3rdagenda.com - Original Message - From: Anil John [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 02, 2001 6:56 AM Subject: Escaping ' in a SQL INSERT Greetings, I am new to JSP, so if this question has been asked and aswered before, please point me to the FAQ. If not, could someone provide a code sample of how you escape a ' when doing a SQL Insert in JSP? I am familiar with the VBScript replace function that would allow you to do this and am hoping that there is a corresponding JSP function. Anil -- ___ Anil John [EMAIL PROTECTED] [PGP Key Available] == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: float to decimal?
what is the error you are getting??? Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Manish Joshi [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 11:15 AM To: [EMAIL PROTECTED] Subject: float to decimal? hi all, i have a column in my database(DB2) with type=decimal,i m suceessfully gettin this out.println(rs1.getFloat("app_rate")); but when i try to assign it to float variable like this, float app_rate1=rs1.getFloat("app_rate"); it is givin errors, any brains..? thx MJ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: float to decimal?
hey i solved it, MJ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
File Upload to database
Hi, I am new to JSP. I want to upload a fixed format text file from the user's machine to the Oracle database. I would appreciate if somebody could guide me how this can be done. Better still, if somebody can send me the sample code with some explanation. Thanks in advance, Regards, K. A. Do You Yahoo!? Get your free @yahoo.co.in address at http://mail.yahoo.co.in === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
where to store bean?
Guys, Hi. I would like to know where to store bean so that i could access them with my jsp file via the import statement and useBean... thanks! Joy _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: where to store bean?
in context/WEB-INF/classes -- From: Crisalyn Ramos[SMTP:[EMAIL PROTECTED]] Reply To: A mailing list about Java Server Pages specification and reference Sent: Friday, February 02, 2001 12:51 PM To: [EMAIL PROTECTED] Subject: where to store bean? Guys, Hi. I would like to know where to store bean so that i could access them with my jsp file via the import statement and useBean... thanks! Joy _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
[ANN] ServletExec 3.1 Released
New Atlanta is pleased to announce the release of ServletExec 3.1 and ServletExec Debugger 3.1, both of which are available for immediate download: http://www.servletexec.com/download.jsp This maintenance (bug fix) release is a free upgrade for owners of ServletExec 3.0, 3.0C, and 3.0E. ServletExec 3.1 is a servlet/JSP engine for Microsoft IIS, Netscape Enterprise, iPlanet Web Server, and Apache that implements Java Servlet API 2.2 and JSP 1.1. ServletExec 3.1 is supported on Windows NT/2000, SPARC Solaris, Linux, AIX, and HP-UX. ServletExec Debugger 3.1 is a free servlet/JSP development tool that integrates with Visual Cafe, JBuilder, CodeWarrior, Visual Age for Java, and Forte for Java. For more information on ServletExec 3.1, please visit our new web site: www.servletexec.com Regards, Vince Bonfanti New Atlanta Communications, LLC === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
FTP command
Hi does anyone know of a good resource for LINUX commands, specifically FTP. thanks, Rich === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets