Pat Farrell wrote: If its ain't broke, don't fix it.
If you never have to work on the code, that (might) be a reasonable approach. If you do, however, the cost of a naive translation into JSP/Servlets is trivially recovered with the first one or two times you have to deal with the code. IMO just having the ability to have JavaDocs (hence discoverability) is already worth the effort, which is very low.
IMO code like that is broken by definition.
vishnu vyasan wrote: how can i move them in to a properties file?
Move what into property files?
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java