Re: JSP-INTEREST Digest - 29 Sep 2002 to 30 Sep 2002 (#2002-271)
I wanted to have a detailed information about jsp precompilation related to tomcat4.0. -- Thanks & Regards, Kailash, Aithent Tech. (p) Ltd., Plot No.8&9 , Elec.City, Sec-18, GGN-122015, 91 124 6455511 ( Ext .205 ), Do take good care of your health - Original Message - From: Automatic digest processor To: Recipients of JSP-INTEREST digests Sent: Tuesday, October 01, 2002 11:30 AM Subject: JSP-INTEREST Digest - 29 Sep 2002 to 30 Sep 2002 (#2002-271) ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Help on parameter begin passed from JSP to Java Bean
Hi You can try one thing-once you take out the values from the varaiables for updation, reinitialize just after your update query -- Thanks & Regards, Kailash, - Original Message - From: [Aruniima Chakrabarti] To: [EMAIL PROTECTED] Sent: Friday, April 05, 2002 1:11 PM Subject: Help on parameter begin passed from JSP to Java Bean Hello everyone, I have a HTML page which calls a JSP page on submit, which has a 'useBean' & 'setProperty' tags set so that the values from the HTML is passed to the Bean to be updated in the database. Some of the fields on HTML page & the corresponding field in the database are optional. Now the problem I am facing is that if the first time the user puts a value in the text box & submits page, it gets updated without a problem. But the next time if he leaves the text box empty & submits, then the previous entered value for the textbox is taken instead of null value. Refreshing of the page is not solving the problem & closing - opening of the page again is not feasible. How should I handle this problem? I tried changing the 'scope' but that is not solving the problem. Kindly help. Thanks in advance. Regards, aruniima This message contains privileged and confidential information and is intended only for the individual named. If you are not the intended recepient you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and immediately delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Offtopic: Hiding Javascript
one way is to - include your java script file in to your page. by this method script file doesn't get visible to the user. </FONT></DIV> <DIV><FONT face=Arial size=2> ------Thanks & Regards,Kailash,Aithent Technologies (p) Ltd., Plot No.8&9 ,Electronic City, Sector 18 , Gurgaon 122015,Tel : + 91 124 6455504/11 ( Ext .205 )DO TAKE VERY GOOD CARE OF YOUR HEALTH - Original Message - From: Hardeep Singh To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 11:54 PM Subject: Offtopic: Hiding Javascript Hi,I am sending this question to this list because I dont know about moreappropriate ones. I want to hide javascript code from the user, i.e, heshould not be able to do view source and see the code. I know that it isimpossible to hide java script code from the user but is there any way tomake it too hard?Hardeep Singhhttp://SeeingWithC.cjb.net===To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: plz help me out ....
hi there is folder called "work" in Tomcat Foler Structure. just delete everything inside the work folder and restart your Tomcat server.The change will be reflected. Thanks & Regards ------ Kailash N.Pandey Aithent Technologies (SSI),New Delhi, [EMAIL PROTECTED] Do Take Very Good Care Of Your Health - Original Message - From: "Surender Rana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 17, 2000 12:06 PM Subject: plz help me out > hi buddies > i have just started working on jsp but i am facing one problem. once my jsp > has run on the tomcat and if after that i am changing my same jsp to add > some more features the tomcat is not reflecting the changes. every time i > make the changes i have to rename my file to some other name, then only i > get the changes. is ther any setting in the tomcat for overcoming such > problem. > bye > surender > - Original Message - > From: K.S.SREEDHAR KUMAR <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 17, 2001 11:21 AM > Subject: plz help me out > > > > hey buddies > > > > i'm a newbie to the JSP arena i've just come to custom tag > > development i'm getting mad in deploying a sample app btw i'm > using > > tomcat 3.2.1 server... > > > > is there any strict naming convention for the tld file if so plz specity > > it > > > > i'm providing u source for web.xml, tld file ,tag handler(.java) and jsp > > file with this.. > > > > the directory structure which i'm having now is as follows: > > > > > > sample web application context path is : /gen > > > > tld file is in : /gen/Meta-Inf/GenTag.tld > > web.xml file is in : /gen/Web-Inf/web.xml > > tag handler class file is in : /gen/Web-Inf/classes/GenTag.class > > jsp file is in : /gen/test.jsp > > > > > > btw context path adddr is : /webapps/gen > > > > hte error which i'm getting is:: > > org.apache.jasper.compiler.CompileException: > > C:\Jakarta\jakarta-tomcat-3.2.1\webapps\gen\test.jsp(0,0) Unable to open > > taglibrary FirstTag : C:\Jakarta\jakarta-tomcat-3.2.1\webapps\gen\FirstTag > > (The system cannot find the file specified) > > > > > > all i want is this sample app should work... what ever u say i'm ready to > > accept > > > > > > TEST.JSP:: > > > > <%@ taglib uri="FirstTag" prefix="test" %> > > > > > > > > custom action result is > > > > false > > > > hahhaha > > > > > > > > WEB.XML :: > > > > > > Application > > 2.2//EN""http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> > > > > > > > > > > > > FirstTag > > > > > > > > /Web-Inf/GenTag.tld > > > > > > > > > > > > > > > > GenTag.tld :: > > > > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD JSP TagLibrary 1.1 file://EN" > >"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";> > > > > 1.0 > > 1.1 > > FirstTag > > > > > > FirstTag > > GenTag > > > > > > > > > > > > GenTag.java:: (TAG HANDLER) > > > > import java.io.*; > > import javax.servlet.jsp.tagext.*; > > import javax.servlet.jsp.*; > > > > public class GenTag extends BodyTagSupport{ > > > > public int doStartTag() { > > try { > >JspWriter out = pageContext.getOut(); > >out.print("Custom tag example " + > > "(coreservlets.tags.ExampleTag)"); > > } catch(IOException ioe) { > >System.out.println("Error in ExampleTag: " + ioe); > > } > > return(SKIP_BODY); > > } > > } > > > > thanx in advance > > > > regards > > ks > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products
Re: <%@ include file or
when u want to include an already cimplied JSP file then use <% include %> other wise in case of run time compilation of a n included jsp file use action Thanks & Regards ------ Kailash N.Pandey Aithent Technologies (SSI),New Delhi, [EMAIL PROTECTED] Do Take Very Good Care Of Your Health - Original Message - From: "manoj nahar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 30, 2001 3:50 PM Subject: <%@ include file or hi there, > > can someone please suggest when to use > > <%@ include file="pagename.jsp" %> > > and when to use > > , > > thanks in advance > > manoj nahar > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
No Subject
chechk all yu classpath values.it is just beacause of this. Thanks & Regards ------ Kailash N.Pandey Aithent Technologies (SSI),New Delhi, [EMAIL PROTECTED] Do Take Very Good Care Of Your Health - Original Message - From: "seema gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 10:34 PM > Hello > I am also new in this field but when I click my startup in tomcat directory > dos window is show just for a fraction of time then it just stop what do i > do > please help me as i am not able to run any jsp prog > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: request.getParameter - Repeating Fields
hi > > How best can I get all the parameters after I submit the form, using the > following? use request.getParameterNames() ,it return u a reference of Enumeration interface.of which u use hasMoreElement() method to get the value of all the elemnts. > 1. JSP--->>>>>>>requst.getParameter("address");//please replace address > with ur variables name > 2. Servlet-->DO > Thanks & Regards ------ Kailash N.Pandey Aithent Technologies (SSI),New Delhi, [EMAIL PROTECTED] Do Take Very Good Care Of Your Health - Original Message - From: Kailash Nath Pandey <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 1:52 PM Subject: Re: request.getParameter - Repeating Fields > hi > > How best can I get all the parameters after I submit the form, using the > following? > 1. JSP--->>>>>>>requst.getParameter("address");//please replace address > with ur variables name > 2. Servlet-->DO > > try it > > Thanks & Regards > -- > Kailash N.Pandey > Aithent Technologies (SSI),New Delhi, > [EMAIL PROTECTED] > Do Take Very Good Care Of Your Health > > - Original Message - > From: Willy LEGIMAN <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, April 04, 2001 1:13 PM > Subject: request.getParameter - Repeating Fields > > > > Hi there, > > > > I've got a form that has got X number of fields. Every field name on the > > form has the prefix 'address', e.g. address0, address1, address2, ... > > addressX. > > > > How best can I get all the parameters after I submit the form, using the > > following? > > 1. JSP > > 2. Servlet > > 3. Bean (using setProperty) > > > > Regards > > Will > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: request.getParameter - Repeating Fields
hi How best can I get all the parameters after I submit the form, using the following? 1. JSP--->>>>>>>requst.getParameter("address");//please replace address with ur variables name 2. Servlet-->DO try it Thanks & Regards ------ Kailash N.Pandey Aithent Technologies (SSI),New Delhi, [EMAIL PROTECTED] Do Take Very Good Care Of Your Health - Original Message - From: Willy LEGIMAN <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 1:13 PM Subject: request.getParameter - Repeating Fields > Hi there, > > I've got a form that has got X number of fields. Every field name on the > form has the prefix 'address', e.g. address0, address1, address2, ... > addressX. > > How best can I get all the parameters after I submit the form, using the > following? > 1. JSP > 2. Servlet > 3. Bean (using setProperty) > > Regards > Will > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets