aspose file tools*
The moose likes JSP and the fly likes need help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "need help" Watch "need help" New topic
Author

need help

harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
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

Joined: Feb 06, 2006
Posts: 37
you must have an index file in your sites folder.
harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
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

Joined: Aug 15, 2004
Posts: 2874
Simply on the root of your webapp.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: need help