November 27th, 2000, 12:11 AM
I have developed the site using JavaWebServer 2.0. There it is working fine. All you need to do is just to name the file as filename.shtml and within the file use the <SERVLET> tag it works.
Now, my site is hosted on Apache jserv, it is not working here. I have renamed my file to filename.jhtml as is required by the jserv. But it still doesn't work. So what could be the cause & solution? It gives me an internal server Error.
November 27th, 2000, 05:42 AM
>>I have renamed my file to filename.jhtml as is required by the jserv
Yes. If .jhtml is not being recognized, you would have gotten a "save as" prompt.
>> just to name the file as filename.shtml and within the file use the <SERVLET> tag it works
I don't code jserv but I don't think you can use the same file by renaming it to filename.jhtml and use <SERVLET> tag. So I think it's the problem with your code.
November 27th, 2000, 06:59 AM
Please Correct me if I am wrong.
To make the your file recongnized as having some server side feed you include <SERVLET> tags and name your file as "filename.shtml" in the case of JavaWebserver and "filename.jhtml" in case of jserv.
[This message has been edited by fusion35 (edited November 27, 2000).]
November 27th, 2000, 06:20 PM
But Jserv is not SSI. Apache jserv and JavaWebServer are not the same. You can't expect the same codes to work interchangeably.
November 28th, 2000, 12:17 AM
Yes I Know. To implement SSI on Jserv, you need to have JSSI.jar. Once you have it on your server & is mapped to recognize the .jhtml files, rest every thing is same. As far as code is concerned there no diffrence as far I know. In both the cases you embed the <SERVLET> tag where you specify the class file that you want to embed. Please come out with the code if you have so that we can discuss it. My ICQ is 97571372.