LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Java JSP/Servlet > configuration

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2007, 12:53 AM
sojan sojan is offline
New Member
 
Join Date: Mar 2007
Location: Malaysia
Posts: 1
Default configuration

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

can any body help me in installing ...and configuring servlet...is there any special configuration for servlets?....
Reply With Quote
  #2  
Old 03-07-2007, 07:50 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
There is a howto on this topic in the documentation shipped with LSWS package.
Reply With Quote
  #3  
Old 04-15-2007, 10:59 AM
mjh113437 mjh113437 is offline
New Member
 
Join Date: Apr 2007
Posts: 1
Default How to configure Ruby on Rails and JSP/Servlet

Hello,

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!

Michael
Reply With Quote
  #4  
Old 04-15-2007, 11:59 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Michael,

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.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:07 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.