Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 127397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:28:13+00:00 2026-05-11T05:28:13+00:00

How can I configure tomcat to handle .rhtml pages with jruby? I guess I

  • 0

How can I configure tomcat to handle .rhtml pages with jruby?

I guess I should mess around with the web.xml file, but I don’t know how…

(ideally, without rails, just the necessary stuff to use erb for rendering rhtml pages…)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:28:13+00:00Added an answer on May 11, 2026 at 5:28 am

    There might be simpler ways, but here are a few ideas :-

    1. Use JRuby-Rack in combination with one of the more lightweight Rack-compatible Ruby web frameworks like Sinatra. Warbler might be useful in wrapping up the application into a .war file for simple deployment to Tomcat.

    2. If you are using Apache in front of Tomcat, you could use a Ruby CGI script to interpolate the .rhtml files.

    3. If the .rhtml files can be interpolated before being deployed (i.e. they do not rely on variables only available at run-time), you could use a framework like Webby and then just serve them as static files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Tomcat, we can configure the Web app to treat non JSP files as
I'm using Tomcat 6.0, and I want to know how can I configure Tomcat's
In IIS I can configure my custom error pages. For each HTTP Error code
I know I can configure command line arguments in the Run configuration but I
How can I configure Tomcat (in standalone mode, that is without Apache [*]) so
In Eclipse you can configure numerous servers to run inside the IDE, including Tomcat.
How can I configure tomcat so when a post request is made the request
Environment: Tomcat-6.0.18 Oracle-Db JDK-1.6.0_1 -1- context.xml i a war file - works fine my-application.war/META-INF/context.xml
I downloaded apache-tomcat-7.0.20.tar.gz from here => http://tomcat.apache.org/download-70.cgi Now how can i install/configure it manually
I want to run mvn tomcat:run from the command line, but how can I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.