Discussion in 'Java JSP/Servlet' started by sojan, Mar 7, 2007.

  1. sojan

    sojan New Member

    helll , i am not much famailir with jsp , java or servlet,...

    can any body help me in installing ...and configuring there any special configuration for servlets?....
  2. mistwang

    mistwang LiteSpeed Staff

    There is a howto on this topic in the documentation shipped with LSWS package.
  3. mjh113437

    mjh113437 New Member

    How to configure Ruby on Rails and JSP/Servlet


    I am trying to run Ruby on Rails as well as the Servlet Engine to connect to Tomcat via AJP. I have had no problem configuring Rails but I cannot get the Servlet Engine to communicate to Tomcat. I have configured a virtual host for my Rails application and configured, at the server level, a Servlet Engine for Tomcat and a Script Handler for JSP. I tried to configure a context, in addition to Rails, for a Java Web Server but cannot every time I do my Rails context is deleted. Does anyone know how to configure Rails and JSP/Servlet correctly in Litespeed? Any help or suggestions would be greatly appreciated! Thank you very much!

  4. mistwang

    mistwang LiteSpeed Staff


    Please tell me more about your setup.
    I think "/" is a "Rails" context, rails is working fine.
    What URL would you like the servlets be?
    You probably cannot use a WebApp Context to setup all servlets automatically for you if the Jave Web App uses "/" as well, it will conflict with the Rails Context. If it is the case, you have to define "Servlet" contexts one by one with corresponding servlet URI in the web.xml configuration.

    I think jsp page should work fine, just make sure jsp files are available to lsws, copy those jsp files to the public folder of your rails application if needed.

Share This Page