Posts

Showing posts from July, 2023

How to develop a RESTful webservice in java ?

Image
  How to create my first RESTful web service project in Eclipse ? 1)       To Create a web service project, open File menu à New à Dynamic Web Project 2)        2)        Type the name for your project as “MyFirstRESTful” and select dynamic web module version as 2.5 à Next à 3)        3)        Tick mark on “Generate web.xml deployment descriptor” à Finish   4)       4)     Expand your project and right click on webcontent folder à New  à   select JSP File option  à   Type the file name as  index.jsp   5)         5) Open index.jsp and type below code. index.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" > < html > < head > < meta http-equiv = "Content-Type" content = "text/html; charset=ISO-8859-1&qu

If you have any query or suggestions, Please feel free to write us

Name

Email *

Message *