This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to run jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to run jsp?" Watch "how to run jsp?" New topic

how to run jsp?

vikram veera
Ranch Hand

Joined: Dec 26, 2000
Posts: 43
How to run a jsp page in javawebserver? I have tryed
by saving the jsp page in Public_html directory ,After i started
javawebserver,After that in browser i have typed http:\\localhost:8080:FILENAME.JSP ,IT GIVES ME A ERROR SAYING THAT PAGE NOT FOUND.wHAT TO DO .please help me
Preethi Suryam
Ranch Hand

Joined: Nov 17, 2000
Posts: 92
check whether the file has been saved properly with jsp extension.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I think changing this to
will give solution.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please also note that using backslashes '\' in URLs is extremely non-standard and probably won't work in most browsers.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks for correcting me.
Farooq Ali
Ranch Hand

Joined: Sep 30, 2000
Posts: 43
Frank is right jasinh
This way it will defintely work
I agree. Here's the link:
subject: how to run jsp?
It's not a secret anymore!