RE: how to de-reference bean name using java method?

2004-07-04 Thread Erez Efrati
To make the following line work You must store an instance of a class under the token name of "Constants" in the session context and better yet in the servlet-context so every page in your application would have access to it. Putting it in the request or page context is useless in this case, cau

how to de-reference bean name using java method?

2004-07-04 Thread jthompson
I'd like to be able to code the following line: where Constants.HOME_DIR_KEY is a java method that returns the name of bean "home_directory". The following two lines work: <%= Constants.HOME_DIR_KEY %>// returns the value "home_directory" I suppose it doesn't wor

Re: struts turkish character problem

2004-07-04 Thread Stjepan Brbot
<%@ page contentType="text/html; charset=windows-1250" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Do you have charset encoding defined for JSP (for