Re: Running Struts1 and Struts2 together?

2010-08-31 Thread J_e_f_f
Stephen Turner wrote: but I've no idea how big a job it is, what the pitfalls are etc. It's not difficult to add struts 2 to an existing struts 1 app. We have two apps that have both struts1 and struts 2 actions. You just define your struts 2 filter in your application's web.xml like

Re: Any way to load resources in java.util.ResourceBundle

2010-07-19 Thread J_e_f_f
D'oh! Yeah, that was a typo. Should say struts.xml. Could you post some relevant code snippets? Also, do you see anything in the logs when the application starts up? Jeff Greg Akins-2 wrote: On Fri, Jul 16, 2010 at 9:24 PM, J_e_f_f jam0...@gmail.com wrote: If you're specifying your

Re: jsp in WEB-INF

2010-07-16 Thread J_e_f_f
Miguel-55 wrote: I use struts 2.1.81. and I don't want that my users access directly my .jsp, so I put them inside WEB-INF. You don't *have* to put your JSPs in WEB-INF to protect them from direct access. You can put them in folders under the web root named according to your package

Re: Any way to load resources in java.util.ResourceBundle

2010-07-16 Thread J_e_f_f
Greg, Greg Akins-2 wrote: I specify it as a constant in struts.xml and then wrap my s:text with the s:i18n using the fully qualified class If you're specifying your DbResourceBundle class in the web.xml like: constant name=struts.custom.i18n.resources