Share JSP, CSS, and Javascript file between different projects

Source: Internet
Author: User

Question: While the J2EE module reference feature allows your to create common Java library projects, I can't find a neat way to do this for web content.

I have common JSPs, CSS files, JavaScript libraries and even descriptor fragments that I wowould like to use them ss a number of dynamic web projects, so that these artefacts are edited I only one place, but will be exported into each of the dynamic webproject war files.

I am surprised that I can't find a way to promote reusability in the web space without writing my own scripts and hooking into the export process.

Is there a way to do this? Thanks. Matt.

 

 

Answer: Haha, I give u a late surprise

I'm Chinese, my English is poor, but I can help u.

Olaf Kock is right, but his answer not perfect.

Here is the perfect answer. u have to refer the follow URL, it can be.

Click here

In the URL page, the example for the property content box is not exact, u fllow me:

If need to share a file:

a.jsp  svn://myhome.com/svn/myproject/trunk/a.jsp

If need to share a folder:

xml  svn://myhome.com/svn/myproject/trunk/xml

 

Refer from: http://stackoverflow.com/questions/348469/how-to-share-web-content-between-eclipse-projects/15404702#15404702

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.