multibox problem with constantly checked item

2003-03-25 Thread Reid Pinchback
I'm using struts 1.1rc1 with Tomcat 4.0.6. I've got a logic:iterator on a list-valued property. I'm using a multibox to produce a bunch of checkboxes. The first item in the list is always checked when the page is rendered. What the heck could be going on? I have a reset method, and I've

RE: How to redirect to login page

2002-01-24 Thread Reid Pinchback
Jeff Oberlander [EMAIL PROTECTED] wrote: Set a session variable in first.jsp, then create a custom tag that checks for that session variable and place the custom tag in second.jsp and third.jsp. If the session variable isn't there, forward to first.jsp. The sample app does this exact

How to do an outcall but return to the session?

2002-01-23 Thread Reid Pinchback
Hi all, I need to integrate an external web-based service with a Struts-based app. The chain of events are: 1. client invokes URL on my app within their current session. 2. My action class gets hit. Sometimes it would immediately forward to a JSP, but sometimes it must first bounce the

RE: How to do an outcall but return to the session?

2002-01-23 Thread Reid Pinchback
I figured that was probably what would happen in the case of cookies. Is there an easy way to deal with the re-written url/disabled cookies case? I want to be sure the right thing happens whether or not cookies are enabled. Thanks! Alex Paransky [EMAIL PROTECTED] wrote: Assuming your

Re: Execute_Struts_in_Netbeans?

2002-01-11 Thread Reid Pinchback
This sounds a lot like the problems you see in JBuilder with integrated Tomcat. If so, then the problem is that your struts library is on the wrong classpath. You want it in the war's web-inf/lib directory, and only in that the classpath build from the war's contents. Unfortunately in an

Re: JDeveloper and Tomcat

2002-01-09 Thread Reid Pinchback
Im not a JDeveloper user, but as I recall it is (or at least was) an IDE based on JBuilder and licensed by Borland/Inprise to Oracle. If that is still the case then maybe you need to follow the same steps to integrated Struts with JDeveloper as you would for JBuilder. That means installing

Re: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-01-06 Thread Reid Pinchback
Jack [EMAIL PROTECTED] wrote: What causes this exception: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE? I ran into this repeatedly trying to get Struts working within JBuilder. I found two things I had to fix: 1. Never rename

Re: The encoding Cp1252 is not supported.

2002-01-06 Thread Reid Pinchback
Anna Chen [EMAIL PROTECTED] wrote: Any one has idea about this error? FATAL: configuration error org.xml.sax.SAXParseException: The encoding Cp1252 is not supported. I don't know why you are getting the error, but Cp1252 is the default character encoding for the assorted java.io reader

Looking for a clean required-bean handler

2001-12-31 Thread Reid Pinchback
Hi all! The more I did into Struts the more I like it. I have noticed something that has me scratching my head a bit, wondered if anybody else had come up with a clean solution. Struts has a nice clean approach to organizing code and behaviour after you click on something. In other words, if

Re: Looking for a clean required-bean handler

2001-12-31 Thread Reid Pinchback
Francisco Hernandez [EMAIL PROTECTED] wrote: this sounds something like the Pull model where the jsps Pull the data they need rather then the Push model where the data is Pushed into the jsp.. hrmm.. checkout http://sourceforge.net/projects/webwork its Pull HMVC its worth a shot if i

Newbie question about caching data for forms

2001-12-13 Thread Reid Pinchback
Hi all, I've been reading through a lot of the Struts info available on the web in various places, and I have a question I'm hoping one of you more experienced folks can answer. There is something simple that I think I'm still not getting. How, using the tag libraries of Struts, can I do the