That's really a great question. I wish I had an answer. In spite of
reading/writing jsps actively, I have not been able to figure out how do I
format my jsps as beautifully as java classes. For example which of the
following is good way of writing it.
<%
Date date = null;
%>
vs
<%
Date date = null;
%>
Or how do I mix an match HTML content with jsp code. If I just use taglibs,
then jsp is just an xml document which kinda of provides some closure.
Still, if anyone can point to an analogous document like
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html for jsps, it
would be a great thing. In my follow up with this page on providing
recommendation for jsps, folks from sun told me that they would include that
in the next revision of the this document. However, that is yet to happen.
There is a similar question with irrelevant and irritating answer at jguru
jsp faq forum as well.
http://www.jguru.com/faq/view.jsp?EID=344786 (Please don't post a similar
answer with some design pattern or architecture)
Regards,
Chandra
The statements and opinions expressed here are my own and do not necessarily
represent those of Oracle Corporation.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Sudhanshu Rawat
Sent: Friday, August 17, 2001 1:18 AM
To: [EMAIL PROTECTED]
Subject: Comments in JSP Pages
Hi All !!
Is there a standard, universally accepted style for putting comments in
JSP pages, like we have the Javadoc commenting style for Java files.
If so, where can I find the details ?
Thanks
Sudhanshu
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html