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?
subject: What are the demerits of having datbase acces code in jsp?