Hello Ramesh! Monday, December 03, 2001, 3:02:01 AM, you wrote:
RK> i have a jsp which inlcudes label.jsp. But problem is RK> that this label jsp has so many labels both in english RK> and korean charcters. the client wants to see the RK> korean characters on the screen. RK> But whne i debugged the code there are so many string RK> variables being instantiated as many as 300+. RK> i know this is a very big resource consuming. All these strings are compiled into the source of the servlet that is being generated from your .jsp page. All that you should be worried about is that you do not a too long method jspService() (or whatever it is). I do not thing you will. Have you already hit the problem? If not, try to double you page and see again. Again, you get larger .java class, large .class, but is it really resource consuming? I do not think so! RK> can anybody let me know whats the best practice(like RK> reosurce bundles)????????? I beleive resource bundles would really be resource consuming! And if you use for example i18n taglib from jakarta-taglibs then the code generated will get _longer_! So what i would advice is stay with static strings, that is a fine approach! =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
