• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Executing servlets from HTML

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to have HTML writers be able to insert a line at the beginning of their code that calls a servlet. I tried setting up JSSI-1.1.2 on my Apache 1.3.20 server but it didn't recognize <SERVLET> tags. I tried using SSI <!--#servlet code="yadayada" --> but Apache didn't recognize that command.
What should I do? Should I use JSP? Or, has anybody successfully installed JSSI? If so, how did you do it?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that is an obsolete usage. JSP has taken over so you might as well switch.
Bill
 
Joe Wolf
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I finally did get JSSI to work. It's not that spectacular but it does allow me to totally separate the Java code from the HTML code...so all the HTML authors have to do is include the line <SERVLET CODE="Authorize"></SERVLET> at the beginning of the file to make sure its viewers have been authorized.
If I were to use JSP, would it allow me to do the same thing?
 
reply
    Bookmark Topic Watch Topic
  • New Topic