Ok, I am officially a moron. I didn't declare the action to be public so package access was in effect.
--b On Wed, 22 Sep 2004 19:15:30 +0200, bryan <[EMAIL PROTECTED]> wrote: > Hi I'm getting the error message at the end ... if this is valid I > will add it to > bugzilla myself. > > from my class ( which extends ) DispatchAction > snip= > public ActionForward get(ActionMapping mapping, ActionForm form, > HttpServletRequest request, HttpServletResponse response) > throws Exception { > logger.debug("get"); > Long propertyId = new Long(request.getParameter(PROPERTY_ID)); > > =snip > > from my struts.xml file > snip= > <action path="/sales-update-property-details" > type="ie.jestate.struts.sales.property.PropertyDetailsAction" > name="SalesPropertyDetailsForm" scope="session" > parameter="function" > > > <!-- options are get and update--> > <forward name="DISPLAY_EDITABLE_PROPERTY_DETAILS" > path="sales.edit.details"/> > </action> > =snip > > and finally the url that I am trying to access it with > > http://localhost:8080/jestate/sales-update-property-details.do?function=get&PROPERTY_ID=1 > > and finally the error itself > > java.lang.IllegalAccessException: Class org.apache.struts.util.RequestUtils can > not access a member of class ie.jestate.struts.sales.property.PropertyDetailsAct > ion with modifiers "" > at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57) > at java.lang.Class.newInstance0(Class.java:302) > at java.lang.Class.newInstance(Class.java:261) > at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils. > java:145) > at org.apache.struts.action.RequestProcessor.processActionCreate(Request > Processor.java:282) > at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja > va:220) > at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116 > 4) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > icationFilterChain.java:237) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]