简体   繁体   English

如何集成现有的Java Web应用程序以将博客作为子目录处理

[英]How to integrate Existing Java web Application to handle blogs as subdirectory

I have a Java web application written in Spring + Hibernate + AngularJS running on Tomcat. 我有一个在Tomcat上运行的用Spring + Hibernate + AngularJS编写的Java Web应用程序。 I want to add the functionality of blog as a subdirectory. 我想将Blog的功能添加为子目录。 (Mostly I want to use Wordpress) (大多数情况下,我想使用Wordpress)

I have read many posts and googled it. 我读了很多帖子并用谷歌搜索。 But I could not find anything useful. 但是我找不到任何有用的东西。

So basically I want my site eg -www.mysite.com to extend to www.mysite.com/blog, such that www.mysite.com will run as it is running now on TOMCAT and www.mysite.com/blog to render from Wordpress. 因此,基本上,我希望我的网站(例如-www.mysite.com)扩展到www.mysite.com/blog,以便www.mysite.com能够像现在在TOMCAT和www.mysite.com/blog上运行一样进行渲染从Wordpress。

Please Help? 请帮忙?

Create a folder in your hosting space(root folder where you hosted your java application) with name "blog" and map the wordpress blog database to one newly created database, then automatically the blog will points to the www.mysite.com/blog 在托管空间(托管Java应用程序的根文件夹)中创建一个名称为“ blog”的文件夹,并将wordpress博客数据库映射到一个新创建的数据库,然后该博客将自动指向www.mysite.com/blog

Better browse any search engine for more details. 更好地浏览任何搜索引擎以获取更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM