Re: [java ee programming] Servlet Error

2010-08-26 Thread nelson . rodrigo
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: Click here for our website We look forward to your continued business in the future. Regards, Webmaster -- You received this

Re: [java ee programming] Servlet Error

2010-08-26 Thread nelson . rodrigo
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: Click here for our website We look forward to your continued business in the future. Regards, Webmaster -- You received this

Re: [java ee programming] Servlet Error

2010-08-26 Thread nelson . rodrigo
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: Click here for our website We look forward to your continued business in the future. Regards, Webmaster -- You received this

RE: [java ee programming] Servlet Error

2010-08-26 Thread Nelson Rodrigo - LHQ
Dear Friends Sorry! Its working now, all of you are given comments are more valuable and true What’s happening is server restarting I thing I closed all and restart my pc also Now working Thanks all See you later Have you a nice day! Thanks & Kind Regards, Nelson Rodrigo E

Re: [java ee programming] Servlet Error

2010-08-26 Thread jitesh dundas
compile the servlet,then restart the server (tomcat/jboss,etc) and then try.. also, maybe clear the temp folder of your server,which may be holding an old copy of your project.. Can you please print the values after setAttribute and before getAttribute of the variable .. Thanks, jd On 8/25/10, N

RE: [java ee programming] Servlet Error

2010-08-26 Thread Nelson Rodrigo - LHQ
Hi No JD I have corrected before your posting, same result :( Thanks & Kind Regards, Nelson Rodrigo Executive – Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556  SAVE PAPER - Please consider our environment before

Re: [java ee programming] Servlet Error

2010-08-26 Thread jitesh dundas
The problem is the extra 'l' in ("fulllname") your jsp call..plz check and verify if true.. thanks, jd On 8/25/10, Nelson Rodrigo - LHQ wrote: > Dear JD > Connection and everything is fine, see my sql is in my below mail. > When sql success only come to jsp otherwise direct to mess

Re: [java ee programming] Servlet Error

2010-08-26 Thread jitesh dundas
> > <% > > String sUserName = (String)request.getAttribute("fulllname"); IS THIS TRIPLE L IN THIS..("fulllname") or ("fullname").. plz check.. > > out.println("Name : " + sUserName  ); > > > > %> Ok then please try sessions..I.e. session hs=request.getSession(); hs.setAttribute & hs.ge

RE: [java ee programming] Servlet Error

2010-08-26 Thread Nelson Rodrigo - LHQ
Dear JD Connection and everything is fine, see my sql is in my below mail. When sql success only come to jsp otherwise direct to message html page. Thanks & Kind Regards, Nelson Rodrigo Executive – Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 48

Re: [java ee programming] Servlet Error

2010-08-26 Thread jitesh dundas
Hi, If might not move the counter to the first record.. 'try rs.movefirst or rs.first (check the command as I don't remember that.. then use rs.getString('column name'); like ... while (rs.next() ) { rs.first()//check //the command here.. String st = rs.getString('column name'); } and yes,

Re: [java ee programming] Servlet Error

2010-08-26 Thread jitesh dundas
Please check if the values are present in the database I.e. table -tbllogin Next, please use a while loop,remove if stmt.. PLEASE GIVE THE ERROR STACK TRace that you get.. use exception handling with try catch block.. regards jd On 8/25/10, Nelson Rodrigo - LHQ wrote: > Hi Friends, > >

Re: [java ee programming] Servlet Error

2010-08-26 Thread jitesh dundas
Do these.. check if table column names,types & details is correct and if db connection is also fine.. Next, insert a new record and query the table from db command prompt itself.see if u get the value..if yes,paste it into the query string in the loop.. String vari = ''; try { while (rs.next

RE: [java ee programming] Servlet Error

2010-08-26 Thread Nelson Rodrigo - LHQ
Hi Friends, Thanks for your valuable responses. But friends sad to say still I’m in same issue. My codes are here please look in to this, where I missed. In My Servlet . ResultSet rs = stmt.executeQuery("SELECT UsrName, PWord, FullName, SAPNo, eMail FROM tb

RE: [java ee programming] Servlet Error

2010-08-26 Thread Nelson Rodrigo - LHQ
Hi Jd Thanks for your reply. Why I used > if (rs.next()) { is there are only one value came then no need to use while statement. No errors came actually application working I want to use these servlet values (db login values) in jsp for validation purpose. In this case no values come w