当前位置: 动力学知识库 > 问答 > 编程问答 >

Why do we use web services in java instead of jsp-servlet technology?

问题描述:

Why do we use web services in java instead of jsp-servlet technology as both serves same purpose?

网友答案:

JSP generates HTML that view for Human.

Web services returns data that sort of view for Machine.

网友答案:

Both don't have the same purpose. You could use a web service API to serve the content of your JSPs. So the JSPs interact with your web services. This is just one way of implementing it.

分享给朋友:
您可能感兴趣的文章:
随机阅读: