?
Solved

JBoss 4.0.3 / Tomcat 5.5 URL redirects

Posted on 2006-06-21
2
Medium Priority
?
680 Views
Last Modified: 2012-06-21
This is a POINTER QUESTION to http://www.experts-exchange.com/Web/Hosting/Q_21892387.html.
Please post answers there.

Summary:
 I'm running JBOSS 4.0.3SP1 with embedded Tomcat 5.5.

The App's homepage is www.mydomain.com/context/index.jsp
We want users to just type in www.mydomain.com and be served up the right page, ideally so that they never see the /context/ as they move around the site.

I found a good article at "Tomcat and website URLs/default directories" which I thought might solve the problem but it appears that Tomcat 5.5 is different to previous (context.xml and things) and I can't get that solution to work.

Any ideas?
0
Comment
Question by:texan_gerbil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
shalomc earned 750 total points
ID: 17035947
You need url rewriting.

The best will be to use Apache http server on top of jboss/tomcat, and to use its url rewriting capabilities.
This is what I always do and I am never sorry.

You may look at other, native java solutions.

http://tuckey.org/urlrewrite/
http://jakarta.apache.org/turbine/turbine/turbine-2.4-M1/howto/url-rewriting-howto.html
0
 

Author Comment

by:texan_gerbil
ID: 17057214
Thanks, those links are very useful.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question