title: Redirect to Mobile pages in Struts
body: <p>I have an existing web app which uses Struts for the forward-action...</p>
  
  <p>I am trying to create a mobile version (mainly the UI design will be different) of this existing web app.</p>
  
  <p>Now this app is using Struts 2 for the forward-action thing..</p>
  
  <p>My question is can I extend this Struts XML to redirect based on desktop/mobile..
  e.g. Let's say I have desktop.jsp and mobile.jsp...Now I detect where the user is coming from at a server level and have that info in the session..Can I update my stuts-config XML such that the only thing I need to change would be the "forward" JSP URL based on where the user is coming from?
  I am looking at no change to the Action...only the forward URL for the JSP.</p>
  
  <p>Please note that this question is not about "how to detect", but more about what approach to take once we have detected the browser and have that info from the server..</p>
  
  <p>Thank you.</p>