JasperException and javax.el.ELException when running under Jetty

2007-11-13 Thread Phil404
I have a struts 2 application which works perfectly on Tomcat 5.5.23 but when I run it on Jetty 6.1.1 I get the following exception when processing an OGNL expressions in a jsp page: org.apache.jasper.JasperException: /WEB-INF/pages/register/info.jsp(45,10) PWC6038: #{'FRESHMAN':'Freshman',

Re: JasperException and javax.el.ELException when running under Jetty

2007-11-13 Thread Phil404
Wes Thanks for your quick response. You gave me the clue I needed!. OK, so I had this statements in my jsp: tdww:radio theme=simple name=responses[%{questionNo}].value list=%{#{5:''}} //td which produced the following error message: org.apache.jasper.JasperException:

Newbie question about parameters for an Action

2007-09-23 Thread Phil404
I would like to draw a Pie Chart using JFreeChart. I call the action from a JSP like so: s:url id='chartUrl' action='piechart' s:param name='visual'10/s:param s:param name='auditory'15/s:param s:param name='kinesthetic'20/s:param /s:url ${chartUrl} The

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
That does not seem to work either. The String values are nulls. Phil Richard Yee wrote: You might try changing the attributes and setters to Strings and see if that works. -Richard Phil404 wrote: I would like to draw a Pie Chart using JFreeChart. I call the action from a JSP

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
? --- Phil404 [EMAIL PROTECTED] wrote: That does not seem to work either. The String values are nulls. Phil Richard Yee wrote: You might try changing the attributes and setters to Strings and see if that works. -Richard Phil404 wrote: I would like to draw a Pie Chart using

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
: Phil404 wrote: I presume you mean org.apache.struts2.servlet.ParameterAware. If I implement setParameters(), it is not called before the execute() method. I'm still in the dark. I feel like I'm missing something really simple. Try this: http://www.nabble.com/-S2--Using-%3Cs:url%3E

Re: Newbie question about parameters for an Action

2007-09-24 Thread Phil404
for everyone's help! mihel wrote: Phil404 wrote: I don't think this is the problem since if I view source the generate code says: --img src='/surveytortoise-main/piechart.action?visual=10amp;auditory=15amp;kinesthetic=20' / So, the code seems to be correct. Why are these parameters

JFreeChart Plugin

2007-10-03 Thread Phil404
There has been a little discussion recently about the JFreeChart plugin on JIRA. The issue is that the plugin defines a package in its struts-plugin.xml which does not extend struts-default. Therefore JFreeChart actions cannot (without seemingly unnecessary extra work), for example, have

Struts Showcase Links Broken?

2007-10-11 Thread Phil404
Go to: http://www.planetstruts.org/struts2-showcase/filedownload/index.jsp Click View Sources and then click Configuration. I get Unknown Configuration. Also, If I click Java Action, I get Unknown or unavailable Action class. Is there someone who can fix this, please? Phil -- View this

Re: Struts Showcase Links Broken?

2007-10-11 Thread Phil404
I get the same error with the distro Phil -- View this message in context: http://www.nabble.com/Struts-Showcase-Links-Broken--tf4610006.html#a13165656 Sent from the Struts - User mailing list archive at Nabble.com. - To

Re: Struts Showcase Links Broken?

2007-10-11 Thread Phil404
Of course, the source is available... Phil -- View this message in context: http://www.nabble.com/Struts-Showcase-Links-Broken--tf4610006.html#a13165773 Sent from the Struts - User mailing list archive at Nabble.com. - To

Handling Heterogeneous Collections

2007-10-17 Thread Phil404
I would like to display and update objects in a list where the objects are not necessarily of the same class. For example, I have a list of survey questions where the question type may be Numeric, Multiple Choice, Open Ended, etc. Each of these classes would be a subclass of Question but would