| Author |
Comments on the fly
|
dhriti joshi
Ranch Hand
Joined: Aug 13, 2002
Posts: 82
|
|
Hi, Is it possible to generate comments on the fly in java. I have a String variable(containing xml code) that I want to include in the comments(for some external tool that wants to read xml from the comments or hidden text) kindly suggest. Thanks, Dhriti.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24054
|
|
|
Huh?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Srinivasa Raghavan
Ranch Hand
Joined: Sep 28, 2004
Posts: 1228
|
|
Hi Can you please be more clear, If you want comments in your java class documentation then have a look at javadoc. Do you mean to say the comments are in a xml file , you need a tool that parses the xml & update your soure code accordingly?
|
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
|
 |
dhriti joshi
Ranch Hand
Joined: Aug 13, 2002
Posts: 82
|
|
What I want is that say in my jsp i have a String variable <% String str="?xml version....> <a>gfgf</a> <b>jkjk<b> .. .. "; %> <!-- Here I want the value of str --> Hopes this makes it clear
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24054
|
|
OK. It would have been helpful if you let us know you were talking about JSPs! What's wrong with Works fine. I'm going to move this to our "JSP" forum for any follow-up.
|
 |
 |
|
|
subject: Comments on the fly
|
|
|