struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frans Thamura <>
Subject implementation of m. and www.
Date Mon, 12 Sep 2011 16:00:24 GMT
hi all

i have 3 container,

1. www using jquery common
2. m. using jquery mobile

for 1 and 2, i try to implement a same URI for both

this is an exanple

i want if the user access using mobile, and click www from email, will
be redirect to the m. URL

and also if we click m. in PC/notebook browser, will redirect to www.

1. is there implementation that u can share, if we wanna to implement
under one container (.war) for both.

2. if we implement 2 containers.

for the REST API, we dont have problem. esp the security
implementation, we still want to know the REST implementation with the
both case no. 1 and no. 2 which we use jquery both, and i am glad if
we can make JQuery consume JSON from REST API of Struts

this is the case

server -> JSON -> jquery for www
server -> JSON -> jquery mobile for m.

which the interceptor for redirector

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message