wood burning stoves 2.0*
The moose likes Servlets and the fly likes Server side include problem with java web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Server side include problem with java web server" Watch "Server side include problem with java web server" New topic
Author

Server side include problem with java web server

Sagar Surana
Greenhorn

Joined: Dec 23, 2000
Posts: 21
i have java web server2.0 installed .
the problem is that when i try to load a .shtml file for using server side include facility it gives me page not found error.
servlet alias is set properly as

*.shtml ssinclude
even if i try loading the servlet ssinclude directly it gives me forbidden error( 403) in I.E. 5.0.
please help me
should the shtml files be placed in some specific directory ?
sagar
------------------
Sagar Surana
( +ve attitude)


Sagar Surana<BR>optimist
Raukutam Sandeep
Ranch Hand

Joined: Nov 15, 2000
Posts: 61
hi sagar,

u should place all u'r .shtml files in public_html directory of JavaWebserver.
And just call the .shtml file by typing the path like this;
http://localhost:8080/abc.shtml
Remember to place .shtml file in public_html dir and not anywhere else and call the file as mentioned above.
Try it and get back..
Good luck!!

regds,
Sandeep.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server side include problem with java web server
 
Similar Threads
Connection reset by peer:JVM_recv in socket input stream read
SSINCLUDE / .SHTML
Where should I place the *.shtml file in the Java Web Server
Help:Error with Servlets !!
jhtml and shtml