I have a series of JSPs, and servlets which refer to beans. Ideally I would like to refer to these beans with constant names - both in the Java code of the servlets and in the JSPs. So I have an Interface with several constants defined e.g public static final string BEAN_NAME = "myBean"; In the servlets, I implement the interface, and can refer to the constants to put/get the beans into the session e.g. session.putValue(BEAN_NAME, beanInstance); I would like my JSPs import the interface, and refer to the same constant value in the jsp:useBean tag. However the compiler (IBM VAJava/Websphere Test Environment) complains about the name I use, saying that it needs to be in quotes. Is this peculiar to this environment, or would I find this with other implementations. This seems like a really silly restriction - unless someone can eductae me as to why such a restriction would eb put in place ? =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
