Select from the menu File --> New --> Dynamic Web Project. Enter "HelloWorldJSP" as the project name. Keep rest of the settings as it is as shown in the following screenshot. Click "Next" button. Click "Next" button. Check 'Generate web.xml deployment descriptor' checkbox and click "Finish" . 2. Create Jsp page Right click on 'WebContent' folder and select from context menu New --> Jsp File. Write "helloWorld.jsp" in the 'File Name' field and Click "Finish" button. Eclipse will generate a jsp page and open the same in the JSP editor as shown below File: helloWorld.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd "...
Comments
Post a Comment