Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2007, 12:59 PM
Member
 
Join Date: Jul 2007
Posts: 2
rvasu_77 is on a distinguished road
Context Root change
Hi,

My requirement is as below;

Instead of typing http://136.50.52.50:8080/jsp/en/index.jsp, if I type only http://136.50.52.50, it should go to the index page.

Can anyone suggest me how to do this?

Thanks in advance...

Last edited by rvasu_77 : 07-11-2007 at 01:16 PM. Reason: need to change my smiley
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-11-2007, 06:58 PM
Member
 
Join Date: Jun 2007
Posts: 92
Daniel is on a distinguished road
Hi, which ide and server are you working with?
If the server is tomcat, search the following tag in web.xml file in the config directory where you have the tomcat installed
Code:
<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>
In the same directory but in the sever xml, specifies the port, in this case 8080
if you use eclipse as ide click with right button on project web-> properties --> tomcat --> context name this context name appears in directions bar of your browser, don't write nothing.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-12-2007, 11:18 AM
Member
 
Join Date: Jul 2007
Posts: 2
rvasu_77 is on a distinguished road
Hi Daniel,

I am using WSAD 5.1.2 and the server accompanied by that is Websphere v4.0 Test Environment server.

Thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find nth root of a number perito New To Java 1 03-03-2008 07:51 AM
JSP/Servlet – getting root directory Java Tip Java Tips 0 01-31-2008 01:52 PM
Listing file system from root directory Java Tip Java Tips 0 01-14-2008 10:32 AM
Root Finder for polynomials gibsonrocker800 Advanced Java 11 01-04-2008 12:26 AM
Application Context bbq Java Servlet 1 07-05-2007 04:11 AM


All times are GMT +3. The time now is 10:26 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org