I am developing an application for a college website .where i hava take the data from registration form and save it database.
i need to use jsp , servlets and entity beans to interact with data base.
My approach is ..
I created a table in derby database n created a entity with setter and getter mathods.a stateful seesion and remote interface for dat bean.Im having bussiness logic of adding a record to database in seesion bean.from jsp im invoking servlets which sets data to seesion bean.
the problem is the data is not inserting into database..Is there any wrong in my approch????
plz provide me a sample code if any having an idea about this...


Thank you

You need to post your code and see what happened

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.