version bump from struts 2.2.1 to 2.2.3 and JSP broke??

2011-05-11 Thread Haroon Rafique
obvious? Where should I start looking? I was initially hesitant to send this message in case I'm having a duh moment but I have wasted enough time on it already, so perhaps a few more eyeballs will find something informative. Thanks in advance, -- Haroon Rafique haroon.rafi...@utoronto.ca

Re: version bump from struts 2.2.1 to 2.2.3 and JSP broke??

2011-05-11 Thread Haroon Rafique
struts2-showcase from both 2.2.1 and 2.2.3 work fine in glassfish 2.2.1. On 2011-05-11, at 12:19 PM, Maurizio Cucchiara wrote: Have you checked if struts showcase works (there is a section dedicated to freemarker)? On 11 May 2011 17:31, Haroon Rafique haroon.rafi...@utoronto.ca wrote: Hi

Re: version bump from struts 2.2.1 to 2.2.3 and JSP broke??

2011-05-11 Thread Haroon Rafique
Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca Enterprise Apps Solutions Integration, University of Toronto - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: version bump from struts 2.2.1 to 2.2.3 and JSP broke??

2011-05-11 Thread Haroon Rafique
On 2011-05-11, at 2:17 PM, Haroon Rafique wrote: web.xml http://pastebin.ca/2056943 Commenting out all the filters and listeners lets me access index.jsp. Still investigating which one is the culprit. -- Haroon Rafique haroon.rafi...@utoronto.ca Enterprise Apps Solutions Integration

Re: version bump from struts 2.2.1 to 2.2.3 and JSP broke??

2011-05-11 Thread Haroon Rafique
On 2011-05-11, at 2:24 PM, Haroon Rafique wrote: On 2011-05-11, at 2:17 PM, Haroon Rafique wrote: web.xml http://pastebin.ca/2056943 Commenting out all the filters and listeners lets me access index.jsp. Still investigating which one is the culprit. Looks like I was using

Re: Struts2 + spring3.05 + Quartz = IncompatibleClassChangeError

2011-04-12 Thread Haroon Rafique
for wasting bandwidth. Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca \Enterprise Apps Solutions Integration, University of Toronto On 2011-04-12, at 5:01 PM, Emi Lu wrote: I'd look for class loading issues. Maybe you have a couple jars with quartz? Maybe an incompatible version

Re: Running Struts1 and Struts2 together?

2010-08-23 Thread Haroon Rafique
- GL To unsubscribe, e-mail: user-unsubscr...@struts.apache.org GL For additional commands, e-mail: user-h...@struts.apache.org GL GL -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user

Re: [S2] i18n not using default bundle

2009-12-11 Thread Haroon Rafique
answer already. An empty global-message_zh_CN.properties file did the truck. FWIW, there is no problem with putting .properties files in a deeper package (in this case resources). Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca

RE: [Struts 2 + EJB 3] injection of EJBs into struts 2 actions

2009-12-04 Thread Haroon Rafique
- JC To unsubscribe, e-mail: user-unsubscr...@struts.apache.org JC For additional commands, e-mail: user-h...@struts.apache.org JC JC -- Haroon Rafique haroon.rafi...@utoronto.ca

Re: How to get Login page while submitting a data form

2009-11-14 Thread Haroon Rafique
, Spring Security will remember which URL user was trying to access before the login and will replay that URL after successful login . However, I'm not aware of Spring Security ability to replay POST data from a form. Hope that helps. Later, -- Haroon Rafique haroon.rafi...@utoronto.ca

Re: Trouble calling action methods from FreeMarker

2009-11-10 Thread Haroon Rafique
${myMethod()} CM ${getMyValue()} (plain method calls as described in the docs) CM Try: ${stack.findValue(getMyValue())} ${stack.findValue(myMethod())} Later, -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e

Re: NoResult - write response in the Action

2009-11-04 Thread Haroon Rafique
/result-configuration.html Later, -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: NoResult - write response in the Action

2009-11-03 Thread Haroon Rafique
to duplicate logic GL that is already available in the action super classes, etc in the result. GL -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Re: Java URL Batch Application

2009-08-08 Thread Haroon Rafique
Spring Batch as well... http://static.springsource.org/spring-batch/ I haven't used it, but it might help you. Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: CSS background images, struts2

2009-08-04 Thread Haroon Rafique
, then you will need to make sure that your image path is relative to the path of the URL where the HTML was generated. That's a different scenario. Hope this helps. Later, -- Haroon Rafique haroon.rafi...@utoronto.ca

Re: EJB Injection in Interceptor

2009-07-31 Thread Haroon Rafique
and effort everyone has gone through in RM providing ideas and solutions to this problem. It is good to know RM that this kind of expert help is available via the forum. RM RM Many thanks, Robin RM Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca

Re: EJB Injection in Interceptor

2009-07-31 Thread Haroon Rafique
On Today at 2:02pm, HR=Haroon Rafique haroon.rafi...@utoronto.ca wrote: HR [..snip..] HR HR Nope. Its not mentioned anywhere else in the app. Its just packaged in HR the .war file (which is inside the .ear). Glassfish does the right thing HR when it sees a servlet marked with the @EJB

Re: EJB Injection in Interceptor

2009-07-30 Thread Haroon Rafique
does its part because of EJBInvokerServlet), we then use the @Resource annotation, e.g., to inject the Local1 interface, I would use: @Resource(mappedName = ejb/local1) private Local1 local1; Hope that helps. -- Haroon Rafique haroon.rafi...@utoronto.ca

RE: Upgrading xWork??

2009-07-22 Thread Haroon Rafique
with struts 2.0.x because of lot of internal changes. I know for sure that the other way around, i.e., struts 2.1.x will not work with xwork 2.0.x. Later, -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user

Re: unit testing Struts2 application (with Spring and Hibernate)

2009-07-21 Thread Haroon Rafique
with this example. Any suggestions are DC appreciated. DC DC Regards. Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: unit testing Struts2 application (with Spring and Hibernate)

2009-07-20 Thread Haroon Rafique
Kind regards and I appreciate all the input. DC Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: unit testing Struts2 application (with Spring and Hibernate)

2009-07-20 Thread Haroon Rafique
, String parameters) { proxy.getInvocation().getInvocationContext(). setParameters(parameters); } Then inside my Action Test class, I can issue: proxy.setActionParameters(...); before: proxy.execute(); Cheers, -- Haroon Rafique haroon.rafi...@utoronto.ca

Re: unit testing Struts2 application (with Spring and Hibernate)

2009-07-16 Thread Haroon Rafique
to be tweaked for Spring but you GL are welcome to use this as a starting point. GL GL This gives me a lot of flexibility for testing, sometimes I test GL against an actual database (with hibernate) and sometimes I mock the GL services that the actions use. GL Later, -- Haroon Rafique haroon.rafi

Re: [OT] UML and Reverse Engineering

2008-04-14 Thread Haroon Rafique
Ashish, I have used ESS-Model in the past (long time ago). Last release was in 2003, so it might be too old of a release. http://essmodel.sourceforge.net/ Cheers, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail

Re: [S2] [ANN] S2 plugin for JetBrains IntelliJ IDEA 7

2008-01-08 Thread Haroon Rafique
On Yesterday at 11:26am, HR=Haroon Rafique [EMAIL PROTECTED] wrote: HR [..snip..] HR HR Hi Yann, HR HR Thanks for your work. I haven't tried the plugin yet, but my pain HR point (and perhaps many other developers') with IntelliJ and struts2 HR is lack of syntax support for .ftl (freemarker

Re: [S2] [ANN] S2 plugin for JetBrains IntelliJ IDEA 7

2008-01-07 Thread Haroon Rafique
(and perhaps many other developers') with IntelliJ and struts2 is lack of syntax support for .ftl (freemarker) files. Any plans for that? Thanks, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

freemarker static method call using stack.findValue and @@

2007-10-28 Thread Haroon Rafique
something simple. I have tried using #input but that didn't work either. I'm using struts 2.0.11, freemarker 2.3.10 and ognl 2.6.11 Thanks in advance and cheers, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Re: [SOLVED] freemarker static method call using stack.findValue and @@

2007-10-28 Thread Haroon Rafique
On Today at 9:51am, HR=Haroon Rafique [EMAIL PROTECTED] wrote: HR [..snip..] HR HR However, if I start using variables instead of values like 222, 555, e.g.: HR ${stack.findValue(@@min(555, input))} HR where input is defined as: HR #assign input=222/ HR HR I get the exception: HR HR

Re: [s2] Struts head tag KILLS ( 10s) page load time

2007-09-21 Thread Haroon Rafique
dexagogo/prototype for client-side validation. Cheers, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FRIDAY] JPA War Stories?

2007-09-16 Thread Haroon Rafique
. I've been using Toplink Essentials JPA. Its been mostly painless. MB MB musachy MB Later, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts2 freemarker session check

2007-08-28 Thread Haroon Rafique
return true, if Session exists and Session.sessionaff exists. Later, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts 2.0.9 disable automatic session creation

2007-08-08 Thread Haroon Rafique
as the view. I remember with struts 1, it wasn't exactly easy. There was a checklist that had to be followed. Something like: 1. Make sure controller element has locale=false 2. Use %@ page session=false % in JSPs 3. etc... Thanks in advance, -- Haroon Rafique [EMAIL PROTECTED

Re: struts 2.0.9 disable automatic session creation

2007-08-08 Thread Haroon Rafique
On Today at 4:16pm, HR=Haroon Rafique [EMAIL PROTECTED] wrote: HR [..snip..] HR HR Any one has any recipes they want to share? I'm using struts 2.0.9 HR with sitemesh decorators and freemarker as the view. HR Since I use sitemesh, I think I know the culprit is sitemesh. I found the following

Re: when did Struts become a top-level Apache project?

2007-06-25 Thread Haroon Rafique
. BJ BJ -Bill http://www.apachenews.org/archives/000182.html March 2004 Later, -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Semi-OT] Build versioning strategies

2006-08-18 Thread Haroon Rafique
cruisecontrol. http://cruisecontrol.sf.net/ I use it myself to monitor and build HEAD every 30 minutes (if there were any modifications), monitor and build QA once a day (if there were any modifications). Cheers, -- Haroon Rafique [EMAIL PROTECTED

Re: html:form not generating name= attribute

2005-08-22 Thread Haroon Rafique
. DB DB Don This is fixed in subverion: http://issues.apache.org/bugzilla/show_bug.cgi?id=35127 and needs to be used with commons validator (latest subversion as well). -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail

RE: Using constants in JSP pages

2005-03-21 Thread Haroon Rafique
to typo MC than foo. MC -- Haroon Rafique [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]