EJB mailing list (out of topic)
Hi, Is there a mailing list for EJB? Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: my jsp page is not getting refreshed
I really don't know the exact reason behind this,but I have faced similar problems.What I did was just copied and pasted that file with a new name and it worked.Sometimes restarting the machine also helped.Make sure that ur Java Web Serve has not expired and that u have'nt set the system date to a back date. Raj >From: sumit deogharia <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: my jsp page is not getting refreshed >Date: Fri, 27 Oct 2000 04:08:52 -0700 > >Hi > > I'm facing a peculiar problem... I've written a JSP(file1.jsp) and >have seen the output of the page. Then at the end of the day I shutdown the >machine and leave for the day. Now what is happening is that on the next >day when I am opening that same file i.e file1.jsp >and make some changes (say adding a new button or adding a new textbox) and >then saving and refreshing, the new changes aren't getting reflected on the >jsp file. >I am using JSP version 1.1 and the webserver is Java Web Server 2.0 > >Can u please help me out of this mess... > >thanks > Sumit > > > >How do you spell EMAIL? You @ 37.com - The world's easiest free Email >address >Get your free email at: http://email.37.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Exam Venues
You may need to call the 1800 number of US to ask them the Sylvan Prometric Centers. Address: UBRM12-175, 500 Eldorado Blvd., Broomfield, CO 80021 Phone: (800) 422-8020, (303) 464-4097 or fax (303) 464-4490. These are the training center's details in New Zealand.They may be of some help. Training Center Name: undefined Address: Level 5, 47 Wakefield Street Country: Auckland, New Zealand Phone Number: +64 9 356 6800 Fax Number: +64 9 356 6810 Training Center Name: Sun Microsystems House Address: Wellington Country: Wellington, New Zealand Phone Number: +64 4 499 2344 Fax Number: +64 4 499 2348 Raj. >From: Raj Jain <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Exam Venues >Date: Sun, 22 Oct 2000 22:07:10 GMT > >Please tell me how can I find out the list of venues for the Java >Certification Exams. I am in Christchurch, Newzealand and would like to >know >where can I sit for this exam. >Cheers >Raj >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Session expiry
Hi, What is the default duration in which a session expires automatically?Is there anyway to set the time in which it should expire if user is idle? Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 times out
Use the method session.isAlive() to check if it alive or not. Raj. >From: viliandy leonardo <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Session times out >Date: Wed, 18 Oct 2000 00:20:21 GMT > >Hi all, > >How do I find out if a session already times out so that I can redirect a >user to the login page again? > >TIA >-Viliandy > > > >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Servlet Instance.
I am using Java Web Server2.0.One of my JSP is invoking a servlet,but unfortunatey this is not working.Even though I am making code changes to the servlet still,the changes are not reflected.I tried to restart the Server,but I guess no new instance os getting created of the servlet. Can anyone suggest why this is happening? Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Pop Up Window
Thanks. I have never used Javascript...can u help with some suggestive code.. >From: "Antonio W. Lagnada" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Pop Up Window >Date: Sun, 24 Sep 2000 00:05:02 -0500 > >why don't u use javascript to popup the window, then invoke your JSP. > >-- >Antonio W. Lagnada >[EMAIL PROTECTED] - email > >This email address is specifically >for JSP-Interest email list > > > Raj S <[EMAIL PROTECTED]> wrote: > > Hi, > >Can someone suggest how to get a pop up window in JSP?I am deleting > > a > > value,so I just want to pop up window,which can confirm from the user > > something like Are you sure you want to delete this value? > > If User presses Yes then I want to invoke the JSP which has the > > functionality to delete this entry. > > > > Thanks in advance, > > > > Raj > > >_ > > Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > > > > Share information about yourself, create your own public profile at > > http://profiles.msn.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 get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, >all in one place - sign up today at http://www.zdnetonebox.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 store passwords in a database for later validation
Use Message Algorithm.. This may help you. Regards, Raj S. byte[] buf= new byte[args[0].length()]; args[0].getBytes(0, args[0].length(), buf, 0); MessageDigest algorithm=null; try { algorithm = MessageDigest.getInstance("SHA-1"); }catch (NoSuchAlgorithmException e) { System.out.println(e); } algorithm.reset(); algorithm.update(buf); byte[] digest1 = algorithm.digest(); >From: Raymund <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: how to store passwords in a database for later validation >Date: Fri, 22 Sep 2000 12:01:27 +0200 > >hi, > >i need a class which can encode passwords which i then can store in my >db. > >thanks > >RAY > >=== >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 E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Pop Up Window
Hi, Can someone suggest how to get a pop up window in JSP?I am deleting a value,so I just want to pop up window,which can confirm from the user something like Are you sure you want to delete this value? If User presses Yes then I want to invoke the JSP which has the functionality to delete this entry. Thanks in advance, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: where to put servlet in javawebserver
Put it under servlets directory >From: sufi malak <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: where to put servlet in javawebserver >Date: Wed, 20 Sep 2000 15:10:35 GMT > >Hi, I have a servlet called LoginServlet, this is the first thing that will >be called for the user login, where shoud I put it in javawebserver. >Thanks >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Urgent!! RE: Supress LDAP Authentication
Ok,Then you can try this. Make a class and invoke a method of this class,example VerifyLogin(String uname,String pwd); In this method ,seek a connection to your ldap server using the username and password just received by specifying environment properties. If you are able to get it's directory context,then connection is successful.In that case you can return the name of the JSP,where you want to forward it,and if not authenticated,then you can return name of an Error jsp. Hope this help. Raj S >From: Mutahar Qayum <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Urgent!! RE: Supress LDAP Authentication >Date: Thu, 21 Sep 2000 09:51:31 -0700 > >Yes, we need to authenticate user, we dont want to show ugly ldap dialog. I >have made a page to get >user/pass from user. then we need it to be verified from ldap. > >-Original Message- >From: Raj S [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 20, 2000 10:51 PM >To: [EMAIL PROTECTED] >Subject: Re: Urgent!! RE: Supress LDAP Authentication > > >I am too sure but I may be able to help you. >I just need to clarify a few things.If I have understood your >requirements,do u need to authenticate the user at the backend and then >display next page,according to authentication or else maybe an error page >or >prompt the user to enter username and password . > > > > > >-Original Message- > >From: Mutahar Qayum [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, September 20, 2000 11:34 AM > >To: [EMAIL PROTECTED] > >Subject: Supress LDAP Authentication > > > > > >Hi, > > > >I want some information for suppressing the login dialog box that comes > >when > >anyone open a site. > >I will be developing a page to get userid/password from user, and want it > >to > >be directly authenticated without displaying the > >userid/password dialog. > > > > > >thanks > >MQ > > > >=== > >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 > >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Display data in editable mode
Thanks.I dont have much idea about using these tags,but I will see how it works. >From: Priya Pinto <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Display data in editable mode >Date: Thu, 21 Sep 2000 06:12:57 - > >I was faced with a similar problem and overcame it by going for a href with >the relevant fields passed as parameters. > >Here's the code I used > > > >Edit.jsp?id=&title=select="title"/>&description=select="description"/>&urls=select="urls"/>&category= > > > > > >Delete.jsp?id=&title=select="title"/>&description=select="description"/>&urls=select="urls"/>&category= > > > > >That worked just fine > >Do get back if u need any further clarifications > >Priya >- Original Message -- >Raj S <[EMAIL PROTECTED]> wrote: >To:[EMAIL PROTECTED] >From:Raj S <[EMAIL PROTECTED]> >Date:Thu, 21 Sep 2000 05:59:17 GMT >Subject: Display data in editable mode > >Hi, > How can display data in editable mode?I have a table,where at the end >of >each row,there is a delete and modify option.When I select modify,it gets >forwarded to next JSP,with the relevant fields. >But how can I display this data in editable mode,so that the user can >change >it and save it. > > >Thanks in advance, >Raj > >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 > >_ >Get Your Free Email At, http://www.rediffmail.com > >For fabulous shopping deals visit: >http://www.rediff.co.in/shopping/index.html > >=== >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 E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: login.jsp
Hi, Create a new Session and put values of LoginName and password. and use getValue() to get those values. Hsession.putValue("LoginName",LoginName); Hsession.putValue("Password",Password); String slog= (String)Hsession.getValue("LoginName"); String spasswd= (String)Hsession.getValue("Password"); Hope this helps, Raj >From: sufi malak <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: login.jsp >Date: Wed, 20 Sep 2000 01:45:10 GMT > >Hi, I am looking for a login jsp file that keep track (session) of the >user >name ( because I need the username to save it whenever the user do some >actions like add, delete or update, and when the username/password are >correct, forward to a framset. >I saw this example somewhere but don't remember(login.jsp, >loginbean.java..) >Please help me. >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 parameters.
Thanks a lot.It worked. Raj >From: Shiraz Wasim Zaidi <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Session parameters. >Date: Wed, 20 Sep 2000 21:36:23 -0500 > >What is happening is that your Delete.jsp is not having the same value of >LoginName and Password >String variable when you are invoking getValue method. > >What's wrong is the way u are binding ur data. You are using the same key >as >the >value being binded. This itself defeats the purpose of maintaing data in >Session, >when you need the data to look into itself. > >see below for the right code > > > Object Ologin = (Object)LoginName; > > Object Opassword = (Object)Password; > >You dont require these 2 above steps. > > > Hsession.putValue(LoginName,Ologin); > >Change this to >Hsession.putValue("LoginName",LoginName); > > > Hsession.putValue(Password,Opassword); > >Change this to > Hsession.putValue("Password",Password); > > > Object Ologin1 = Hsession.getValue("LoginName"); > > Object Opassword1 = Hsession.getValue(Password); > >Change it to >String slog= (String)Hsession.getValue("LoginName"); >String spasswd= (String)Hsession.getValue("Password"); > >In ur Delete.jsp use the following code >String slog= (String)Hsession.getValue("LoginName"); >String spasswd= (String)Hsession.getValue("Password"); >And it should work. > > >-Shiraz > >=== >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 E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Display data in editable mode
Hi, How can display data in editable mode?I have a table,where at the end of each row,there is a delete and modify option.When I select modify,it gets forwarded to next JSP,with the relevant fields. But how can I display this data in editable mode,so that the user can change it and save it. Thanks in advance, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Urgent!! RE: Supress LDAP Authentication
I am too sure but I may be able to help you. I just need to clarify a few things.If I have understood your requirements,do u need to authenticate the user at the backend and then display next page,according to authentication or else maybe an error page or prompt the user to enter username and password . >-Original Message- >From: Mutahar Qayum [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 20, 2000 11:34 AM >To: [EMAIL PROTECTED] >Subject: Supress LDAP Authentication > > >Hi, > >I want some information for suppressing the login dialog box that comes >when >anyone open a site. >I will be developing a page to get userid/password from user, and want it >to >be directly authenticated without displaying the >userid/password dialog. > > >thanks >MQ > >=== >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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Session parameters.
Hi, I am facing a problem with retreiving Session parameters. Below is the code in Search.jsp.In this JSP,when I use the method getValue,I can retrieve the values of LoginName and Password. But from this JSP,I am invoking Delete.jsp,where again I am trying to retrive the same parameters by getValue(),but I get only null.Whereas the Session ID is the same. Can anyone suggest why I can't get the values in the second JSP? HttpSession Hsession= request.getSession(true); Object Ologin = (Object)LoginName; Object Opassword = (Object)Password; Hsession.putValue(LoginName,Ologin); Hsession.putValue(Password,Opassword); Object Ologin1 = Hsession.getValue(LoginName); Object Opassword1 = Hsession.getValue(Password); String slog=(String)Ologin1; String spasswd= (String)Opassword1; out.println("SESSION VALUE OF LOGIN IS : "+slog); out.println("SESSION VALUE OF PASSWORD IS "+spasswd); Thanks in advance, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Encrypt and Decrypt Password
Hi, Iam trying Sessions.Pls let me know if this is correct. <%HttpSession Hsession= request.getSession(true); <% Hsession.putValue(slog,Ologin); Hsession.putValue(spwd,Opassword); Object Ologin1 = Hsession.getValue("slog"); Object Opassword1 = Hsession.getValue("spwd"); String slog=(String)Ologin1; String spasswd= (String)Opassword1; out.println("SESSION VALUE OF LOGIN IS ,: "+slog); out.println("SESSION VALUE OF PASSWORD IS : "+spasswd); %> But when I use getVaue(),it returns null. Thanks, Raj >From: Stefan Bushev <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Encrypt and Decrypt Password >Date: Tue, 19 Sep 2000 11:09:01 EEST > >do you use request.getParameter() to get it's value? >just like: > > ... > >so in the jsp: > <%=request.getParameter("blah")%> >should return: > Directory Manager > >s.b. > >>From: Raj S <[EMAIL PROTECTED]> >>Reply-To: A mailing list about Java Server Pages specification and >> reference <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Re: Encrypt and Decrypt Password >>Date: Mon, 18 Sep 2000 16:49:35 GMT >> >>Hi, >> Thanks for this.But actually I have to transfer it through an >> link.Because I have a table displaying vlues from LDAP, and next >>to each record I have a text written as "Del". >>By clicking on it,the user can delete that record. >>But the value will be visible in the link which is what I want to >>avoid.So I wish to encrypt the password and then decrypt it back. >> >>One another problem that I am facing,is passign values which have space >>in >>between.Through it is fine,but when I transfer it through >type =Hidden> the value after space is removed. >> >>Like the name Directory Manager. >>In the new JSP I receive only Directory and not Directory Manager >> >>Any particular reason for this?? >> >>> >>>hi raj.. >>>you may do something like: >>> >>> >>> >>>blabla >>> >>> >>> function myFunct() { >>>myForm.submit(); >>> } >>> >>> >>>i hope this will help you >>> >>>regards, >>>stefan bushev >>> >>> >>>>From: Raj S <[EMAIL PROTECTED]> >>>>Reply-To: A mailing list about Java Server Pages specification and >>>> reference <[EMAIL PROTECTED]> >>>>To: [EMAIL PROTECTED] >>>>Subject: Encrypt and Decrypt Password >>>>Date: Mon, 18 Sep 2000 01:36:05 GMT >>>> >>>>Hi, >>>> How can I pass the value of a password without it being visible to >>>>the >>>>user on the browser? >>>>I will be passing it through link,but the value of the password >>>>will be visible. >>>>Is it possible to encrypt while passing and decrypt back to original >>>>value >>>>in the othe JSP? >>>>If someone has written a code in this,it would be really helpful if you >>>>could share it. >>>> >>>>Thanks, >>>>Raj >>>> >>>>_ >>>>Get Your Private, Free E-mail from MSN Hotmail at >>>>http://www.hotmail.com. >>>> >>>>Share information about yourself, create your own public profile at >>>>http://profiles.msn.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 >>> >>>_ >>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. >>> >>>Share information about yourself, create your own public profile at >>>http://profiles.msn.com. >>> >>>==
Re: Encrypt and Decrypt Password
HI, Yes that's what I have used,and it works fine when transferred from JSP1 to JSP2,but when I transfer from JSP2 to JSP3 the value that I get I get is just Directory and not Directory Manager. What I have done,is implemented a method which searches for a blank and inserts a character before forwarding,and in the JSP3 it removes that character. But,honestly I can't understand this behaviour of not getting the complete name. With buttons I can still manage,but I just can't make out how to send the password through . Thanks, Raj >From: Stefan Bushev <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Encrypt and Decrypt Password >Date: Tue, 19 Sep 2000 11:09:01 EEST > >do you use request.getParameter() to get it's value? >just like: > > ... > >so in the jsp: > <%=request.getParameter("blah")%> >should return: > Directory Manager > >s.b. > >>From: Raj S <[EMAIL PROTECTED]> >>Reply-To: A mailing list about Java Server Pages specification and >> reference <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Re: Encrypt and Decrypt Password >>Date: Mon, 18 Sep 2000 16:49:35 GMT >> >>Hi, >> Thanks for this.But actually I have to transfer it through an >> link.Because I have a table displaying vlues from LDAP, and next >>to each record I have a text written as "Del". >>By clicking on it,the user can delete that record. >>But the value will be visible in the link which is what I want to >>avoid.So I wish to encrypt the password and then decrypt it back. >> >>One another problem that I am facing,is passign values which have space >>in >>between.Through it is fine,but when I transfer it through >type =Hidden> the value after space is removed. >> >>Like the name Directory Manager. >>In the new JSP I receive only Directory and not Directory Manager >> >>Any particular reason for this?? >> >>> >>>hi raj.. >>>you may do something like: >>> >>> >>> >>>blabla >>> >>> >>> function myFunct() { >>>myForm.submit(); >>> } >>> >>> >>>i hope this will help you >>> >>>regards, >>>stefan bushev >>> >>> >>>>From: Raj S <[EMAIL PROTECTED]> >>>>Reply-To: A mailing list about Java Server Pages specification and >>>> reference <[EMAIL PROTECTED]> >>>>To: [EMAIL PROTECTED] >>>>Subject: Encrypt and Decrypt Password >>>>Date: Mon, 18 Sep 2000 01:36:05 GMT >>>> >>>>Hi, >>>> How can I pass the value of a password without it being visible to >>>>the >>>>user on the browser? >>>>I will be passing it through link,but the value of the password >>>>will be visible. >>>>Is it possible to encrypt while passing and decrypt back to original >>>>value >>>>in the othe JSP? >>>>If someone has written a code in this,it would be really helpful if you >>>>could share it. >>>> >>>>Thanks, >>>>Raj >>>> >>>>_ >>>>Get Your Private, Free E-mail from MSN Hotmail at >>>>http://www.hotmail.com. >>>> >>>>Share information about yourself, create your own public profile at >>>>http://profiles.msn.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 >>> >>>_ >>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. >>> >>>Share information about yourself, create your own public profile at >>>http://profiles.msn.com. >>> >>>=== >>>To u
Re: Encrypt and Decrypt Password
I am using JNDI, to access LDAP server to delete ,modify and add attributes ,I have to provide the username and password in the context. This is the reason I have to forward the password and username from one JSP to another. >From: Artem Babenko <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Encrypt and Decrypt Password >Date: Mon, 18 Sep 2000 20:53:53 +0400 > >I realy don`t understand why you have to send password to a client. >1. Store your password in the session object. >2. If you want avoid cookies. > Create array of random generated key (numbers) and login for each >pasword. > Store it in application object. > Login with a key represent a password. > Every key is used once only. (Then it is deleted from array of >keys) > For each request generate a new key. > You could add expire time for every key also. >3. You can use JavaScript to send form with a hidden values. > > >-Original Message- >From: A mailing list about Java Server Pages specification and reference >[mailto:[EMAIL PROTECTED]]On Behalf Of Raj S >Sent: Monday, September 18, 2000 8:50 PM >To: [EMAIL PROTECTED] >Subject: Re: Encrypt and Decrypt Password > > >Hi, >Thanks for this.But actually I have to transfer it through an > link.Because I have a table displaying vlues from LDAP, and next >to each record I have a text written as "Del". >By clicking on it,the user can delete that record. >But the value will be visible in the link which is what I want to >avoid.So I wish to encrypt the password and then decrypt it back. > >One another problem that I am facing,is passign values which have space in >between.Through it is fine,but when I transfer it through type =Hidden> the value after space is removed. > >Like the name Directory Manager. >In the new JSP I receive only Directory and not Directory Manager > >Any particular reason for this?? > > > > >hi raj.. > >you may do something like: > > > > > > > >blabla > > > > > > function myFunct() { > >myForm.submit(); > > } > > > > > >i hope this will help you > > > >regards, > >stefan bushev > > > > > >>From: Raj S <[EMAIL PROTECTED]> > >>Reply-To: A mailing list about Java Server Pages specification and > >> reference <[EMAIL PROTECTED]> > >>To: [EMAIL PROTECTED] > >>Subject: Encrypt and Decrypt Password > >>Date: Mon, 18 Sep 2000 01:36:05 GMT > >> > >>Hi, > >> How can I pass the value of a password without it being visible to >the > >>user on the browser? > >>I will be passing it through link,but the value of the password > >>will be visible. > >>Is it possible to encrypt while passing and decrypt back to original >value > >>in the othe JSP? > >>If someone has written a code in this,it would be really helpful if you > >>could share it. > >> > >>Thanks, > >>Raj > >> > >>_ > >>Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > >> > >>Share information about yourself, create your own public profile at > >>http://profiles.msn.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 > > > >_ > >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > >Share information about yourself, create your own public profile at > >http://profiles.msn.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=JS
Re: Encrypt and Decrypt Password
Hi, Thanks for this.But actually I have to transfer it through an link.Because I have a table displaying vlues from LDAP, and next to each record I have a text written as "Del". By clicking on it,the user can delete that record. But the value will be visible in the link which is what I want to avoid.So I wish to encrypt the password and then decrypt it back. One another problem that I am facing,is passign values which have space in between.Through it is fine,but when I transfer it through the value after space is removed. Like the name Directory Manager. In the new JSP I receive only Directory and not Directory Manager Any particular reason for this?? > >hi raj.. >you may do something like: > > > >blabla > > > function myFunct() { >myForm.submit(); > } > > >i hope this will help you > >regards, >stefan bushev > > >>From: Raj S <[EMAIL PROTECTED]> >>Reply-To: A mailing list about Java Server Pages specification and >> reference <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Encrypt and Decrypt Password >>Date: Mon, 18 Sep 2000 01:36:05 GMT >> >>Hi, >> How can I pass the value of a password without it being visible to the >>user on the browser? >>I will be passing it through link,but the value of the password >>will be visible. >>Is it possible to encrypt while passing and decrypt back to original value >>in the othe JSP? >>If someone has written a code in this,it would be really helpful if you >>could share it. >> >>Thanks, >>Raj >> >>_ >>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. >> >>Share information about yourself, create your own public profile at >>http://profiles.msn.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 > >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Encrypt and Decrypt Password
Hi, How can I pass the value of a password without it being visible to the user on the browser? I will be passing it through link,but the value of the password will be visible. Is it possible to encrypt while passing and decrypt back to original value in the othe JSP? If someone has written a code in this,it would be really helpful if you could share it. Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Forms and tables in JSP.
Hi Antonio, Thanks.It was quite a help . Regards, Raj > >Hi Raj, > >I have created many CGI scripts that deal with something like this. >What seems like you are asking is how to make a "multi-part" form. There's >many ways to do so I'm just going to show you the technique that I use. > >I use the method GET to initially develop this and then switch it to >POST later on. > >I usually have a "modify" or "delete" icon/image at the end or beginning >of each row, with the link to the servlet that does the "modify" or >"delete" >action. > >If I click on the "modify" image, the link would be: >http://youraddress/MyServlet?action="modifyform&id=" > >If I click on the "delete" image, the link would be: >http://youraddress/MyServlet?action="confirmdelete&id=" >This will display the delete confirmation link > >For creating multi-part forms. >1. Define the modes that you have >- display mode (for each record I would have a "delete" and "modify" >images with a link to http://MyServlet?action= > >- update mode > a. display update form and data > b. update the table data > >- delete mode > a. delete confirmation form > b. delete the table data > >I usually use 1 parameter to figure out the method I want to execute. > For example I would use "action" > >If I want to display all the records: >http://youraddress/MyServlet?action=display > >If I want to modify records: >http://youraddress/MyServlet?action="modifyform" >1. The first thing to do is display the existing records >2. Then click a "modify" button to update the data >Then the action would be: >http://youraddress/MyServlet?action="modify" > >If I want to delete: >1. First confirm the deletion >http://youraddress/MyServlet?action="confirmdelete" >2. Then actually perform the deletion >http://youraddress/MyServlet?action="delete" > >This way you control what is displayed by the "action" parameter. > >Here's the pseudo code: > >if "action" is "display" > call the Display() method >else if "action" is "modifyform" > call the DisplayModifyForm() method >else if "action" is "modify" > call the ModifyForm() method >else if "action" is "confirmdelete" > call the ConfirmDelete() method >else if "action" is "delete" > call the Delete() method > > > > > >-- >Antonio W. Lagnada >[EMAIL PROTECTED] - email > >This email address is specifically >for JSP-Interest email list > > > Raj S <[EMAIL PROTECTED]> wrote: > > Hi, > >I have a few questions about forms. > > 1) Can I redisplay a form?That is when I enter values in textfields > > and > > click the button,the methods should be executed after the button >click,and > > results should be displayed on the same JSP. > > > > 2)I am making an address book.So I am displaying search results in > > a > > table.Is there another way I could use to display results? > > How can I select a value from the table? > > Or how can I select a row of a table,and perform some method like delete > > or > > modify? > > > > Thanks, > > Raj > > > > >_ > > Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > > > > Share information about yourself, create your own public profile at > > http://profiles.msn.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 get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, >all in one place - sign up today at http://www.zdnetonebox.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Forms and tables in JSP.
Hi, I have a few questions about forms. 1) Can I redisplay a form?That is when I enter values in textfields and click the button,the methods should be executed after the button click,and results should be displayed on the same JSP. 2)I am making an address book.So I am displaying search results in a table.Is there another way I could use to display results? How can I select a value from the table? Or how can I select a row of a table,and perform some method like delete or modify? Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Forwarding problem...
Hi, I am facing a forwarding problem. I have to forward to another page,based on a return value from a method called CheckLogin() But when I try to do so, it does not recognize the variable returned. How can I ensure that ; is executed within the if loop,so that it gets the required value? Any Suggestions. Part of code:: String name = request.getParameter("loginname"); String Pwd = request.getParameter("password"); out.println("str is "+name); out.println("pwd is "+Pwd); if(name!=null&Pwd!=null) { String retVal= AuthenticateLogin.CheckLogin(name,Pwd); out.println("retval is "+retVal); } ; Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Cleared data on clicking Back button
Hi, How can I ensure that when I press the Browser's back button,the data in the textfields is cleared out in the JSP? Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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 tags
Can you be more specific about the problem you are facing? >Hello > >I am new to JSP development and am now working on tag libraries. I have >been >working on the basic 'Hello World' program for the last three days and >still >it is not working. I really can't figure out what is wrong. Is there anyone >who can help me? > >Thanks > >Sajeev > >=== >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 E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Specific question to Netscape directory server: Adding new users programmaticall
Hi, The purple sphere appears when users added do not belong to these object classes ie. person,inetorgperson and organizationalperson. That is whenever u add users in your own object classes ,they appear as purple sphere. And when you use these standard object classes they appear as a purple person. Regards, Raj >When I add a new user to Netscapes directory server version 4.0 thru' my >program, The symbol I get besides my newly added user is a 'purple sphere' >and >not a symbol of a 'purple person' which is besides all other users added >using >the consol. What is the difference between these two entries? > >Does that mean the entry I added is not a user but comes under 'others' >option? >What should I do to make it a user? > >Code I used-- >Attributes attrs = new BasicAttributes(true); // Ignore case > attrs.put("objectclass", "top"); > attrs.put("objectclass", "person"); > attrs.put("objectclass", "organizationalPerson"); > attrs.put("objectclass", "inetOrgPerson"); > attrs.put("uid", "new"); > attrs.put("userpassword", "new"); > attrs.put("cn", "new"); > attrs.put("sn", "new"); > Context result = ctx.createSubcontext("uid=new, ou=Contractors, >ou=People", attrs); > >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: iPlanet: error when launching JSP: Failed to get GenericServlet.
You have already included the two main jar files needed.Check out if you need to add these in the classpath of iPlanet. Also check if you really should put your JSP's in docs directory. However if nothing works out,copy your servlet.jar in a separate directory ,unjar it and point the classpath to GenericServlet.jar >From: "Matthes, Detlev" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: iPlanet: error when launching JSP: Failed to get GenericServlet. >Date: Tue, 12 Sep 2000 18:41:47 +0200 > >Hello, > >I'm new in JSP. I copied the example "date.jsp" into the docs/jsp >directory. When >lauching the date.jsp I get the error: Failed to get GenericServlet. >I've checked the JDK classpath but I have the servlets.jar and >jspengine.jar in it. >Could anyone tell me what I have to set to run JSPs correctly? > >Regards > D.Matthes > >=== >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 E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Encrypting Password
Hi, How can I store a password in an encrypted form? I am using JSP's with LDAP server.However I just want to ensure that the passwprd is stored in an encrypted form. Any Suggestions. Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Password Encryption.
Hi, How can I store a password in LDAP?I have created an object class with mandatory attributes as Username and password.I just want to ensure that the passowrd is encrypted. I am using Netscape dir server4.1 and JSP's Any Suggestions. Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
Help needed..design issues..........
Hi, I am making an address book application.I have some design issues which I have not been able to resolve. In this application a user would be able to view his personal address book,add addresses and modify or delete them. I am using JSP's and at the backened LDAP server. I have a list of questions regarding all this. Do I need to make EJB's in this application to create,retrive or modify addresses?Can I directly do it through JSP itself. If I can then how do I ensure user authentication? If I need to use EJB's then would Session be a better option then Entity,since I do not wish to store data in EJB server,rahter all this should be done in LDAP server. This is actually out of topis,but incase any of you have worked on something like this,then pls help me. Thanks and Regards, Raj. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: JdbcOdbcDriver runs well in java but problem in jsp...
Your are missing some entry in Jrun . Check out the configurations in Admin and Default Server. >From: dion <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: JdbcOdbcDriver runs well in java but problem in jsp... >Date: Mon, 11 Sep 2000 10:11:31 +0700 > >Hello I, > >nope, i made it already, >coz the same code runs well on conventional .java > >thx anyway.. any other suggestion? > >Saturday, September 09, 2000, 11:38:08 PM, I Wayan Saryada wrote: > >IWS> I guess you forget to create your ODBC datasource > >IWS> regards, >IWS> iws > > > >-- >Best regards, > dionmailto:[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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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: Problem with if statement
Hi, I suppose key is a String,in that case you will need to do this if(key.equals("AT"). Hope this helps. >From: Aaron Prohaska <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Problem with if statement >Date: Thu, 7 Sep 2000 11:39:30 -0700 > >I am trying to do something based on if key is equal to "AT", but I am not >getting any results. It acts as if key is not equal to "AT", but I can use >out.println(key) get "AT". Does anyone know why this might not be working? > >if (key == "AT") { >..do something... >} > >thanks, > >Aaron > > <<:::..:::...::: Aaron Prohaska :::..:::...:::>> >VerdeSoft Internet Services >mailto:[EMAIL PROTECTED] http://www.verdesoft.net/ > >=== >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 E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
NoClassDefFoundError ldap
Hi, I had posted a message earlier also,with regards to this problem. I am trying to create a directory context and pass it an environment variable,however I am getting this error.Earlier I also got UnsatisfiedLinkError.I am Netscape Directory Server4.1 java.lang.NoClassDefFoundError: com/sun/naming/internal/ResourceManager at at javax.naming.InitialContext.(InitialContext.java:202) at javax.naming.directory.InitialDirContext.(InitialDirContext.java:87) This is extract from the code. Hashtable env = new Hashtable(11); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://localhost:389/o=pinol1.sfba.home.com"); env.put(Context.SECURITY_PRINCIPAL, "cn=Directory Manager"); env.put(Context.SECURITY_CREDENTIALS, "admin123"); try { // Create the initial context DirContext ctx = new InitialDirContext(env); // Get the schema tree root out.println("got context"); DirContext schema = ctx.getSchema(""); Any Suggestions. Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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
java.lang.UnsatisfiedLinkError
Hi, I am trying to establish a connection to LDAP server from a JSP.However this is the error thrown.It is thrown when I create a DirContext and pass my environment variable to it. Is there anything that I am missing while using JNDI from JSP's ? java.lang.UnsatisfiedLinkError: doPrivileged at at at at at at javax.naming.InitialContext.(InitialContext.java:202) at javax.naming.directory.InitialDirContext.(InitialDirContext.java:87) This si extract from the code. Hashtable env = new Hashtable(11); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://localhost:389/o=pinol1.sfba.home.com"); env.put(Context.SECURITY_PRINCIPAL, "cn=Directory Manager"); env.put(Context.SECURITY_CREDENTIALS, "admin123"); try { // Create the initial context DirContext ctx = new InitialDirContext(env); // Get the schema tree root out.println("got context"); DirContext schema = ctx.getSchema(""); Any Suggestions. Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.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