|
|
Subject:
custom tags in JSP
Category: Computers > Programming Asked by: carbon-ga List Price: $8.00 |
Posted:
28 Jun 2004 13:51 PDT
Expires: 12 Jul 2004 22:12 PDT Question ID: 367423 |
I understand how to write and use custom tags. The problem is that the HTML within the Java that implements the tag does not look nice (I have to escape double-quotes, etc.) and the generated HTML doesn't look nice (it is not properly indented, etc.). One way of solving these problems might be to write my tag handler classes in such a way that they include JSPs. That way I could code the HTML I want my tags to produce in an intuitive way. But the JSPs would need to substitute values I specified in the tags. That is, I write a JSP that uses custom tags. Maybe my tag handler class's doStartTag somehow passes the values I specified in the custom tag to a JSP. The JSP produces nice code. Are people doing stuff like that? Or please make your own suggestion. | |
|
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |