The moose likes Servlets and the fly likes Server Side Includes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Server Side Includes" Watch "Server Side Includes" New topic

Server Side Includes

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
We r just fresh java learners.We were trying out the server side includes with HTML,but they are not running.Servlet tag is not being recognised.
COuld please someone help us out.
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
The 1st thing that occurs to me is: Does the server you're using support SSI?
The one where I have my pages doesn't (GeoCities), at least last time I looked.
For the old, regular SSIs, the HTML file extension has to be .shtml instead of .html.

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: Server Side Includes
It's not a secret anymore!