James Cook schrieb:
I am working on a website that will have a completely different set of
actions based on the user-agent. Think of IE6 and Pocket PC. What is the
best technique in a WebWork framework to serve up this site?
The suggestion Rickard made once was to use relative URLs in the view mapping like

Foo.action.success=foo/success.jsp

Then put the views for each browser in different folders like

ie6/foo/success.jsp
ppc/foo/success.jsp

Now you have to make sure that IE-Users access the action with
http://host/ctx/ie6/Foo.action

while PocketPC-users use the URI
http://host/ctx/ppc/Foo.action

This approach has a couple of issues, but it's a start.

Sven





-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


Reply via email to