Hallo Axel, you also can set up a virtual server like www1.myprofiles.com in which you can run your applications. (http://kb.atlassian.com/content/orionsupport/articles/vhosts.html)
Then map "/*" of your main-domain (www.myprofiles.com) to your servlet and redirect every request to your virtual server. (response.sendRedirect("http://www1.myprofiles.com/view.do?profileId=127"); ) Put pictures and so on on your virtual server, then you have no probs. Greetings Robert Thursday, April 18, 2002, 12:03:44 PM, you wrote: SF> Just have one directory level. SF> eg: SF> http://view.myprofiles.com/p/127 SF> Then map the servlet to /p* SF> That avoids problems with images. SF> Cheers, SF> Scott SF> Alex Paransky wrote: >> I have a url which looks like this: >> >> http://www.myprofiles.com/view.do?profileId=127 >> >> I would like to be able to replace it with: >> >> http://view.myprofiles.com/127 >> >> I know how to create a new website with view.myprofiles being serviced by >> orion. I am just not sure how to map the /127 to execute >> /view.do?profileId=127. >> >> I was thinking of mapping a servlet to "/" context, however, the concern I >> have is that if there are any images I don't want to servlet to process >> them. Also, will the <jsp:include work correctly with this scenario? >> >> Thanks for any suggestions. >> >> -AP_ >> http://www.alexparansky.com >> Java/J2EE Architect/Consultant >> http://www.myprofiles.com/member/view.do?profileId=127 >> >> >> Mit freundlichen Grüßen, Robert Virkus Director Mobile Solutions -- Robert Virkus scaraboo GmbH mobile Entertainment Georg-Wulf-Str.4-6 28199 Bremen Germany phone +49 - (0)421 - 59 67 549 fax +49 - (0)421 - 59 67 567 mobile +49 - (0)171 - 35 31 635 [EMAIL PROTECTED] www.scaraboo.de wap.scaraboo.de ---------------------------- Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. ---------------------------- For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately.