Re: Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-31 Thread Lukasz Lenart
śr., 26 mar 2025 o 09:38 Lidin NT napisał(a): > Why is ServletActionContext.getRequest() returning null in JSP? Calling JSPs directly is a Bad Idea https://struts.apache.org/security/#never-expose-jsp-files-directly And calling JSPs directly means you skip the whole Action related machinery, wit

Re: RE: Struts7: looking for constant to set escapeHtml=false

2025-03-31 Thread Lukasz Lenart
pon., 24 mar 2025 o 20:04 Ute Kaiser napisał(a): > Thx Lukasz and Nate. > > I created MypropertyTag.java extending PropertyTag.java with my own method > setEscapeHtml but it was not called when the attribute escateHTML was not set > in jsp. > So I decided to go with Nate and to add the attribute