Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 30th, 2009, 02:12 PM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can I map multiple context roots to a single web application?

I have a requirement to have multiple sites running against the same war file and the same set of JSP pages.

Such that:

http://mycompany.com/storeA/pages/index.jsp
http ://mycompany.com/storeB/pages/index.jsp


Is there a way in tomcat that I can map multiple context roots to the same web application? What if I use JBoss? Is there any OS level stuff I can do, like virtual directories?
Reply With Quote
  #2 (permalink)  
Old November 29th, 2009, 01:47 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Domain aliases might be the topic you need to look into.

Look for "host name aliases" section at the below link
http://tomcat.apache.org/tomcat-5.5-...nfig/host.html
__________________
- Rakesh
http://iam-rakesh.blogspot.com
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set context in web application [PLEASE HELP] arashdx J2EE 3 January 27th, 2009 03:53 AM
How to create context help in web application? Alexds ASP.NET 2.0 Basics 1 February 1st, 2006 06:23 PM
How can I map 132+ fields of a single table in VB ishh_sh VB How-To 0 January 1st, 2005 01:32 AM
ASP.Net Single Single-on with Oracle Application S guhanath Oracle 0 October 6th, 2004 06:05 AM
Single or Multiple application. Gibs_poovath General .NET 7 May 25th, 2004 08:54 AM



All times are GMT -4. The time now is 02:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.