#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    1
    Rep Power
    0
    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.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>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.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    1
    Rep Power
    0
    Thanks Freebsd,
    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).]
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    But Jserv is not SSI. Apache jserv and JavaWebServer are not the same. You can't expect the same codes to work interchangeably.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    1
    Rep Power
    0
    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.

IMN logo majestic logo threadwatch logo seochat tools logo