If not available then manually define a new web server.Ĭlick "Finish" button. Right click on 'helloWorld.jsp' and select from context menu 'Run As' -> 'Run on Server'. Write "helloWorld.jsp" in the 'File Name' field and Click "Finish" button.Įclipse will generate a jsp page and open the same in the JSP editor as shown below.Įdit the generated 'helloWorld.jsp' as per the following code. Right click on 'WebContent' folder and select from context menu New -> Jsp File. Keep rest of the settings as it is as shown in the following screenshot.Ĭheck 'Generate web.xml deployment descriptor' checkbox and click "Finish" button and Eclipse IDE will generate the web project automatically as shown below Select from the menu File -> New -> Dynamic Web Project.Įnter "HelloWorldJSP" as the project name. This simple tutorial describes how you can print "Hello World!" string in your browser by writing a simple JSP (Java server pages) program developed using eclipse IDE.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |