O'Reilly Struts book - where is src for chap 13?

2002-12-21 Thread Darrel Riekhof
I've downloaded the examples, but I can't find any of the code in chap13, EJB and Struts. It would save me a bunch of typing... Darrel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: html:select woes

2002-12-21 Thread Mohan Radhakrishnan
Hi, We tried using struts tags like that. I am sure it will work but JSTL/Struts-EL makes things more simple like this. c:forEach items=${xOptions} varStatus=status c:if test=${xOptions[status.count - 1].value == reportForm.xGroups[0]} c:out value=${xOptions[status.count - 1].label}/ /c:if

Re: Pre-populating DynaActionForm Bean

2002-12-21 Thread Affan Qureshi
I have a similar scenario but in my case the sending action does not have the same form bean bean associated as the destination. So what I want to do is to instantiate a form bean which the JSP is expecting and put it in the request scope. Here is my code: DynaActionForm form = new

Re: how to open a window on click of a link

2002-12-21 Thread Max Cooper
Context path? td a href=# onClick=window.open('%=request.getContextPath()%/screenLabelDetails.do')CLICK HERE/a/td -Max On Fri, 2002-12-20 at 23:22, [EMAIL PROTECTED] wrote: hi, how to open a new window in click of a link i used this code td a href=#

RE: how to open a window on click of a link

2002-12-21 Thread Mohammed_Rafeeq
exactly correct. this works -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 5:08 PM To: Struts Users Mailing List Subject: Re: how to open a window on click of a link Context path? td a href=#

Re: disappearing images in struts templates

2002-12-21 Thread Rachel
At 18:14 20/12/2002 -0700, you wrote: Are the generated urls to the images the same on both machines? yes, the generated html looks identical. I'm deploying an ear file built using ant. I did have someone deploy it on JBoss 2.4 to check and they got the images! Rachel Andrew work:

Re: code too large for try statement

2002-12-21 Thread Jitendra Singh
hi, I am a newbie ...but i read somewhere that there is a restrcition on the size of JSP, in-built in J2EE. I beleive that this is the coz of ur error. hope it helps Jitendra - Original Message - From: Michael Marrotte [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: Pre-populating DynaActionForm Bean (solved)

2002-12-21 Thread Affan Qureshi
Should use the following way to instantiate a DynaActionForm: DynaBean form = DynaActionFormClass.getDynaActionFormClass(accessory).newInstance(); But surprisingly i can't find this method on the API on the Docs on the struts website. http://jakarta.apache.org/struts/api/index.html Thanks,

Re: code too large for try statement

2002-12-21 Thread Brian Alexander Lee
Removing the try/catch block would be a truly inelegant solution. The try/catch is probably added by the jsp compiler. BAL - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 20, 2002 8:09 PM Subject: Re: code too large for try statement

Re: code too large for try statement

2002-12-21 Thread Robert S. Sfeir
wow, I once got that error when we were writing a converter for Tango/ColdFusion to java. It turned out that there is a limit in methods of 64k, how much data is in your try statement??? R On Saturday, December 21, 2002, at 07:30 AM, Jitendra Singh wrote: hi, I am a newbie ...but i read

Struts beta 2 and Tomcat 4.1.18

2002-12-21 Thread ajTreece
Just started using the Tomcat server... I get the following from some of my action servlets... ant clues? Thanks, aj 2002-12-21 11:27:34 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException at

Re: code too large for try statement

2002-12-21 Thread Craig R. McClanahan
On Sat, 21 Dec 2002, Jitendra Singh wrote: I am a newbie ...but i read somewhere that there is a restrcition on the size of JSP, in-built in J2EE. The built in restriction is actually the JVM's limit of 64kb on the size of a particular method. It's not anything imposed by J2EE or the JSP

Re: Struts beta 2 and Tomcat 4.1.18

2002-12-21 Thread David Graham
Your AdminNewsAction is throwing a NPE. David From: ajTreece [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Struts beta 2 and Tomcat 4.1.18 Date: Sat, 21 Dec 2002 11:32:44 -0600 Just started using the Tomcat

Re: Struts beta 2 and Tomcat 4.1.18

2002-12-21 Thread ajTreece
I saw that, but was wondering if it was something more specific to a Tomcat configuration with Struts... I have used this webapp with iPlanet v6 sp2 for quite a while with no problems. David Graham wrote: Your AdminNewsAction is throwing a NPE. David From: ajTreece [EMAIL PROTECTED]

RE: Struts beta 2 and Tomcat 4.1.18

2002-12-21 Thread James Mitchell
You'll have to provide more information for anyone here to help you. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. - Bjarne Stroustrup

Re: [OT] HTTP fetchmail program?

2002-12-21 Thread Vincent Stoessel
I think the best bet would be for you to set an http proxy for her. I recommend squid as the most reliable and easyest to install. The trickiest part will be the access list that you have to set up so read the docs. If you have trouble the squid access logs are your friend. Eddie Bush wrote: You

Re: [OT] HTTP fetchmail program?

2002-12-21 Thread Eddie Bush
Thanks! I'll check into it :-) Vincent Stoessel wrote: I think the best bet would be for you to set an http proxy for her. I recommend squid as the most reliable and easyest to install. The trickiest part will be the access list that you have to set up so read the docs. If you have trouble the