We are a reputable company and we have customers all over the world.Presently we are having some problems with our clients in India simply because we ve not yet open an office there.So right now we needed some people who can be working for us as an agent in India,which we have agreed to offer any of our workers 15% of any amount paid to him or her through any of our clients.All we need from you is be honest and transparency.We are looking forward to hear from you soon.
javaAltaf May 24, 2011 at 10:25 AM
Write a JSP page to display the number of hits to this page. (Hint: use application scope of java bean).
java beans sleiman May 25, 2011 at 12:26 AM
it seams pointless . because it is the same as if we are using an object from this class. what is the main difference??!!
Nice onesuyambu June 16, 2011 at 1:24 AM
Very good explanation. it helps me lot....Thank you
Hi??? March 19, 2013 at 4:47 PM
Brilliant!
updateharish.k January 17, 2012 at 10:53 PM
import java.sql.Connection; import java.sql.Statement; import com.tcs.ilp.usermanagement.bean.StudentViewBean; import com.tcs.ilp.usermanagement.connection.ConnectionManager; public class StudentUpdateDAO { static Connection currentCon = null; public static StudentViewBean update(StudentViewBean bean) { //preparing some objects for connection Statement stmt = null; String email = bean.getEmail(); String address=bean.getAddress(); String mobileno=bean.getMobileno(); String username=bean.getUsername(); System.out.println(username); String s ="update student set email='"+email+"',address='"+address+"',mobileno='"+mobileno+"' where username='"+username+"'"; try { currentCon = ConnectionManager.getConnection(); stmt=currentCon.createStatement(); stmt.executeQuery(s); stmt.executeQuery("commit"); bean.setValid(true); } catch (Exception ex) { System.out.println("update failed: An Exception has occurred! " + ex); } finally { if (stmt != null) { try { stmt.close(); } catch (Exception e) {} stmt = null; } if (currentCon != null) { try { currentCon.close(); } catch (Exception e) { } currentCon = null; } } return bean; } }
JOB SEEKERS NEEDED URGENTLYDr.James January 26, 2012 at 7:44 PM
We are a reputable company and we have customers all over the world.Presently we are having some problems with our clients in India simply because we ve not yet open an office there.So right now we needed some people who can be working for us as an agent in India,which we have agreed to offer any of our workers 15% of any amount paid to him or her through any of our clients.All we need from you is be honest and transparency.We are looking forward to hear from you soon.
thanksPARTHI June 1, 2012 at 8:35 AM
its easily undersatnd. thanks to explain in details.....
JavaA.vinothkumar August 1, 2012 at 6:12 PM
How to connect java with webapplication......
Post your Comment