Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old November 26th, 2000, 11:11 PM
fusion35 fusion35 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 fusion35 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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.

Reply With Quote
  #2  
Old November 27th, 2000, 04:42 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>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.

Reply With Quote
  #3  
Old November 27th, 2000, 05:59 AM
fusion35 fusion35 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 fusion35 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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).]

Reply With Quote
  #4  
Old November 27th, 2000, 05:20 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
But Jserv is not SSI. Apache jserv and JavaWebServer are not the same. You can't expect the same codes to work interchangeably.

Reply With Quote
  #5  
Old November 27th, 2000, 11:17 PM
fusion35 fusion35 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 fusion35 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > SSI Problem in Jserv


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway