• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

.shtml fil;e not working

 
Ranch Hand
Posts: 2373
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi pals, i could not run .shtml files under Tomcat 4 in Windows 2000 server and wanna know whether SSI is runnable under Tomcat 4 and also in IIS5.

------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this one to Apache/Tomcat. It has nothing to do with Servlets.

 
Bartender
Posts: 20842
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can run https with Tomcat versions 3 and 4 - it's documented fairly well at the jakarta tomcat website.
In the case of running Tomcat through another web server such as IIS or Apache, the actual https is usually handled by the front-side web server and the web-server/tomcat pipeline may be insecure (decrypted), so you want to make sure that the firewall blocks direct access.
You'd usually want to anyway.
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashik
Not sure how https got wrapped up into a discussion of SSI (Server Side Includes )
Looking at Java Examples in a Nutshell, Dave Flanagan states Tomcat 3.X doesn't support server-side includes (SSI)(p. 467) Jason Hunter's book also confirms this (p. 14) So it seems you can't do .shtml through Tomcat
Also I noted this question has been asked here as well...
all the best - Jim
 
Tim Holloway
Bartender
Posts: 20842
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops. Sometimes "SSI" and "SSL" get crossed. It's easy to misread "shtml" as "Secure HTML". Either that or maybe there's dirt on the screen near the base of the "I"_
Of course, SSI Apache-style is pointless, since JSP's have an "include" facility that's as good or better. If you simply want SSI-type operations on ".shtml" pages, you can either:
A) front Tomcat with Apache (the high-performance approach)
B) Setup Tomcat's web.xml to interpret shtml's into JSP's (the sneaky approach)
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnx Jim & Tim, got some lights from u...

------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
Jim Petersen
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice points Tim
As always, there's more than one way to skin a 'cat!
rgds Jim
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!