Hi all,
I have been given the following brief:
"Consider the design of a web application using Struts2 and Spring for traditional displays and mobile displays."
We already have an existing web app project designed initially for traditional displays. We need to accommodate mobile views for some of the pages.
I have considered separate projects; one for a traditional displays and one for mobile device but the maintenance overhead and duplicated code sounds like a headache from the start.
I have developed some pages having single
jsp pages that would handle traditional and mobile devices in the same file but that has got convoluted and result in large, messy files.
More ever, I have a really different HTML for this pages, so using the CSS dynamically is not an option here.
I am thinking of having almost-copy
struts config and action classes in a separate module, but i am not clear up with the detailed design.
Thanks for reading. Kind regards,
Tejas