I want to achieve something like this:
- Posted by: Dhaval Shah
- Posted on: April 11 2002 10:51 EDT
// This would finally come from Config class after reading the propoperties file
String classToLoad = "com.hidhaval.layout.pageTemplate"
<jsp:useBean id="PAGE" scope="session" class="<%= classToLoad %>" />
This does not work .. I m using Tomcat 3.2 / jdk1.3
This field is not runtime, it's supposed to be set on compilation stage. You'll have to use some java scriptlet to achieve needed effect