How Code Resuablity easy in servlet

How Code Resuablity easy in servlet

View Answers

November 13, 2009 at 5:35 PM

Hi,

Servlet was developed to execute the business logic. You can develop EJB, or Java Beans to process the business logic. So, you can reuse the same business logic in many different place. So, in servlet you can re-use the already developed business logic multiple times. Here the resuability means the re-use of business logic in the form of Java Beans/EJB etc.

JSP is developed to develop the view of the application. You are not supposed to write business processing logic in JSP.


Thanks









Related Tutorials/Questions & Answers:
How Code Resuablity easy in servlet - Servlet Interview Questions
How Code Resuablity easy in servlet  Hi friends am newbie to servlet. How code reusability easy in servlet. why not in jsp.here reusabillity means only javabeans or any thing else.  Hi, Servlet
how to execute this code - JSP-Servlet
how to execute this code  hi guys can any help me in executing this bank application http://www.roseindia.net/jsp/bank.shtml, i need to use any database plz tell me step-to-step procedure for executing this,i need to create
Advertisements
How to write jsp/servlet code to integrate LINKDIN?
How to write jsp/servlet code to integrate LINKDIN?  How integrate linkdin api's in java codding
servlet code
servlet code  how to implement insert update n delete in one servlet in net beans   If you want to perform insert, update and delete functions in the same servlet, then please visit the following links: http
servlet code - JSP-Servlet
servlet code  Create a servlet to develop a login application with javascript clientside validations and serverside validations
servlet code - JSP-Servlet
servlet code  how to implement paging or pagination in java code using servlets.  Hi Friend, Try the following code: import java.io.... code, we have used following database table: CREATE TABLE `student
how to send email please give me details with code in jsp,servlet
how to send email please give me details with code in jsp,servlet  how to send email please give me details with code in jsp,servlet
Searching for Code - JSP-Servlet
JSP, Servlet Searching for Code  Hi, i am looking for a jsp servlet code examples for the search function in my application.Thanks
code - Servlet Interview Questions
by the servlet container. The status code of the response always should...code  servlet service method along with an example code  Hi Friend, Servlet service() method: Once the servlet starts getting
java servlet code - Servlet Interview Questions
java servlet code  iam doing a project in java, preparation of on line examination in that how to prepare a question paper using servlet code
atm code in servlet& jsp
atm code in servlet& jsp  pls send me the code of ATM project in servlet jsp . my requirements are first of all an user login window open then balance enquiry, withdraw of money, money transfer, then log out. pls send as early
servlet code to update password?
servlet code to update password?  Create a servlet page which helps the user to update his password. The user should give the username,old password... users.then Store it into a table. please tell me the code for the above question
code required in servlet
code required in servlet  hello... you provided me the answer with javascript.. i want to check which button is clicked in the servlet.. i have only 1 servlet an in that separate codes for different button clicks.. can u plzzz
servlet code problem - JSP-Servlet
servlet code problem  This is my JSP code index.jsp Sync... here!!!..., i want to pass the texbox value and file to servlet im stuck with this error plzz help me..., in servlet if i use request.getParameter() its
code for JSP and Servlet - JSP-Servlet
code for JSP and Servlet  i have to create a jsp page that contains username and password, so how to code servlet according to it?  Hi sushil, package javacode; import java.io.*; import javax.servlet.*; import
jsp code - JSP-Servlet
jsp code  Can anyone help me in writing jsp/servlet code to retrieve files and display in the browser from a given directory.  Hi Friend, Try the following code: Thanks
servlet code - Applet
servlet code  how to communicate between applet and servlet  Hi Friend, We are providing you the code that will display the message sent from the servlet to applet. Here is the code of 'ServletExample.java
Encryption code - JSP-Servlet
Encryption code  Iam developing a web security application for that reason i need a code of encryption in servlet. Can u please send it to me.Its very urgent Because my project delivery date is very near
servlet code problem - JSP-Servlet
servlet code problem  This is my JSP code index.jsp Sync Data Sync Data Please use the following input box to upload file or enter... to servlet im stuck with this error plzz help me..., thanks in advance....  
Help in completing Servlet code!
Help in completing Servlet code!  Complete the following Servlet codes to store the information read from the input form to session object. public... String comment = req.getParameter(?commentText?); //Complete the code to store
download code using servlet - Servlet Interview Questions
download code using servlet  How to download a file from web to our system using Servlet
code - JSP-Servlet
know how can i call database connection in javascript. please help me   use some server side script like servlet or jsp, call these when user click
Code - JSP-Servlet
Code  Using servlet,JSP,JDBC and XML create a Web application for a courrier company to provide online help in tracking the delivery status of items
source code - JSP-Servlet
source code  I want source code for Online shopping Cart... to be used by any customer for easy and fast online shopping.  Hi Rakesh, I am sending a link where u will found complete source code
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session   sig
code - JSP-Servlet
. how to write the code to accept an existing id and password.  Hi Friend, Try the following code: 1)login.html: Login...code  hi sir my question is i have created a html ang jsp code
jsp code - JSP-Servlet
jsp code  how to count no of clicks made on a link and save it on database( using jsp)  Hi Friend, Try the following code: 1)click.jsp var numberOfClicks = 0; function hello(){ numberOfClicks
code - JSP-Servlet
code  hi can any one tell me how to create a menu which includes 5 fields using jsp,it's urgent  Hi friend, Plz give details with full source code where you having the problem. Thanks
jsp code - JSP-Servlet
jsp code  in a jsp a table is existed ,in table each row contain one checkbox and name and desription how to delete specific rows in a table .  Hi Friend, Try the following code: 1)form.jsp: Name
JSP code - JSP-Servlet
button (after the value get stored). how can i do that . plz help me out. thanking u......... This is what my code is. Jam Name...;   Hi Friend, Try the following code: Jam Name
jsp code - JSP-Servlet
jsp code  how to write a code in jsp with out using servelts finding sum and avg of 40 numbers  Hi Friend, Try the following code: Thanks  Hi Friend, Do one change in the provided code.As we
code - JSP-Servlet
code  how to retrieve database value in array  Hi friend, Code to help in solving the problem : import java.sql.*; import... code does not execute."); } } catch (Exception e
JSP code - JSP-Servlet
JSP code  hello,i working in project with JSP technology,i have one page Login.html and on there two options NewUser and Recoverpassword..can u tell me how to link these pages with each other using JSP..and how to write the code
jsp code - JSP-Servlet
statement? pls provide code how to get first selected drop down list value..., Try the following code: function city(){ var cid...; For the above code, we have created following database tables
code - Servlet Interview Questions
code  code for matrimoney site using servlets
source code - JSP-Servlet
source code for webcam chat application  I want source code for this webcam chat application. I like the concept of XAWARE ORG regarding web cam chat. So that i want the code through this XAWARE only.pls send the code as soon
java code - JSP-Servlet
java code  Code to send SMS through mobile to a web application
jsp code - JSP-Servlet
jsp code  I need code for bar charts using jsp. I searched some code but they are contain some of their own packages. Please give me asimple code... friend, Code to solve the problem : Thanks
java code - JSP-Servlet
java code  How to write a java code for sending sms from internet.  Hi friend, public class SMSClientDemo implements Runnable{ public final static int SYNCHRONOUS=0; public final static int ASYNCHRONOUS=1
JSP Code - JSP-Servlet
to display only 10 records per pages in jsp, then how can i achieve this concept... Rai.  Hi Friend, Try the following code: Pagination... For the above code,we have created a table 'student'. CREATE TABLE `student
program code - JSP-Servlet
program code  what is the program code for LOGINFORM USING SERVLETS? RESPOND SOON
program code - JSP-Servlet
program code  what is the program code for LOGINFORM USING SERVLETS? RESPOND SOON
jsp code - JSP-Servlet
jsp code  sample code for change password example Old Password: new Password: confirm Password
jsp code - JSP-Servlet
jsp code  sample code to create hyperlink within hyperlink example: reservation: train: A/C department non A/c Department
code - JSP-Servlet
code  how can i connect SQl database in javascript. and how to execute the query also   i think u can not connect to SQL database in javascript. thanks sandeep
Code Works - JSP-Servlet
Code Works  Hi The code provided is working fine along with the pagination . i edited the queries and that makes difference.. here is the code. Thank you Regards Eswaramoorthy Pagination of JSP page
java code - JSP-Servlet
java code  how to read SMS from a connected SIM Card to a web application
code for this problem - JSP-Servlet
code for this problem   i have buttom submit .It is working with single click.Suppose if i am At the same time clicking(parallel) twise second request will be stoped until process the proces first requst and terminate
source code - JSP-Servlet
source code  please i want source code for online examination project (web technologies)  Hi Friend, Send some details of your project. Thanks
code error - JSP-Servlet
code error  hii this program is not working becoz when the mouse... complaint   Hi friend, Do some changes in your code to solve the problem. 1)In "describe()" function write code "return true"; 2

Ads