URL authentication

2010-08-08 Thread Guy Thomas
I am adding authentication to a Struts2 web application by implementing an authentication interceptor. With an interceptor, as far as I understand, you can prevent non-authenticated perons from accessing specific actions. However, suppose somebody forwards a URL to a specific pdf-file to a non-

Get i18n text problem

2010-08-08 Thread Franz Wong
Hi group, In the jsp page, I have a page scope variable "title". This variable stores the key of the resource bundle. I can print the value by <%= title %>. However, I am not able to use it with . I have tried or . But both of them do not work. Thanks. Franz

Re: if else in XML via struts 1.2

2010-08-08 Thread Michael Dekmetzian
Depending on how big your site is you can always configure a servlet at the xml files's location to be rendered by a jsp page. Something like this: xmlservlet /path/to/yourfile.jsp xmlservlet /path/to/xmlfile.xml Of course you can also use a jsp file in place

if else in XML via struts 1.2

2010-08-08 Thread abhishek jain
Hi friends, I am using struts 1.2 on tomcat, 5.5 and apache, I am using some dynamic html which need an xml file. no problem till here, but i need to change the content of that xml file. depending on some request parameter. I need to know is there a way, i can process and write some if else condi