Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I need some details about an employee. i have only the
employee id in my presentation layer(JSP).I entered that ID
and click "Show Details" Button. Question is how the JSP
pass that id to Controller layer and DAO and what mechanism
we are using to retrive data from DB and how the data
passed to JSP as a Output. Please explain in detail.



I need some details about an employee. i have only the employee id in my presentation layer(JSP).I..

Answer / yagnik

Your jsp form action id when u press submit it will call
the action which is in html form action(some jsp,or
servlet) that jsp will able to get employee id throuh
req.getparameter('employee_id'); and then tht JSP use bean
class for connection to DB using JDBC and then it will
return result to the calling jsp and tht jsp will print
responce (employee details) and tht generated out put will
be sent to the client.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }

8 Answers   Logica CMG,


What is compile time polymorphism?

20 Answers   CTS, Elementus Technologies, Oracle,


What is the basic of java?

0 Answers  


Can we have more than one package statement in the source file?

0 Answers  


How many bytes is a unicode character?

0 Answers  


How do weakhashmap works?

0 Answers  


Tell me about different OOPS concepts.

0 Answers   Amdocs,


What is nested top-level class?

0 Answers  


Can we create more than one object singleton class?

0 Answers  


How you can force the garbage collection?

0 Answers  


Can an unreachable object become reachable again?

3 Answers   DELL,


what is difference between method overloading & method overridding with example?

4 Answers   IBM,


Categories