Minor bug: Missing configuration file results in a NPE

2003-10-29 Thread Joshua Davis
Hi, I'm still somewhat of a Struts newbie, but I figured I'd give some feedback on an error message I've been getting: When the /WEB-INF directory does not contain a struts or tiles configuration file, ActionServlet throws a NullPointerException. This pretty much forces the end user to downloa

RE: example of jsp in WEB-INF

2003-10-29 Thread Joshua Davis
You should be able to use: InputStream input = getServletContext().getResourceAsStream("/WEB-INF/" + jspFile); Note: If ServletContext.getResourceAsStream(String) returns null, the resource was not found by the web container. > -Original Message- > From: Ashish Kulka

RE: Planning Struts Application Development

2003-10-28 Thread Joshua Davis
If it's any help, I have been working on a rather large application which was primarily written using 'plain' JSP and this is exactly what happened. The developers ended up making endless, buggy, incomplete variants of things that exist in Struts. The level of re-use in the web presentation layer

RE: dynamic drop-down changes without calling action class using session

2003-10-28 Thread Joshua Davis
Nice! > -Original Message- > From: Vic Cekvenich [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 28, 2003 9:40 PM > To: [EMAIL PROTECTED] > Subject: Re: dynamic drop-down changes without calling action > class using session > > > Old-School! > > Jo

RE: dynamic drop-down changes without calling action class using session

2003-10-28 Thread Joshua Davis
XML-RPC via JavaScript... Interesting. Would that be 'old school' XML-RPC, or new SOAP XML-RPC? > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich > Sent: Tuesday, October 28, 2003 7:35 PM > To: [EMAIL PROTECTED] > Subject: Re: dynamic drop-down change