Myeclipse sets the default encoding method for JSP pages, and describes how to set the author and date in the Java file.

Source: Internet
Author: User

Myeclipse sets the default encoding method for JSP pages:

Windows-preferences-myeclipse-files & editors-JSP-encoding on the right: Set to iso000046/Unicode (UTF-8)

In the Java file, myeclipse sets the author, date, and other instructions:
Windows-preferences-Java-code style (CodeStyle)-code templates (Code Template)-comments (comment) on the Right-select types (type)-click Edit-enter the following information

/**
* @ Author jcuckoo
* @ Creation date $ {date}
* @ Version: V 1.0
*/

Click OK-select the code style on the left-select the check box on the right (automatically add comments for new methods and types)-click Apply) -click OK)

 

Eclipse sets the author, date, and other instructions in the Java file:
Windows (window)-preferences (preferences)-Java-code style-code templates-Comments on the right-select types-click Edit-enter the following information

/**
* @ Author jcuckoo
* @ Creation date $ {date}
* @ Version: V 1.0
*/

Click OK-select the following check box (automatically add comments for new methods and types)-click Apply-click OK

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.