Re: variable substitution in html:textarea

2014-10-31 Thread Christoph Nenning
> How to do variable substitution in html:textarea? e.g. Java code
> package util;
> public interface Literals {public static final String LAST_NAME 
> = "lastName";}
> my.jsp
> <%@ page import="util.Literals" %>
> 
> 
> 
> I try to make "lastName" to appear at my.jsp but get the following 
> instead:<%=Literals.LAST_NAME %>


Try to put it into a page scrope attribute and use JSTL.

Could look like this:


<%=Literals.LAST_NAME %>





regards,
Christoph

This Email was scanned by Sophos Anti Virus


variable substitution in html:textarea

2014-10-30 Thread Albert Kao
How to do variable substitution in html:textarea? e.g. Java code
package util;
public interface Literals {    public static final String LAST_NAME = 
"lastName";}
my.jsp
<%@ page import="util.Literals" %>



I try to make "lastName" to appear at my.jsp but get the following 
instead:<%=Literals.LAST_NAME %>