You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/07/22 02:55:03 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1274: servicecomb怎么能直接访问HTML页面?

liubao68 commented on issue #1274: servicecomb怎么能直接访问HTML页面?
URL: https://github.com/apache/servicecomb-java-chassis/issues/1274#issuecomment-513621492
 
 
   servicecomb缺省不是一个web服务器,只是http服务,提供REST。servicecomb的web模式下,可以使用web容器的功能,比如spring boot的embeded tomcat。 这里有个例子可以参考: https://github.com/huaweicse/HouseApp/tree/master/customer-website 这里使用了spring boot自身的web容器,页面按照spring boot的要求放到了static目录。 详细可以参考spring boot文档说明。
   
   可以通过https://bbs.huaweicloud.com/blogs/eca98a6f399a11e9bd5a7ca23e93a891了解下与spring boot的差异。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services