RE: Form Security

2005-06-25 Thread Ramadi Pearse
Mark, Thank you for responding. My focus with these questions is to prevent any unexpected behavior in the application. It is sometimes amazing how hackers are able to break an application! :) So, with regards to #2, the problem is really not about roles. These actions are already secure, but sti

Form Security

2005-06-24 Thread Ramadi Pearse
I have two questions. In thinking about security, there are two uses using Struts forms which I don't know how to solve. 1. Is it common practice in a web-application to force some actions only through a POST request? For instance, I have a login functionality on my website, and in my browser's a

Re: I18N by pages

2005-06-24 Thread Ramadi Pearse
Yaroslav, Tiles already contains 18N support. If your tiles config is called tiles-config.xml, the controller will look for tiles named in the user's locale first (tiles-config_fr.xml, tiles-config_de.xml) and then default to the original if cannot be found. Use this as a way of presenting differ

RE: Best Practices for static content

2005-06-16 Thread Ramadi Pearse
bles and/or long pages, the > string buffer size might become an issue. Do I know > what that size limit > might be? No. I just read about it while > researching and testing out > SiteMesh a few months ago and thought I'd provide a > warning, just in case. > After all,

Re: Best Practices for static content

2005-06-16 Thread Ramadi Pearse
Is it the right thing to use tiles for this? Have other people hard-coded static content with tiles? 2) What kind of internal directory structure did they use under WEB-INF? --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Ramadi Pearse" <[EMAIL PROTECTED]> > >

Best Practices for static content

2005-06-16 Thread Ramadi Pearse
Does anyone have best practices on how to compose or decorate stand-alone static content? It seems overkill to have to modify tile-defs.xml for each new static page I want to add to the website. Is SSI or SiteMesh more appropriate here? By the way, this is to complement a web app which already uses

Help - Tiles and structured content

2005-06-15 Thread Ramadi Pearse
I am working on a website which has mainly been a total web application through its lifecycle. It uses Struts and composes the interface using Tiles, sometimes nested Tiles. I have setup my structure as such: WEB-INF |-- jsp ||-- tiles |||-- dir1 |||-- dir2 So I have creat