RE: can't use JFreeChart plugin so ...

2007-10-09 Thread REMIJAN, MICHAEL J [AG/1000]
Do NOT use getRealPath(/)!!! If you read the API for this method it says this functionality is optional and does not have to be supported, particularly if the application is deployed as a WAR. It just so happens to work in Tomcat but in most real EE servers this method does not return anything.

Struts2 and JBoss 5.0.0 Beta2 deployment problem

2007-09-10 Thread REMIJAN, MICHAEL J [AG/1000]
Has any successfully deployed a Struts2 application to JBoss 5.0.0 Beta 2? When I try to do this I get the following stack trace from JBoss: Exception starting filter struts2 Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean -

Struts2 and JBoss 5.0.0 Beta2 deployment problem

2007-09-05 Thread REMIJAN, MICHAEL J [AG/1000]
Has any successfully deployed a Struts2 application to JBoss 5.0.0 Beta 2? When I try to do this I get the following stack trace from JBoss: Exception starting filter struts2 Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean -

How to access the ActionForm in a JSP?

2007-09-04 Thread REMIJAN, MICHAEL J [AG/1000]
Newbie question here. Suppose I have action, helloworld.action which I use to grab a bunch of data I wish to display on a JSP page. My question is how do get a reference to that action object in the JSP page? The tutorials on the Struts2 website showed examples using form / tags, but I don't

RE: How to access the ActionForm in a JSP?

2007-09-04 Thread REMIJAN, MICHAEL J [AG/1000]
) and JavaScript, DOM Scripting and Ajax Projects (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! REMIJAN, MICHAEL J [AG/1000] wrote: Newbie question here. Suppose I have action, helloworld.action which I use

Struts2 and JBoss 5.0.0 Beta2 deployment problem

2007-08-31 Thread REMIJAN, MICHAEL J [AG/1000]
Has any successfully deployed a Struts2 application to JBoss 5.0.0 Beta 2? When I try to do this I get the following stack trace from JBoss: Exception starting filter struts2 Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean -