Reputation: 3005
How to write automatically auther name created date when I create jsp in Eclipse is there any shortcut or template available that work for me
in java file we annotation @author to write auther's name (i.e)
/**
@auther xyz
*/
but what are the possible ways to write it in JSP
I want to write below option
Author:xyz
Document:xyzd.jsp
Created Date:22th sep 2013
Upvotes: 0
Views: 1456
Reputation: 243
In eclipse you will have to create a new jsp template and create a new template.For new template:Click on Windows>Preferences>Web>JSP Files>Editor>Templates.
Create a New Template and then specify your pattern there.As per convention:
<%--
- Author(s):
- Date:
- Copyright Notice:
- @(#)
- Description:
--%>
Upvotes: 1
Reputation: 8207
You can change the jsp file formats under ,
Window -> Preferences
or still easier is to ,
to edit on clicking the jsp templates link while creating the new jsp
Upvotes: 1