Cobol to C Covnerters / Transalators
Could any one tell me if there are Transalators / converters available for Cobol programs to C Programs i n DOS or Windows Environment. If yes the site address where these will be available Thanx ins Advance -- Rohitashwa R Acharya ([EMAIL PROTECTED]) Patni Computer Systems (Ltd) Tel : 9122-829 1454 Ext: 179 Residence : 5552796 === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Scope session , IE4, IE5 , NS 4.7 Iplanet WEBServer.
If you are using JSP or Servlet and calling bean from there then this might be helpful to you. "To ensure the session is properly maintained, the servlet developer must call this method (getSession) before the response is committed." ( from Servlet API reference document) I think this may be helpful to you. With regards, R. Bala -Original Message- From: laurent andre [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, April 05, 2000 10:36 PM To: [EMAIL PROTECTED] Subject:Scope session , IE4, IE5 , NS 4.7 Iplanet WEBServer. Hello. we got a slight pb here ! Session tracking works with IE4 , N4.X but with IE.5 , it doesn'work each "refresh" of the page creates a new instance of the bean, as if it was another session. I found that modifying the security level improves the reliability ! sometimes it works, sometimes not ! any idea ? is it because we're working on a local network ? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Missing term error using JSWDK 1.0.1
Hi, I get "com.sun.jsp.JspException ... Missing term." using a JSP page to this code jsp:setProperty name="searcher" property="similarityThreshold" param="%= similarityThreshold %" / The type of both the property and the variable is double. This works: % searcher.setSimilarityThreshold(similarityThreshold); % Also, all other properties work (though they are not double). I am using JSWDK WebServer Version 1.0.1. Any help is appreciated. Ferenc === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Centralizing caching prevention using Controller
Hi, is in the Controller servlet. After these lines of code, when the RequestDispatcher forwards to the appropriate JSP, the necessary headers would have been added. The only problem is it doesn't work. My JSP's don't have the no cache headers. Does anyone know why? My best guess is that you are not supposed to set any of the headers or touch the response object when forwarding. The JSP page (turned servlet) will set the first response.setHeader(). At least this is what I thought. I know you can set things in the request, but your not supposed to set them in the response until its the actual response going back to the server. Don't quote me on this. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP 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 This contains pointers to the specification, and to the JavaServer Web Development Kit (JSWDK). 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 JSWDK is the reference implementation for the latest JSP and Servlet specs. You can download JSWDK at http://java.sun.com/products/jsp/download.html. Please send your feedback and bug reports on JSWDK to [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/JSWDK team === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP on Domino 5.0
Hi everybody! I've been developing jsp applications under Tomcat and Resin, now, I need to implement a jsp project on a Domino server. Anybody knows if Domino 5.0 supports jsp? If yes, how can I install my jsp? Thank you all in advance!! Marc ___ Consigue tu e-mail gratuito OLE.COM Haz click en "http://www.olemail.com" === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
How can I debug JSP
Hi all! I'm wanting to write JSP files by IBM webshpere and write some beans in VisualAge for Java. but I can't debug these beans and the JSP file. Can you tell how can I debug them? Is there any other development which supports degbuing deans and JSP? Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Coding Convention for JSP
I was also involved in financeinvestment a heavy traffic site. Here also what we did was divide the entire page into sidebar.jsp, header.jsp, footer.jsp, body.jsp, contents.jsp, and call those .jsp form main.jsp . so that it also have same look and feel. And also will be a basis for templates. If you would have identified commonalities of hearder, footer etc., you will have minimum footer, headers jsps. Thanks and regards Raghuraman S -- From: Arnab Acharya [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 12:55 PM To: [EMAIL PROTECTED] Subject: Re: Coding Convention for JSP Dear Sneha, I've been working on an autoportal project. What we did was to divide the entire page into smaller sections, like top, bottom, left, right, etc and called the corresponding .jsp files. From this one page, we developed a template. Then, the other pages were done from this. As far as I know, there are no JSP coding guidelines readily available. Rgds, Arnab -Original Message- From: Sharma Sneha [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 12:30 AM To: [EMAIL PROTECTED] Subject: Coding Convention for JSP Sneha Sharma@CONTEXT 04/05/2000 12:00 PM Hi! Could somebody show me a pointer to JSP coding guidelines Thanks. == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Not able to execute any examples of jswdk
Hi all, I am a novice to JSP. Recently dowloaded the jswdk, but could not execute any of the examples over there. When I open any of the pages over there the code of that page is being displayed. Can anyone help me out. regards, Srikumar === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Scope Session.
Hello. Please tell me if any of theses affirmation are wrong. Scope=Page means that each bean in jsp:useBean have its own instance ! Scope=Request is the same Scope = session, means that each bean asked with jsp:useBean creates a new instance if it is not in an already known (by the server) session... Scope = application means that the bean is only created 1 time for all jsp that uses this bean. If all this is ok, can anyone explain me why IE5 doesn't create the session !! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Scope Session.
I'm not that newbye ;-)) Session tracking in this case doesn't work with cookie !! (i don't know how it works ...) It's the Simple session manager of Iplanet WebServer) I tried on netscape it nevers asked me to store a cookie (with the proper option activated , for sure) I tried on IE4 , and it nerver asked me to store a cookie (with the proper option activated , for sure) but the session Tracking works ! With IE5 , it doesn't work . Is it a problem with the simple session manager and IE5 ! Here is my JSP Bidon == Dummy ;-) html head titleDocument sans-titre/title /head jsp:useBean id="testBidon" scope="session" class="utils.Bidon" / body bgcolor="#FF" br % testBidon.processRequest % %= testBidon.afficheEtat() % // showState ;-) /body /html Here is the way JSP engine creates the servlet (part of...) utils.Bidon testBidon = null; boolean _jspx_specialtestBidon = false; synchronized (session) { testBidon= (utils.Bidon) pageContext.getAttribute("testBidon",PageContext.SESSION_SCOPE); If ( testBidon == null ) { _jspx_specialtestBidon = true; try { testBidon = (utils.Bidon) Beans.instantiate(getClassLoader(), "utils.Bidon"); } catch (Exception exc) { throw new ServletException (" Cannot create bean of class "+"utils.Bidon"); } pageContext.setAttribute("testBidon", testBidon, PageContext.SESSION_SCOPE); } } it seems that it uses the pageContext to scope the session ... ?? Thanks for your help. Christian Schnetter wrote: turn cookies on! -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of laurent andre Sent: Thursday, April 06, 2000 12:32 PM To: [EMAIL PROTECTED] Subject: Scope Session. Hello. Please tell me if any of theses affirmation are wrong. Scope=Page means that each bean in jsp:useBean have its own instance ! Scope=Request is the same Scope = session, means that each bean asked with jsp:useBean creates a new instance if it is not in an already known (by the server) session... Scope = application means that the bean is only created 1 time for all jsp that uses this bean. If all this is ok, can anyone explain me why IE5 doesn't create the session !! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Newline problem in JavaScript
Hi! I have jsp file using javascript for validation. I am trying to read value of form element textarea file and strip out the newlines present. But I can't read the newline character. I have tried with both \r and \n. Please help. TIA. Regards, Krishna MVV === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP and EJb on weblogic server
Hi Mitesh, I've been developing JSPs (and before, JHTML) and EJBs on Weblogic for over a year now, but I've never directly used an EJB from a JSP. Never thought to actually! Possibly there is some difference in environments with the JNDI within JSP, I wouldn't think so though. Are you getting a JNDI error or ClassDefNotFound or something else. You can see all server exceptions and System.out.println() if you don't start Weblogic as a service but as an application, or use the console program. So I can't answer your question directly. Sorry, but... I always use a JavaBean to manage the calls from JSPs through to EJBs. This allows you to present to the JSP an invariant object after its initialization. By this I mean that eventually you are going to be providing the client browser with a (mostly) static web page, so there is no need to provide access to an object more complex than something with an initialize method and getHtmlAttributeXX, getAttributeABC, getJavaScriptMethodXYZ, etc... All of these get... methods can then be accessed via small and easy tags as such: jsp:useBean id="someObject" class="package.tree.SomeClass" / jsp:scriptlet someObject.initialize(request); /jsp:scriptlet ... jsp:expressionsomeObject.getSomeDataAsString() /jsp:expression This will greatly increase the ease with which a HTML author will be able to edit your JSP files, especially with all your JNDI code in another class. Does anybody else have any opinions on this, as I find this is my standard approach to any JSP. Regards -- Andrew Evans Adaptive Technology Pty Ltd mailto:[EMAIL PROTECTED] Phone : +61 2 9954 6822 Fax : +61 2 9460 1500 Mobile : 0414 783 812 http://www.adaptivetech.com.au Mitesh Rajani wrote: Hi, I am in the process of starting devoloping jsps and ejbs with the = weblogic environment. I have a setup problem i guess. What is happening is that when i am trying to access the home and remote = interfaces of an ejb, i am getting the message that the class files are = not found. what is happening is that the jsp is searching for the Ejb = classes in the root directory of the jsp. Can anyone tell me what are the setup requirements for jsp so that i can = integrate them with the already existing ejbs that i have deployed on = the weblogic server. I guess i would want to have 1. changes in the web-logic properties file. 2. directory structure required to do so 3. any changes that i need to make so that the ejbs home and remote = interface files are easily found ie. any change that i need to make to = the classpath. Thanks and regards, Mitesh === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP file names in Japanese ?
Hi, I heard a request from someone who wanted their names of JSP pages and directories they reside in in Japanese, i.e. use any name allowed by the underlying OS including arbitrary Unicode lettters. I would like to ask if such a requirement makes sense ? Or is it completely pointess ? The thing is, how would you then reference such a page in the web browser ? All URLs must follow the URL encoding rules, and Japanese letters definitely don't conform to these. Or has anyone seen a site with Unicode (non-ASCII) letters in the URL ? I have a strong suspicion that the above requirement does not make sense, I only want to be either assured or I am looking for explanation why would anyone want that. Thanks Petr === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Newline problem in JavaScript
Newlines in a textarea form element are represented by +AFw-r+AFw-n. fribeiro - Original Message - From: +ACI-Venkata Krishna MV+ACI- +ADw-venkatmv+AEA-geodc.patni.com+AD4- To: +ADw-JSP-INTEREST+AEA-JAVA.SUN.COM+AD4- Sent: Thursday, April 06, 2000 4:44 AM Subject: Newline problem in JavaScript +AD4- Hi+ACE- +AD4- +AD4- I have jsp file using javascript for validation. +AD4- +AD4- I am trying to read value of form element textarea file and strip out the +AD4- newlines present. +AD4- But I can't read the newline character. I have tried with both +AFw-r and +AFw-n. +AD4- +AD4- Please help. TIA. +AD4- +AD4- Regards, +AD4- Krishna MVV +AD4- +AD4- +AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9- +AD4- To unsubscribe: mailto listserv+AEA-java.sun.com with body: +ACI-signoff JSP-INTEREST+ACI-. +AD4- Some relevant FAQs on JSP/Servlets can be found at: +AD4- +AD4- http://java.sun.com/products/jsp/faq.html +AD4- http://www.esperanto.org.nz/jsp/jspfaq.html +AD4- http://www.jguru.com/jguru/faq/faqpage.jsp?name+AD0-JSP +AD4- http://www.jguru.com/jguru/faq/faqpage.jsp?name+AD0-Servlets +AD4- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP file names in Japanese ?
Dear Petr, The following site, http://www.nic.jp.io/ allows you to register and then use sites whose names contain Japanese kanji, hiragana or katakana. So your question is not moot. Regards, Bohdan From: Petr Jiricka [EMAIL PROTECTED] Reply-To: Petr Jiricka [EMAIL PROTECTED] Date: Thu, 06 Apr 2000 15:09:22 +0200 To: [EMAIL PROTECTED] Subject: JSP file names in Japanese ? Hi, I heard a request from someone who wanted their names of JSP pages and directories they reside in in Japanese, i.e. use any name allowed by the underlying OS including arbitrary Unicode lettters. I would like to ask if such a requirement makes sense ? Or is it completely pointess ? The thing is, how would you then reference such a page in the web browser ? All URLs must follow the URL encoding rules, and Japanese letters definitely don't conform to these. Or has anyone seen a site with Unicode (non-ASCII) letters in the URL ? I have a strong suspicion that the above requirement does not make sense, I only want to be either assured or I am looking for explanation why would anyone want that. Thanks Petr === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Request.getParameter() question
thanks for the help everybody, finally i looped through the combo, concatednated the values and passed them by putting in a hidden input field. On the other side, i used the string tokenizer to read the values and display accordingly thanks again Vineet __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: session object in JSP
From: Daniel Lopez [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: session object in JSP Date: Wed, 5 Apr 2000 10:18:21 +0200 Hi John, Have a look at the JSDK API, then check what kind of value the method javax.servlet.http.HttpSession.html#getValue(javax.servlet.http.String) returns and lastly check to see if you can use the "+" operator to concatenate a String with what this method returns. Any Object can be concatenated to a String with the + operator...the object's toString() method will be invoked... Regards, Dan --- Daniel Lopez Janariz ([EMAIL PROTECTED]) Web Services Computer Center Balearic Islands University --- D'Esposito John wrote: I have a simple jsp that was invoked via a "forward" in a RequestDispatcher object from a servlet. The forward works perfectly well and I am able to instantiate beans via the Scope=request. In my servlet I set the session object with a parameter. I assume that I can obtain a handle to the session object in my jsp and retrieve the value that was originally set in the servlet. In the servlet: HttpSesssion session = req.getSession(true); String itemColor= null; itemColor = "blue"; session.putValue("itemColor", itemColor); In the JSP: % out.println("Color = " + session.getValue("itemColor")); % I am getting a JSP error message on the jsp line mentioned above. What am I doing wrong? How can I get a handle parameters on the session object? Thanks, John D'Esposito === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP on Domino 5.0
Domino 5.0 ships with its own servlet engine implementation. Also , you have the luxury of changing the servlet engine that will integrate with Domino. I have installed Websphere application server 2.03 on Domino 5.0 and use JSPs. I have heard that the Websphere 3.02 installation may be a bit more cumbersome. Look for postings on the notes.net discussion forums. To answer your question, yes , indeed you can use jsps with Domino. John D'Esposito EWM - Application Integration |+ || jsp_user | || [EMAIL PROTECTED] | || Sent by: A mailing | || list about Java | || Server Pages | || specification and| || reference| || [EMAIL PROTECTED]| || N.COM | ||| || 04/06/00 03:01 AM| || Please respond to| || jsp_user | ||| |+ | || | To: | | [EMAIL PROTECTED]| | .COM | | cc: | | Subject: | | JSP on Domino 5.0| || | Hi everybody! I've been developing jsp applications under Tomcat and Resin, now, I need to implement a jsp project on a Domino server. Anybody knows if Domino 5.0 supports jsp? If yes, how can I install my jsp? Thank you all in advance!! Marc ___ Consigue tu e-mail gratuito OLE.COM Haz click en "http://www.olemail.com" === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat on FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I found that something in FreeBSD's thread model causes problems running server side java for the web. I really liked FreeBSD, but concluded that it does not support java as well as linux. I'd be interested in any opinions or experience to the contrary - This is especially where Java 1.2 is concerned. John Holland - --- Email: [EMAIL PROTECTED] Web: http://jbhsoft.linuxave.net Public key : finger -s or http://jbhsoft.linuxave.net/pubkey.html On Wed, 5 Apr 2000, Fernando Ribeiro wrote: Yes, Iam sure you could use the standalone server. I dont know any special issue on Tomcat and FreeBSD. fribeiro - - Original Message - From: +ACI-Lynch+ACI- +ADw-lynch+AEA-PASIA.COM+AD4- To: +ADw-JSP-INTEREST+AEA-JAVA.SUN.COM+AD4- Sent: Wednesday, April 05, 2000 11:10 PM Subject: Tomcat on FreeBSD +AD4- Hi All +AD4- +AD4- Is it possible to install Tomcat on FreeBSD? +AD4- I am trying to do so, but have met some problems like +AD4- 1. I can't find mod+AF8-jserv.so for FreeBSD from +AD4- http://jakarta.apache.org/builds/tomcat/release/v3.1+AF8-beta+AF8-1/bin/ . +AD4- What I found under linux seems not working. +AD4- 2. Could I use the standalone mode, and leave Apache and mod+AF8-jserv +AD4- away? +AD4- +AD4- Hope someone can help, and thanks in advance. +AD4- +AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQ- +AD4- Lynch Wu +AD4- Web Engineer +AD4- http://www.pAsia.com +AD4- TEL: 886-2-87883033 ext 347 +AD4- FAX: 886-2-87881532 +AD4- +AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQ- +AD4- +AD4- +AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9- +AD4- To unsubscribe: mailto listserv+AEA-java.sun.com with body: +ACI-signoff JSP-INTEREST+ACI-. +AD4- Some relevant FAQs on JSP/Servlets can be found at: +AD4- +AD4- http://java.sun.com/products/jsp/faq.html +AD4- http://www.esperanto.org.nz/jsp/jspfaq.html +AD4- http://www.jguru.com/jguru/faq/faqpage.jsp?name+AD0-JSP +AD4- http://www.jguru.com/jguru/faq/faqpage.jsp?name+AD0-Servlets +AD4- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -BEGIN PGP SIGNATURE- Version: PGP 6.5.2 iQA/AwUBOOykaxPWCCE2yAKHEQIGvgCgs2tgvhLzAKPyxr6X0wAI+SUk1W4AoJ8h uVTrzPZ9rjQjf4PR36/TK4Al =stpU -END PGP SIGNATURE- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Request.getParameter() question
Thanks for the explanation Phil, I managed to transfer the values of the combo to another jsp page. 2.If you asking how to get all the possible items of a form list (myform.mycombo), from which a client may select, you will need to read and parse the form... not the request. that is one of my requirements i have been working on and have discussed this on the list too. If your jsp/Servlet is intercepting a form for processing, prior to presenting the form to a client, the process is a little more complex than just parsing a form -- the process changes (a jsp/Servlet would act as a filter, capturing client request-response, sending them on to the process that dynamically creates the form data, processing the response form data from this process, and sending the processed response on to the client, probably implementing some tracking in the process). My requirement is close, i guess.. I need to have a combo box which lets the client select an option. This combo box is filled with values from a table in the database. what i am doing now is : ! create a connection to the database and query it select while (rs.next()) { option %=rs.getString(1)% /option } /select Is this the best way? what if the data in the table changes.. will it auto refresh ? will it touch the database each time to fill the combo when the page is loaded? If you want information on how to query and parse a form, let me know. Otherthan this, more information on your design needs will be useful. I would really appreciate it if u tell me more about parsing a form and when i would do it. thanks again Vineet __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How can I debug JSP
Hi, To debug JSP: put ur jsp file in the location drive:\IBMVjava\ide\project resources\ibm websphere test environment\hosts\default_host\default_app\web\jsp goto Visual age Workbench Choose workspace-tools-launch websphere test environment Choose jsp execution monitor , this will display a option menu - select "Enable monitoring JSP execution" if u want it to display syntax errors select "Retrieve syntax error information" goto to the browser and then type the url as http://localhost:8080/jsp/ur file name To debug beans: Set a break poing and run the bean. Regards, Chetana ZhangDong wrote: Hi all! I'm wanting to write JSP files by IBM webshpere and write some beans in VisualAge for Java. but I can't debug these beans and the JSP file. Can you tell how can I debug them? Is there any other development which supports degbuing deans and JSP? Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP and JDBC
Hi I have around 100 records worth of data which i collect from the client and i need to update the database. Eg. of one record : DateOfInput TimeOfInput InputPerson CompanyCode DateOfChange NewValue I have all the data in input boxes and their names are sequential eg fDate1 fDate2 ..fDate100 fTime1 fTime2.. fTime100 what i am doing is First i loop through once and take care of all validations on the client side. i am giving an example for 2 fields !-- create connection to database -- % for (i=1 ; i100; i++) { Df=fDate + i; tf=fTime +i; dDate=request.getParameter(df); dTime=request.getParameter(tf); !-- code to insert above values into table -- } % This means i would have 100 insert statemets being executed. I am not sure this is the best way.. and am new to JSP and JDBC. I would appreciate your suggestions / comments. This data updation is happening over the internet and the database is Oracle8i. thanks in advance Vineet __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
transforming the output stream
Hi everyone. I'm trying to design a jsp page similar to the following: static xml myTagLibrary:dynamicXML.../.. myTagLibrary:XSLStyle sheet="..." source=?this? I'd like to get the previous output of the jsp(which will now be an XML document) and transform it into html using XSL. Is it possible to get access to the output stream and change it? Or do I need a different approach? I've tried several variations so far without any luck. thanks, Joe Milora === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Model 2, another stab at it.
Hi Megan, According to the blueprint - the JavaBeans on your Web-tier become "read-only," mirroring the EJB - use only to easily display information in your JSP page. (Craig Daniel - please confirm - this is my question too.) Seems like we got it down. :) I agree, this seems like a duplication - but here is the reason. The EJB is responsible for all application processing, transaction management, and session management. By isolating this on the EJB Tier - your application can be deployed to any number of clients - web/HTTP is only one. Also consider - also consider mobile phones, telephony, WebTV, etc. - each of these has a different client interface. By keeping your application logic completely separate - you can [more] easily add new/different clients. Long term maintenance becomes an option instead of planning to re-write your application in 2-3 years because technology has changed again. I agree, accept the approach being used by most people (so it seems) is to use STATELESS session beans. If you do this, it supposedly speeds up your application processing in the EJB tier by a magnitude. The state is maintained in the JavaBean/HttpSession syntax on the web server side instead. So the EJB becomes strictly a logic tier, without state. This is the case I am talking about. If you are using stateless beans, then why are we duplicating the "properties" on the EJB bean. My guess is that it is necessary to hold the data from the database, or whatever. But, if you can pass the JavaBean on the web side TO the EJB as a parameter, can not the EJB use the JavaBean object passed to it as well..to store what ever info it needs. Then, when done with the logic, it passes that bean right back to the action class that called the ejb, which hopefully is still the same object in memory as the one passed in, so that the overhead of a NEW JavaBean object being created is ignored. As an example, if you did something like this: MyBean bean = new MyBean(); bean.setXXX("xxx"); bean = getSomeBean(); and the getSomeBean method is like so:L public MyBean getSomeBean() { MyBean b = new MyBean(); b.setXXX("xxx"); return b; } Notice you are assigning a NEW bean object to the old one. That means that the first MyBean object created is no gc'd because the bean = getSomeBean() changed the reference bean points to, to the returned MyBean object. So, what I am wondering is if you do the same thing, does EJB return a "new" object, or does the object returned from the EJB (assuming it is able to be passed the javabean and returned it), overwrite the JavaBean you passed in, in the exact memory location..or does a NEW object reference get created (thus, the EJB returns a NEW object). This is kind of confusing to write. ;) There is a good description of how to migragte from "web-centric" (your current model) to EJB on p.120 of the J2EE blueprint. It's brief - but gives you a general description of what to do for each step. Thanks for the pointer. Now if I could just find out where I can get all the blueprints. ;) I know..java.sun.com. Thanks. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How can I debug JSP
Hi, Visual Age use the project "JSP Page Compile Generated Code" to store the compiled JSP. Each JSP is compiled and stored in this project as a servlet. You can put breakpoints in these servlets. Of course, when you change something in the JSP, the servlet is compiled and your breakpoint is lost but it can help sometimes Regards, Stéphane ZhangDong wrote: Hi all! I'm wanting to write JSP files by IBM webshpere and write some beans in VisualAge for Java. but I can't debug these beans and the JSP file. Can you tell how can I debug them? Is there any other development which supports degbuing deans and JSP? Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- Les données et renseignements contenus dans ce message sont personnels, confidentiels et secrets. Ce message est adressé à l'individu ou l'entité dont les coordonnées figurent ci-dessus. Si vous n'êtes pas le bon destinataire, nous vous demandons de ne pas lire, copier, utiliser ou divulguer cette communication. Nous vous prions de notifier cette erreur à l'expéditeur et d'effacer immediatement cette communication de votre système. The information contained in this message is privileged, confidential, and protected from disclosure. This message is intended for the individual or entity adressed herein. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others ;also please notify the sender by replying to this message, and then delete it from your system. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How can I debug JSP
Does JBUILDER3 have this neat function? Thanks MZ -Original Message- From: Stephane Valente [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 11:51 AM To: [EMAIL PROTECTED] Subject: Re: How can I debug JSP Hi, Visual Age use the project "JSP Page Compile Generated Code" to store the compiled JSP. Each JSP is compiled and stored in this project as a servlet. You can put breakpoints in these servlets. Of course, when you change something in the JSP, the servlet is compiled and your breakpoint is lost but it can help sometimes Regards, Stéphane ZhangDong wrote: Hi all! I'm wanting to write JSP files by IBM webshpere and write some beans in VisualAge for Java. but I can't debug these beans and the JSP file. Can you tell how can I debug them? Is there any other development which supports degbuing deans and JSP? Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- Les données et renseignements contenus dans ce message sont personnels, confidentiels et secrets. Ce message est adressé à l'individu ou l'entité dont les coordonnées figurent ci-dessus. Si vous n'êtes pas le bon destinataire, nous vous demandons de ne pas lire, copier, utiliser ou divulguer cette communication. Nous vous prions de notifier cette erreur à l'expéditeur et d'effacer immediatement cette communication de votre système. The information contained in this message is privileged, confidential, and protected from disclosure. This message is intended for the individual or entity adressed herein. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others ;also please notify the sender by replying to this message, and then delete it from your system. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP on Netscape Enterprise 4.0
Pedro Meza: [Wednesday 5-April]: I have been trying to add JSP capabilities to Nestcape Enterprise 4.0. Easier said than done, eh? I downloaded and installed JDK 1.2, but I get the error when running a test jsp file hello.jsp: warning (8420): JSP compilation error: java.lang.NoClassDefFoundError: sun/tools/javac/Main, stack: java.lang.NoClassDefFoundError: sun/tools/javac/Main I know that usually means the tools.jar is not in the classpath but I have it in the path. CLASSPATH: /opt/server4/docs/jdk1.2/lib/tools.jar:/opt/server4/docs/jdk1.2/src.jar:/opt/server4/docs/jdk1.2/servlet.jar So, what did you do to install them? According to the docs, all you have to do is enable them in the admin server and specify a JDK directory there as well. I don't think that you do have to se the JDK directory into the CLASSPATH with the 1.2 JDK. BTW, I've had a lot of trouble installing this server on both Red Hat 6.1 Linux as well as Solaris. -Eric. -- ||| ||| || r a z o r f i s h , new york eric berg [ senior technologist ] tel +1.212.798.6498 cell +1.917.578.7681 fax +1.212.966.6915 http://waldo.razorfish.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Scope Session.
Laurent, My own understanding of scope is as follows scope = application. All objects are shared by every servlet/jsp in the application. The lifetime of such objects is the lifetime of the application, from when created till when either explicitly destroyed or till all servlets/jsps associated with the application are destroyed. scope = session All objects are shared by every servlet/jsp in the application. The lifetime of such objects is the lifetime of a user session, (created by request.getSession methods) - any objects will be destroyed either when explicitly destroyed, or when the session is invalidated explicitly or due to timeout. scope = request All objects are shared by every servlet/jsp in the application. The lifetime of such objects is the duration of the request. Once a request is complete, all such objects are destroyed. scope = page All objects are reserved to only the JSP page in question. The lifetime of such objects is the duration of processing which occurs while in the JSP - such objects are destroyed if either the request completes, or if a forward or redirect is done. Hope this helps -AMT -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of laurent andre Sent: Thursday, April 06, 2000 3:32 AM To: [EMAIL PROTECTED] Subject: Scope Session. Hello. Please tell me if any of theses affirmation are wrong. Scope=Page means that each bean in jsp:useBean have its own instance ! Scope=Request is the same Scope = session, means that each bean asked with jsp:useBean creates a new instance if it is not in an already known (by the server) session... Scope = application means that the bean is only created 1 time for all jsp that uses this bean. If all this is ok, can anyone explain me why IE5 doesn't create the session !! == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP and JDBC
Hi, page 545, JDBC API tutorial and reference by White et al., use PreparedStatement with addBatch() and executeBatch(). ron --- Portal Team [EMAIL PROTECTED] wrote: Hi I have around 100 records worth of data which i collect from the client and i need to update the database. Eg. of one record : DateOfInput TimeOfInput InputPerson CompanyCode DateOfChange NewValue I have all the data in input boxes and their names are sequential eg fDate1 fDate2 ..fDate100 fTime1 fTime2.. fTime100 what i am doing is First i loop through once and take care of all validations on the client side. i am giving an example for 2 fields !-- create connection to database -- % for (i=1 ; i100; i++) { Df=fDate + i; tf=fTime +i; dDate=request.getParameter(df); dTime=request.getParameter(tf); !-- code to insert above values into table -- } % This means i would have 100 insert statemets being executed. I am not sure this is the best way.. and am new to JSP and JDBC. I would appreciate your suggestions / comments. This data updation is happening over the internet and the database is Oracle8i. thanks in advance Vineet __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
forced recompile of jsp's?
hi all, just wondering if anyone knows of or has a utility that will recompile all the JSPs in a directory (and any subdirectories). we're using jsp includes and when you make one change to those files, it forces a recompile each time (obviously). i'd like to set something running that will spider through the directory structure and recompile all the JSPs without having to hit each and every page manually through your browser. any help is appreciated! thanks, scott ___ Scott Smith phone: 703.262.3459 Proxicom, Inc.fax: 703.262.3201 http://www.proxicom.com mailto:[EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How can I debug JSP
AND ABOUT JBUILDER3.5 FOUNDATION ? have this neat function ? Thanks, Paulo Cesar Dias Lima. -Mensagem original- De: Missy Zhou [EMAIL PROTECTED] Para: [EMAIL PROTECTED] [EMAIL PROTECTED] Data: Quinta-feira, 6 de Abril de 2000 14:35 Assunto: Re: How can I debug JSP Does JBUILDER3 have this neat function? Thanks MZ -Original Message- From: Stephane Valente [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 11:51 AM To: [EMAIL PROTECTED] Subject: Re: How can I debug JSP Hi, Visual Age use the project "JSP Page Compile Generated Code" to store the compiled JSP. Each JSP is compiled and stored in this project as a servlet. You can put breakpoints in these servlets. Of course, when you change something in the JSP, the servlet is compiled and your breakpoint is lost but it can help sometimes Regards, Stéphane ZhangDong wrote: Hi all! I'm wanting to write JSP files by IBM webshpere and write some beans in VisualAge for Java. but I can't debug these beans and the JSP file. Can you tell how can I debug them? Is there any other development which supports degbuing deans and JSP? Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- Les données et renseignements contenus dans ce message sont personnels, confidentiels et secrets. Ce message est adressé à l'individu ou l'entité dont les coordonnées figurent ci-dessus. Si vous n'êtes pas le bon destinataire, nous vous demandons de ne pas lire, copier, utiliser ou divulguer cette communication. Nous vous prions de notifier cette erreur à l'expéditeur et d'effacer immediatement cette communication de votre système. The information contained in this message is privileged, confidential, and protected from disclosure. This message is intended for the individual or entity adressed herein. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others ;also please notify the sender by replying to this message, and then delete it from your system. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JSP and JDBC
There is a batch update example at http://technet.oracle.com/tech/java/sqlj_jdbc/ under the Sample Code section. ^g Portal Team wrote: Hi I have around 100 records worth of data which i collect from the client and i need to update the database. Eg. of one record : DateOfInput TimeOfInput InputPerson CompanyCode DateOfChange NewValue I have all the data in input boxes and their names are sequential eg fDate1 fDate2 ..fDate100 fTime1 fTime2.. fTime100 what i am doing is First i loop through once and take care of all validations on the client side. i am giving an example for 2 fields !-- create connection to database -- % for (i=1 ; i100; i++) { Df=fDate + i; tf=fTime +i; dDate=request.getParameter(df); dTime=request.getParameter(tf); !-- code to insert above values into table -- } % This means i would have 100 insert statemets being executed. I am not sure this is the best way.. and am new to JSP and JDBC. I would appreciate your suggestions / comments. This data updation is happening over the internet and the database is Oracle8i. thanks in advance Vineet -- __ Geoff Grandstaff [EMAIL PROTECTED] eBusiness Technology Solutions Enterprise Technology Center Internet Platform Sales Oracle Corporation 1100 Abernathy Road BLDG 500, Suite 1120 Atlanta, GA 30328 The statements and opinions expressed here are my own and do not necessarily represent those of ORACLE Corporation. __ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: transforming the output stream
Never mind, I was able to get it to work. I hope no one spent too much time thinking about it. But if anyone has a better idea for implementing this, I'm all ears. thanks. -Original Message- From: Joe Milora Sent: Thursday, April 06, 2000 8:02 AM To: '[EMAIL PROTECTED]' Subject: transforming the output stream Hi everyone. I'm trying to design a jsp page similar to the following: static xml myTagLibrary:dynamicXML.../.. myTagLibrary:XSLStyle sheet="..." source=?this? I'd like to get the previous output of the jsp(which will now be an XML document) and transform it into html using XSL. Is it possible to get access to the output stream and change it? Or do I need a different approach? I've tried several variations so far without any luck. thanks, Joe Milora === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Looking 4 a good JSP/Servlet app example
I see lots of really good stuff. But I have not yet seen a complete example application using JSP/Servlets using Session management, MVC, redirecting, logging, tracing, etc. Also, I know there are ISP's hosting JSP/Servlets and request and current experiences with them. TIA [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: forced recompile of jsp's?
Look in your server documentation to find out whether they provide a command line tool. If you're using WebLogic, you can compile on the command line with: java weblogic.jspc some options your JSP file Then write a batch file (or make) to go through all the files. Hope this helps, Borislav -Original Message- From: Scott Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 3:16 PM To: [EMAIL PROTECTED] Subject: forced recompile of jsp's? hi all, just wondering if anyone knows of or has a utility that will recompile all the JSPs in a directory (and any subdirectories). we're using jsp includes and when you make one change to those files, it forces a recompile each time (obviously). i'd like to set something running that will spider through the directory structure and recompile all the JSPs without having to hit each and every page manually through your browser. any help is appreciated! thanks, scott ___ Scott Smith phone: 703.262.3459 Proxicom, Inc.fax: 703.262.3201 http://www.proxicom.com mailto:[EMAIL PROTECTED] == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Model 2 Question..
Craig/and All, I've been following the Model 2 thread. I've the following model working. I've customized the Model 2 to meet our business requirements. (constraints??). Could you all please review and comment ? Here is the overview.: * The HTTP request arrives and is dispatched to the Controller (Router) servlet. This is done based on configuration rules provided when the application is installed. * The controller servlet delegates the request to appropriate servlet. (Why can't we use a 'servlet' instead of 'action' class ? What are the disadvantages?? ) The application servlets acts as command beans and implements the customization required for the application. The controller's sole responsibility is to delegate the requests. * The application servlet makes calls on one or more service beans to perform the logic of the request. All application servets requiring security extends a SecureServlet which implements page and event level security. * The service and beans implement the business logic and may leverage relational database access, connectors, or the Web application infrastructure to perform its computations. * Based on the results of the computation the servlet either selects and invokes a JSP or does an HTTP redirection to another structured interaction. In the former case, the servlet will need to post some of the results (Datastore, DataSheet - glorified hashtables.) of the computation to the execution (HtttpRequest HttpResponse) context for use by the JSP before calling it. In the latter case, the servlet will usually need to place some of the results of the computation into the session context so that it can be picked up by the next interaction. * The dynamic content on the selected page is filled in from the request and session context and the page is sent to the client. This may leverage: formatting beans, other JSP pages, and static content components. Thanks, Kamalesh. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: crypt() for Java...
Someone was asking a while back for crypt() for Java. I have a java class that implements the unix-style crypt, if anyone wants it. It's a quick port I did from a C version I found on the web. _3 M === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
jsp:setProperty doesn't work
Hi, Setter methods don't run when setProperties are called in my JSP page. (I use JSWDK 1.0.1) For example: jsp:useBean id="searcher" scope="session" class="yyy.beans.SearchBean" jsp:setProperty name="searcher" property="jdbcURL" param="blabla" / /jsp:useBean setJdbcURL(...) is not called by the jsp:setProperty.../ call. Any idea? Regards, Ferenc PS: - Hans, Thanks for the answer. Actually, I do exactly what you suggest (check the code in my previous letter). - I can not send letters to the list using the html form. I get this: Error-Code: 3 Error-Text: 550 5.1.1 [EMAIL PROTECTED]... User unknown So the only way to answer letters if I subscribe. I have a valid password that the system accepts. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
how to pass parameters retrieved in a jsp page to the next jsp page
Hi! Listees, Can somebody help me with this question: how to pass parameters retrieved in a jsp page to the next jsp page __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: how to pass parameters retrieved in a jsp page to the next jsp page
Jyoti, To my knowledge, the options to pass values of first page through a second page on to the third are: Save the values delimited by commas into a hidden variable in the second page from which these can be retrieved in the third page(using String Tokenizer).Or use Session vaiables, which is not generally done. Someone please do correct me if I'm wrong. Regards, Divya. - Original Message - From: Jyoti Bongarala [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 06, 2000 5:06 PM Subject: how to pass parameters retrieved in a jsp page to the next jsp page Hi! Listees, Can somebody help me with this question: how to pass parameters retrieved in a jsp page to the next jsp page __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: how to pass parameters retrieved in a jsp page to the next jsp page
how to pass parameters retrieved in a jsp page to the next jsp page Depends on your usage of 'next' If the next page is next in time: - store info in the session or a session bean and retrieve it again If the next page is via jsp:forward: - add the info as parameters in the URL (GET method) If the next page is via requestDispatcher forwarding: - modify the request object before passing it on If the next page is up to the user: - put the info into cookies, or use URL rewriting when generating the links for the next page _3 M === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
HttpSession object and scalability?
I see the advantage of using the HttpSession object to maintain session state, but would like to know if this has any adverse effect on scalability. Microsoft Active Server Pages 2.0 takes a big scalability hit when objects are stored as session variables. Can I safely assume Java's better threading support makes this a non-issue when developing JSPs and servlets? Thanks Craig Arfman Wellington, NZ P.S. For what it's worth I just obtained a copy of "Professional Java Server Programming", and am highly impressed with its coverage of servlets, JSP etc. Thanks and congrats to the authors on this excellent book. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: HttpSession object and scalability?
Hi, I see the advantage of using the HttpSession object to maintain session state, but would like to know if this has any adverse effect on scalability. Microsoft Active Server Pages 2.0 takes a big scalability hit when objects are stored as session variables. Can I safely assume Java's better threading support makes this a non-issue when developing JSPs and servlets? That's a darn good question, and one I have been meaning to ask. It seems odd to me that EJB, which I thought was partly being used to store sessions (hence session beans) is much slower than using HttpSession to store session state. I would love for someone to explain exactly why a session bean is preferred not to be used for session state, and what makes it so slow exactly. My only guess is that session state data is used frequently and constantly going over the network to obtain it and/or modify it is what makes it slow. IS the actual process of using EJB session (stateful) slow, or is it the constant sending of data to/from the ejb session what makes it slow? Also, on that note, I also ask, is the HttpSession and web-server stuff (servlets, action classes, javabeans, jsp, etc) scalable where you can add a second web-server or more to handle more incoming requests, as well as can two or more servers use the n-tier EJB servers properly? How does everything stay in sync so that a 2nd web server that calls a 4th ejb server knows to always send its requests to that 4th server, and how does the incoming request for that session always know to go to the second web server so that it can make sure it submits to the 4th ejb server? Thanks. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Browser Crash and Session tracking
Hi, I want to track the web browser sessions and perform a certain db operations when the session ends, during logout. I want to know is there a way to track the session when the browser is closed and invoke a particular function in my JSP evnironment. I am using Sun's JWS and Oracle DB Is there any funtion that would be invoked automatically, when the session ends. Thanks, Venkat === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Browser Crash and Session tracking
There are two ways that I know of. One is to put a logout button that the user MUST click for it to work. Not necessarily a workable solution because if they dont click it and go to some other site or close the browser, your code doesn't get called. The other way is to use an applet, a very simple one, and use the HttpListner interface I believe. Every time a page "leaves" the applet is killed, and thus notified as to what is going on. However, this method doesn't guarantee the user has left your site or closed the browser..this could occur on every page. I may have misunderstood you and maybe you just want to know when the session dies? You can implement the HttpListener class on any to all of your objects and implement the two methods it presents. When the object is removed from the session, it will call that objects method that HttpListener promises. Sorry..I don't recall what the names of the methods are, or if the interface is HttpSessionListner or not. Look in the Servlet 2.1 or 2.2 spec and you'll see it there. It at least tells you when an object has expired, so you can do some cleanup in this case. Hope that helps. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: how to pass parameters retrieved in a jsp page to the nextjsp page
IMHO, using HTML hidden variables is a bad habit to get into for several reasons. First, it increases the amount of HTML transferred between the client and the server. Second, it could tempt people to save the HTML, modify the input variables, then resubmit the form to try and 'hack' the CGI/Java application. For the really paranoid, which I have done at times, you cache information about all your HTML input variables on the server, then compare them to what was submitted by the HTML form. In a few cases we even send email to a system administrator notifying them of the attempt to break security if the static form input values differ from the cached versions. Just my 2 cents. Glenn Divya M A wrote: Jyoti, To my knowledge, the options to pass values of first page through a second page on to the third are: Save the values delimited by commas into a hidden variable in the second page from which these can be retrieved in the third page(using String Tokenizer).Or use Session vaiables, which is not generally done. Someone please do correct me if I'm wrong. Regards, Divya. - Original Message - From: Jyoti Bongarala [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 06, 2000 5:06 PM Subject: how to pass parameters retrieved in a jsp page to the next jsp page Hi! Listees, Can somebody help me with this question: how to pass parameters retrieved in a jsp page to the next jsp page __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- -- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | -- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP to EJB
Has anyone successfully run a example of JSP calling EJB using Sun J2EE SDK. I try a few times without any success. I follow step by step instruction come with the SDK still nothing happend. Thanks in advance for any help!! -SC === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Browser Crash and Session tracking
Check out the HttpSessionBindingListener interface and the HttpSessionBindingEvent class in the docs of the javax.servlet.http package. Such an event is created when you explicitly add (after login) or remove (after logout) the implementing object to/from the session, or when the session is invalidated due to timeout. I recommend that unless your using applets, you not focus very much on manipulating the browser - try to keep you logic on the server, as users have their own unique "logic" using the browser. Scott - Original Message - From: Venkat Srinivasan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 07, 2000 1:14 AM Subject: Browser Crash and Session tracking Hi, I want to track the web browser sessions and perform a certain db operations when the session ends, during logout. I want to know is there a way to track the session when the browser is closed and invoke a particular function in my JSP evnironment. I am using Sun's JWS and Oracle DB Is there any funtion that would be invoked automatically, when the session ends. Thanks, Venkat === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Websphere / JRunPro
I've been looking at the spec sheets for these two products. I'm wondering if anyone has had experience with both and what exactly justifies the expense of WebSphere. Thanks, Sam __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
useBean does not work on Jrun2.3.3 on Linux
Heres my JSP page --- !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html head titleUntitled/title /head body %@ page import = "americaii.chpfindr.beans.HelloBean" % jsp:useBean id="test" class="americaii.chpfindr.beans.HelloBean" scope="session" / %= test.getName() % /body /html -- The useBean tag doesn't seem to work. If I run the same jsp on Jrun running on windows this same page works fine. Heres part of the output from the generated servlet on linux followd by the generated servlet ouput on windows - out.println("jsp:useBean id=\"test\" class=\"americaii.chpfindr.beans.HelloBean\" scope=\"session\" /"); out.print("" + ( test.getName() ) ); -- If you notice above the test bean is never instantiated by the servlet, instead the servlet just prints out the bean tag to the outputstream as if it were a HTML tag. Now the one below is part of the generated output from windows if you notice it you will see that the servlet is instantiating the bean. americaii.chpfindr.beans.HelloBean test = (americaii.chpfindr.beans.HelloBean) JSPRuntime.instantiateBean("test", "americaii.chpfindr.beans.HelloBean", "session", __test_was_created, pageContext, request, session, application); if(((Boolean) __test_was_created[0]).booleanValue()) { } out.print(test.getName() ); out.print("\r\n\r\n/body\r\n/html\r\n"); out.flush(); } -- Have anyone come across this problems before. if so what is the alternative Appreciate your inputs Sanjay __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Shopping Carts in JSP and Websphere - HELP!
Hi all, does anyone have some sample code or URL links to creating a shopping cart using JSP pages and Servlets residing on WebSphere? This is what I would like to do: 1.have an add shopping cart jsp page - users select multiple checkboxes (denoting items for order) then click on the add button located on the JSP page. 2.The add button calls a Servlet residing on Websphere. The Servlet parses through the add shopping cart JSP page and finds all checkboxes selected. Then creates a shopping cart bean (residing on WebSphere) and adds the items selected to the users shopping cart bean. The Servlet adds the shopping cart bean to the users session object. 3.The Servlet then calls the Shopping cart total JSP page. the JSP page contains a table listing all items selected (gets this from the shopping cart bean stored in the users session object). For each item displayed a Remove button will be associated with the item. if the user clicks on one of the remove buttons then the page is submitted and the Servlet updates the shopping cart bean then redisplays the shopping cart JSP page. I have a reasonable idea of how to create the functionality except for the remove buttons and check box searching. Each remove button will be created by the Servlet but hows does the processing Servlet know what remove button has been selected to remove the item and what check box(s) have been selected. Thanks in advance Marc === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How can I debug JSP
Thank you very much for your help! I still want to know, If I use Netscape Iplanet Server. Can debug too? - Original Message - From: Chetana A L [EMAIL PROTECTED] To: ZhangDong [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 06, 2000 10:07 PM Subject: Re: How can I debug JSP Hi, To debug JSP: put ur jsp file in the location drive:\IBMVjava\ide\project resources\ibm websphere test environment\hosts\default_host\default_app\web\jsp goto Visual age Workbench Choose workspace-tools-launch websphere test environment Choose jsp execution monitor , this will display a option menu - select "Enable monitoring JSP execution" if u want it to display syntax errors select "Retrieve syntax error information" goto to the browser and then type the url as http://localhost:8080/jsp/ur file name To debug beans: Set a break poing and run the bean. Regards, Chetana ZhangDong wrote: Hi all! I'm wanting to write JSP files by IBM webshpere and write some beans in VisualAge for Java. but I can't debug these beans and the JSP file. Can you tell how can I debug them? Is there any other development which supports degbuing deans and JSP? Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Shopping Carts in JSP and Websphere - HELP! - Additional
Sorry people! I left one requirement out - The amount of check boxes available is unlimited (so is the remove Buttons) so I will need to parse through all check boxes and buttons on the form to see what check boxes where checked (true)and what Remove button was clicked. Can this be done?? Marc Hi all, does anyone have some sample code or URL links to creating a shopping cart using JSP pages and Servlets residing on WebSphere? This is what I would like to do: 1.have an add shopping cart jsp page - users select multiple checkboxes (denoting items for order) then click on the add button located on the JSP page. 2.The add button calls a Servlet residing on Websphere. The Servlet parses through the add shopping cart JSP page and finds all checkboxes selected. Then creates a shopping cart bean (residing on WebSphere) and adds the items selected to the users shopping cart bean. The Servlet adds the shopping cart bean to the users session object. 3.The Servlet then calls the Shopping cart total JSP page. the JSP page contains a table listing all items selected (gets this from the shopping cart bean stored in the users session object). For each item displayed a Remove button will be associated with the item. if the user clicks on one of the remove buttons then the page is submitted and the Servlet updates the shopping cart bean then redisplays the shopping cart JSP page. I have a reasonable idea of how to create the functionality except for the remove buttons and check box searching. Each remove button will be created by the Servlet but hows does the processing Servlet know what remove button has been selected to remove the item and what check box(s) have been selected. Thanks in advance Marc === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JRun and Custom Tags?
Hello all, I'm new to JSP and trying to learn it. I have got my JSP pages working. Now, I'm looking into the Custom Tags. I found and download the first example from Orion (so it should works) and try to have it work on JRun. It should be a straight forward thing, right? Wrong. I could not get it works. I got the latest version of JRun: 3.0 Beta 5. Yet, I got this error message at the end of my mail. I have the hello.jsp and myTags.tar installed in this directory: JRun/servers/default/default-app. I even recompiled the HelloWorld tag without any luck. My box is Window NT. Anyone has any idea? My configuration is wrong? JRun does not support Custom Tag yet? I assume the Custom Tag implementation should work across all support servers, am I wrong? Since I did not make any changes to Orion's example, if you like, you can take a look at the example at http://www.orionserver.com/tutorials/tagtut/lesson1/lesson1.html Thanks for any input, Tung Here is my error page: 500 Internal Server Error /hello.jsp: allaire.jrun.TranslationException: Parse Error in JSP page: Tag 'helloWorld' on line '8' is not in tag library 'mytags.jar'. allaire.jrun.jsp.ParseException: Tag 'HelloWorld' on line '8' is not in tag library 'mytags.jar'. at allaire.jrun.jsp.JSPParser.action(JSPParser.java:915) at allaire.jrun.jsp.JSPParser.parse(JSPParser.java, Compiled Code) at allaire.jrun.jsp.JSPParser.writeXML(JSPParser.java:150) at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:122) at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:66) at allaire.jrun.jsp.JSPServlet.parsePage(JSPServlet.java:395) at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:368) at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:183) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:153) at allaire.jrun.Service.service(Service.java:156) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:910) at allaire.jrun.servlet.JRunServletLoader.service(JRunServletLoader.java:198) at allaire.jrun.debug.StackManager.service(StackManager.java:61) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav a:116) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:959) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:910) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav a:116) at allaire.jrun.servlet.JvmContext.forward(JvmContext.java:308) at allaire.jrun.http.WebService.run(WebService.java:135) at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:90) at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code) at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code) -Original Message- From: Sam LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 5:54 PM To: [EMAIL PROTECTED] Subject: Websphere / JRunPro I've been looking at the spec sheets for these two products. I'm wondering if anyone has had experience with both and what exactly justifies the expense of WebSphere. Thanks, Sam __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSSE and Resin
Problem with JSSE and Resin: I'm using Java Secure Socket Extension (JSSE) 1.0.1 http://java.sun.com/products/jsse/ Operating system: Windows 2000 Web Server/Servlet engine: Apache/Resin JDK version: jdk1.2.2 Basically all JSSE boils down to is placing three jar files in your classpath: classpath id='c:/resin1.1/lib/jcert.jar'/ classpath id='c:/resin1.1/lib/jnet.jar'/ classpath id='c:/resin1.1/lib/jsse.jar'/ importing java.security.* and executing the following line: Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); This allows the following to work: SSLSocketFactory factory = (SSLSocketFactory)SSLSocketFactory.getDefault(); SSLSocket socket = (SSLSocket)factory.createSocket("www.verisign.com", 443); Once you have an SSLSocket you can do any kind of SSL communication you want. The trouble is I'm getting: java.net.SocketException: SSL implementation not available when it tries to create the SSLSocket! Here's the really weird part. It works perfectly when I run it from the command line. If I open a dos window and run the program with java MyProgramName it connects to verisign on port 443 no problem. But, if I execute the SAME CODE from within a servlet I get that SSL implemention not available error. I'm pretty sure it has something to do with the Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); line. The docs to JSSE tell you to modify the file: JAVA_HOME/jre/lib/security/java.security with the following: # # List of providers and their preference orders (see above): # security.provider.1=sun.security.provider.Sun security.provider.2=com.sun.net.ssl.internal.ssl.Provider is it possible that resin has no idea this file exists? I set my path to use the java.exe from the JAVA_HOME/jre/bin directory. Why is there an SSL Implemention available when the code is run from the command line, but not from the servlet? I tried calling Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); in many places in the code before I try and create the socket, but no luck. Any ideas? -Andrew iWon $10 million Giveaway TV show - April 15th on CBS iWon.com http://www.iwon.comwhy wouldn't you? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How to debug a Jsp File?
Hi: I am using SDK1.2.2 and JSWDK1.0.1. I find it's difficult to debug the error. Any one have some good suggestion about that? Thx. Xunming === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Job Posting - Java/JSP Software Engineers
Blue Martini Software, a very hot, pre-IPO Internet startup based in San Mateo, California has immediate openings for a Software Engineer and Integration Architect to define, manage, and implement Blue Martini's third-party software integration architecture. The positions require Internet professionals to work on a sophisticated Java/JSP e-commerce server that integrates with a wide variety of technologies and messaging architectures, including ERP, POS, data mining, and EJB. The positions are located in San Mateo and offer excellent starting salaries and stock options, with an IPO planned sometime this year. For more information or detailed job descriptions, please send email to [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Post a job opportunity????
Does anyone mind if I post a message about java / jsp job opportunities on the mailing list? I wasn't sure if this was frowned upon or not. Thanks... Mike C [EMAIL PROTECTED] [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
(no subject)
Hi All! I'm using jswdk-1.0.1 from sun. I would like to know whether we can use applets with jsp. Any sample code would be highly appreciated. Thanx in advance! \/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Coding Convention for JSP
Dear Sneha, I've been working on an autoportal project. What we did was to divide the entire page into smaller sections, like top, bottom, left, right, etc and called the corresponding .jsp files. From this one page, we developed a template. Then, the other pages were done from this. As far as I know, there are no JSP coding guidelines readily available. Rgds, Arnab -Original Message- From: Sharma Sneha [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 12:30 AM To: [EMAIL PROTECTED] Subject: Coding Convention for JSP Sneha Sharma@CONTEXT 04/05/2000 12:00 PM Hi! Could somebody show me a pointer to JSP coding guidelines Thanks. == = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets