dcsimg
Java expression not evaluated in JSP
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anuradha_Pani
Posted On:   Sunday, March 5, 2006 08:06 PM

I'm a newbie to JSP. I used the following code, but only the html is displayed not the java expression.

jsp code:





Hello! The time is now <%= new java.util.Date() %>





displayed as:

Hello! The time is now <%= new java.util.Date() %>


I'm using Blazix webserver and it says compilation successful.

I tried tomcat too, but I've the same problem.

Please help.

Thanks
Anu
About | Sitemap | Contact