thanks Ravi and Stephen for your responses. my application needs to do
mapping at run time, i.e. it wouldn't be knowing how may subdomains it would
be handling, so, i can't not use your techniques :(


On Sun, May 15, 2011 at 10:13 PM, Stephen Johnson <[email protected]>wrote:

> You should be able to use the RequestDispatcher object to do what you want
> but you'll have to have mappings in web.xml for each of the servlets your
> forwarding to for instance MyGalleryApp would have mappings that all start
> with /MyGalleryApp/ (or something similar) so GalleryServlet would map to
> something like /MyGalleryApp/GalleryServlet (or something similar)
>
> On Sun, May 15, 2011 at 7:51 AM, Prashant <[email protected]> wrote:web
>
>  thanks a lot Ravi. i will read your article and give it a try ....
>>
>>
>> On Sun, May 15, 2011 at 8:20 PM, Ravi Sharma <[email protected]> wrote:
>>
>>> Using Spring MVC you could use it to solve the problem.
>>> Basically you want different Controller for http://www.mainsite.com and
>>> http://test.mainsite.com
>>>
>>> I have used it in one of my application. I write all the steps in a blog
>>> here. I hope it will helpfull
>>>
>>>
>>> http://techsravi.blogspot.com/2011/05/managing-multiple-domain-and-sub-domain.html
>>>
>>> thanks,
>>> Ravi.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Sun, May 15, 2011 at 2:43 PM, Brandon Donnelson <
>>> [email protected]> wrote:
>>>
>>>> Do you mean: response.sendRedirect(url);
>>>>
>>>> Brandon Donnelson
>>>> http://gwt-examples.googlecode.com
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google App Engine for Java" group.
>>>> To post to this group, send email to
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine for Java" group.
>>> To post to this group, send email to
>>> [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to