struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dixit, Shashank (Cognizant)" <DShas...@pun.cognizant.com>
Subject <%= problem
Date Mon, 23 Feb 2004 07:44:55 GMT
Hi all

I am using Tomcat 4.0 plugged in Eclipse 2.1

In any jsp I cannot use <%= ..  %> i.e. JSP Expression.

E.g if I define
<%! String var = "Anyvar" %>

And 
<html:select name="form" property="subProduct"  value='<%= var %>' >
OR
<html:select name="form" property="subProduct"  value="<%= var %>"

It give compilation errors.

If I remove value from the html:select, jsp gets compiled successfully.

What can be the problem?


Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



Mime
View raw message