LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   problem in adding dynamic content in via expressions in JSP (https://www.linuxquestions.org/questions/programming-9/problem-in-adding-dynamic-content-in-via-expressions-in-jsp-889875/)

gozlemci 07-04-2011 02:20 PM

problem in adding dynamic content in via expressions in JSP
 
Hi There;
I know that it is a very easy-to-solve question, but the situation drive me crazy. Here are the simplest jsp code and the expression side do not work in my machine:

Code:

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

Current time do not appear in my browser. I've installed xammp as a server and it prints the html files properly.

Any help is appreciated.

cheesus 09-19-2011 04:00 PM

xampp is not a sevlet container, so it will execute neither Servlets nor JSPs.
try tomcat http://tomcat.apache.org/


All times are GMT -5. The time now is 03:10 PM.