Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help

 
harish pathak
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am involved in developing a web applicaiton named say xyz.com.
When I enter the url >> http://www.xyz.com/mysearch/itemsearch.jsp
it shows me the item list page and the other urls.

well I want to change the url and if user enter >> http://www.itemsearch.xyz.com It should show the same result i.e item list page and the other urls.

how it is possible.
Anybody please tell me ...

Like the following url works........

http://community.java.net/
http://developers.sun.com/forums/
http://developers.sun.com/prodtech/support/


Thanks in advance

Please reply soon.

Harish Pathak
[ May 15, 2006: Message edited by: Bear Bibeault ]
 
samart mateo
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you must have an index file in your sites folder.
 
harish pathak
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is fine if I type this url:
http://www.xyz.com/mysearch/itemsearch.jsp

but I want to change it and I type the following url:
http://www.itemsearch.xyz.com

then where I place the index file.
please reply soon.

Thanks

harish pathak
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simply on the root of your webapp.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
harish,

Welcome to JavaRanch.
In order to help you get the most from our forums, we have compiled a list of tips for asking questions here.
You can find this list here.

In particular, please see UseAMeaningfulSubjectLine

"Please Help" tells us nothing of the nature of your problem.
Many people will skip by thread with a subject like this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic