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:

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

The 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.

Recommended Answers

XAMMP is an overkill. Do you have need for Apache 2.2, PHP, Filezilla server?

Simply install Tomcat as explained here. It is not such hard task.
PS: I hope you have Java installation.

Jump to Post

All 2 Replies

XAMMP is an overkill. Do you have need for Apache 2.2, PHP, Filezilla server?

Simply install Tomcat as explained here. It is not such hard task.
PS: I hope you have Java installation.

Yes, Java JDK is already installed on the machine.
The Eclipse tools for JSP developing is very handy, but I am not able to use it.
I can not get its particulars.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.