Posts

Software Engineering

Image
Project Lifecycles The phases Data gathering and Problem redefinition are concerned with understanding what the problem is about; the Finding ideas phase attempts to identify ideas that help us to understand more about the nature of the problem and possible solutions. Finding solutions is concerned with providing a solution to the problem and Implementation puts the solution into practice. This approach to problem solving divides a task into subtasks, each with a particular focus and objective. The information systems development process may be subdivided simply into three main tasks: understanding the problem, choosing and designing a solution, and finally building the solution.  There are many other ways of subdividing an information systems project but they all include an analysis activity that identifies what the system should do, a design activity that determines how best to do it and some construction activity that builds the system according to the design. The phases tha...

Assignment Link

Include Tag JSP

 Registration.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1"     pageEncoding="ISO-8859-1"%> <!DOCTYPE html> <html> <body>  <%@ include file="Header.jsp" %> <h1><center>Registration Page</center></h1> <form> <table> <tr> <td>Enter Name :</td> <td><input type="text" name="t1"></td> </tr> <tr> <td>Enter Lastname :</td> <td><input type="text" name="t2"></td> </tr> <tr> <td>Enter Address :</td> <td><input type="text" name="t3"></td> </tr> </table> <input type="submit" value="Register"> </table> </form> <%@ include file="Footer.jsp" %> </body> </html> =========================================================...

First JSP Program

Image
 1. Click on Project (in my case JspDemo is my project)  2. Now click on src---> main --->Select WebApp folder 3. Now right click on webApp folder and click New--->Jsp File 4. Rename that jsp file with meaningful name (Example i give Login.jsp) 5. Click finish So your JSP file is created  Here you can write java code inside scriptlet tag  Now select project and right click after run---> run on server Select tomcat and click next after configure your project and click finish Now jsp page is running on server in url write your jsp page name and click enter  so your web application is live

How to Integrate tomcat into eclipse

Image
 Step 1 : Open eclipse IDE for EE and Web developer           Step 2 : Press Control +N Step 3 : On Wizards type Dynamic Web Project ---> Select ---> Click Next  Step 4 : Give Project Name (I write my project name is JspDemo) Step 5 : After writing project name click next Step 6 : again Next Step 7 : You must check Generate web.xml and click finish Step 8 : Now on left side JspDemo project is created  Step 9 : Open google and type Apache tomcat 10.1download   click on first link              click on 64 bit windows zip After downloading extract that zipped folder Step 10 : Now click on Servers tab  Next select appropriate version of tomcat (in my case i select tomcat 9.0) Click next Click on browse button  Click on Select Folder Click on Next Select your project & Click add after Click finish Now your tomcat server is successfully integrated to eclipse IDE

Eclipse for EE and web application

Image
 Step 1 : Go to google and type                       "eclipse EE for java and web developer" Step 2 : Click on first link Step 3 : Click on Download option in next page                                     Step 4 : Click option Install eclipse for EE and Web Developer

JSP tutorials for beginner

 Pre-requisites :      1. you have installed eclipse IDE (eclipse for EE and web application)           Click here to see complete downloading and installing guide.     2 . you have Apache tomcat (either tomcat 9.0 or 10.1 depends on your system configuration)          Click here to see complete downloading and installing guide.     3. First JSP Program           Click here to see steps      3. you have installed Mysql Database.           Click here to see complete downloading and installing guide.      4. you need to download Mysql connecter software.           Click here to see complete downloading and installing guide.