Vita Rara: A Life Uncommon

Great Guide!!!

Hello Mark!

Very good guide! Before I begin, this is just sharing my 2 cent opinion and by no means of degrading Struts 2.

I don't know FreeMarker but I understood it since it's very similar to JSTL. Anyways, I just want to comment on Struts 2 theme, not your guide! As of now, I write all JSP pages in plain "html/xhtml" w/ no specification to any css class or styles. I override the default HTML setting in my CSS file, which impacts entire feel and look. So, if I want to change the theme, I just swap single CSS file w/o impacting any of the JSP files. Clearly, this would be very useful to a developer who knows little about CSS. But, for anyone who has used CSS extensively would probably prefer creating the entire theme based on "css" and not through struts tag lib. Of course, you can combine Struts 2 theme + CSS but I don't see any advantage of using Struts 2 theme. So, I'm wondering what would be the advantage of using Struts Theme vs. Pure CSS solution. Again, thanks for the great article and look forward for your reply. Perhaps I'll be conviced to use Struts 2 theme. Thanks.

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options