Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server side include problem with java web server

 
Sagar Surana
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Raukutam Sandeep
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic