NullPointerException 5.5.17 Request.setAttribute(Request.java:1376)

2008-08-18 Thread Adam Jenkins
I sent the following to the tomcat mailing list. Since it also involves struts I thought I'd also send it on here and see if anyone has any ideas Cheers Adam From: Adam Jenkins [mailto:[EMAIL PROTECTED] Sent: Tue 19/08/2008 4:05 PM To: [EMAIL PROTECTED] Subj

Re: Problem with no configaration found

2008-08-18 Thread Jeromy Evans
Muralidhar Y wrote: It's an (annoying) warning caused by the line above. It means it searched for an action in the configuration called "executePoPSearch.action" but couldn't find it, so it's going to use the literal value "executePoPSearch.action" instead. The form tag in

RE: Problem with no configaration found

2008-08-18 Thread Muralidhar Y
Hi Dave, the following is the jsp page. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags"%> http://www.w3.org/TR/html4/loose.dtd";>

Re: Could not find property [struts.valueStack] using struts 2.1.2

2008-08-18 Thread Jeromy Evans
David N. Arnold wrote: You're not the only one. I can't remember if I was running trunk or 2.1.2, but I have seen the same messages. On Thu, Aug 14, 2008 at 9:47 AM, "Stephan Schröder" <[EMAIL PROTECTED]> wrote: 14.08.2008 15:12:34 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn WA

Re: Could not find property [struts.valueStack] using struts 2.1.2

2008-08-18 Thread David N. Arnold
You're not the only one. I can't remember if I was running trunk or 2.1.2, but I have seen the same messages. On Thu, Aug 14, 2008 at 9:47 AM, "Stephan Schröder" <[EMAIL PROTECTED]> wrote: > hi, > > this is my first post to the mailing list so i hope this is the right > place/email address. > >

Re: struts2: simple ajax form - returns value to a new page (not to a DIV)

2008-08-18 Thread Jeromy Evans
Martin Gainty wrote: var xmlhttp=dojo.hostenv.getXmlhttpObject() var response= xmlhttp.responseXML; var parsed_response=SomeXMLParser(response); document.getElementByTagId("div").innerHtml = parsed_response; --> yes/no? Martin That would work, but dojo already includes code to invoke the

Re: Struts 2 and Crystal Reports XI

2008-08-18 Thread James Neff
James Neff wrote: I am trying to find a good example of how to use Crystal Reports XI with Struts 2. I found this: http://www.jroller.com/njain/entry/crystal_reports_plus_struts But the code does not work. I need to see the struts.xml example and the author doesn't provide a list of required

Re: Select tag questions

2008-08-18 Thread Edwin Quita
there is a struts2-showcase-2.0.11.1.war included in the struts2 download bundle... you can find a reference about the select tag in the UI Tags section http://localhost:8010/struts2-showcase-2.0.11.1/tags/ui/ HTH, /kits On Fri, Aug 15, 2008 at 8:12 AM, David Barron <[EMAIL PROTECTED]> wrote:

Re: struts-core-2.0.11.2 in two places on the server, causing exceptions

2008-08-18 Thread Edwin Quita
here's the snippet for our deployment: http://www.omg.org/XMI"; xmlns:appdeployment="http://www.ibm.com/websphere/appserver/schemas/5.0/appdeployment.xmi"; xmi:id="Deployment_1218223750906"> On Mon, Aug 18, 2008 at 1:52 PM, Edwin Quita <[EMAIL PROTECTED]> wrote:

Re: struts-core-2.0.11.2 in two places on the server, causing exceptions

2008-08-18 Thread Edwin Quita
what we did with our deployment was to have the class loading setup to load on a per module basis. we have two struts2 portlet deployed with liferay5.1 on WAS. we had a modules first and parent last setting for class loading. you should check on your EAR deployment descriptor how class loading was

Re: Object put in HttpSession can't be found by S2

2008-08-18 Thread Dustin Pearce
Thanks Dave. So without the # it only hunts for wabbits in the value stack? -D On Aug 18, 2008, at 8:51 AM, Dave Newton <[EMAIL PROTECTED]> wrote: --- On Mon, 8/18/08, Martin Gainty wrote: yes OGNL will 'hunt' for Page,Request,Session andd then application for #attr.VariableName http://struts.a

Struts 2 and Crystal Reports XI

2008-08-18 Thread James Neff
I am trying to find a good example of how to use Crystal Reports XI with Struts 2. I found this: http://www.jroller.com/njain/entry/crystal_reports_plus_struts But the code does not work. I need to see the struts.xml example and the author doesn't provide a list of required jar's. I see how

RE: Object put in HttpSession can't be found by S2

2008-08-18 Thread Dave Newton
--- On Mon, 8/18/08, Martin Gainty wrote: > yes OGNL will 'hunt' for Page,Request,Session andd > then application for #attr.VariableName > http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html > > are you seeing otherwise? That's only if you use #attr, which wasn't

RE: Object put in HttpSession can't be found by S2

2008-08-18 Thread Martin Gainty
yes OGNL will 'hunt' for Page,Request,Session andd then application for #attr.VariableName http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html are you seeing otherwise? thx, Martin __ Disclaimer and confidentiality no

Re: Object put in HttpSession can't be found by S2

2008-08-18 Thread Dave Newton
If it's prefixed with a "#" it will look for a context object with that name, AFAIK. And since it doesn't work with the "#"... Dave --- On Mon, 8/18/08, Dustin Pearce <[EMAIL PROTECTED]> wrote: > From: Dustin Pearce <[EMAIL PROTECTED]> > Subject: Re: Object put in HttpSession can't be found by

Re: Object put in HttpSession can't be found by S2

2008-08-18 Thread Dustin Pearce
Isn't OGNL supposed to search the value stack, then request, then session for a property value? Or his was a s:if test, so it is only the value stack? Sent from my iPhone On Aug 18, 2008, at 4:02 AM, "Ylva Degerfeldt" <[EMAIL PROTECTED]> wrote: Thank you all for your answers! "#session.skillsF

Re: Struts loses action configuration

2008-08-18 Thread Dustin Pearce
Are you seeing any thing in the log that would suggest that the app was reloaded? Are there any exceptions before the missing configuration? When you first start it up you can address this action fine? What does the action do/use? How long before the action starts thowing the error? Sent from

RE: struts2: simple ajax form - returns value to a new page (not to a DIV)

2008-08-18 Thread Martin Gainty
you can send your action to javascript function and use dojo to talk to the XMLHttpRequest object parse the XML response and then set innerHtml of the div tag to the parsed_response