MyEclipse sets the default encoding for JSP pages and sets instructions for the author, date, and so on in the Java file

Source: Internet
Author: User




myeclipse Set JSP page default encoding method:






Windows (window)-preferences (Preferences)-myeclipse-files & editors-jsp-Right encoding: set to Iso10646/unicode (UTF-8)







MyEclipse Set the author, date, and so on in the Java file:

Windows (window)-preferences (preferences)-java-code style (code style)-code Templates (code template)-Right comments (note)-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 checkbox to the right (automatically add Comments for new Methods and types) (automatically add comments for the novel method and type)-click Apply-click OK ( OK)











Eclipse sets a description of the author, date, and so on in the Java file:

Windows (window)-preferences (preferences)-java-code Style-code templates-Right comments-Select types-Click Edit-Enter the following information






/**

* @ Author Jcuckoo

* @ Creation Date ${date}

* @ VERSION V 1.0

*/






Click ok-to select the check box below (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.