JSP problem

I installed IBM WebSphere Application Server V6.0 and I already installed JDK 6.0

when i wrote that a piece of code in the notepad and saved it with the extention .jsp then i open it with my browser the output was The time is now without displaying the time..WHY?What is the problem?

<HTML>

<BODY>

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

</BODY>

</HTML>

[470 byte] By [eMerooa] at [2007-11-26 19:57:23]
# 1
jsps are run server-side. you can't just bang the .jsp extension on an HTML document and open it in a browser, they run inside a servlet container (such as apache tomcat) which in turn generates some HTML for your browser
georgemca at 2007-7-9 22:52:06 > top of Java-index,Java Essentials,New To Java...
# 2

> I installed IBM WebSphere Application Server V6.0 and

> I already installed JDK 6.0

> when i wrote that a piece of code in the notepad and

> saved it with the extention .jsp then i open it with

> my browser the output was The time is now without

> displaying the time..WHY?What is the problem?

>

> <HTML>

> <BODY>

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

> </BODY>

> </HTML>

I'm sorry to say it but, you. Or, at least your understanding of what a JSP (and probably web service/application in general) is.

masijade.a at 2007-7-9 22:52:06 > top of Java-index,Java Essentials,New To Java...
# 3
Isn't the websphere web server enough for running .jsp files isn't it a web server?
eMerooa at 2007-7-9 22:52:06 > top of Java-index,Java Essentials,New To Java...
# 4

> Isn't the websphere web server enough for running

> .jsp files

> isn't it a web server?

yes, but you didn't deploy a JSP to a server, you just opened it up in a browser. that's not how they work. google for JSP and servlet tutorials, do some reading and try again

georgemca at 2007-7-9 22:52:06 > top of Java-index,Java Essentials,New To Java...
# 5
> Isn't the websphere web server enough for running .jsp files Yes. How have you deployed your JSP file? ~
yawmarka at 2007-7-9 22:52:06 > top of Java-index,Java Essentials,New To Java...