How to retrieve data from database using webservices (JAX - RS) in eclipse using Java

前端 未结 2 511
醉话见心
醉话见心 2021-01-03 04:42

I have done inserting a record into database but I don\'t know how to retrieve it. My code is: Account.java:

package com.fetch;

import java         


        
2条回答
  •  迷失自我
    2021-01-03 05:06

    Jersey doesn't provide any sort of HTML templating. You need to forward your response to a jsp page or use Ajax to fetch the data and lay it out on the page.

提交回复
热议问题