Re: Need Urgent help

2002-06-14 Thread Roy Truelove
Why don't you change the bean so it doesn't return a null result? You can also wrap the whole thing in a logic:notEmpty tag, so that the equal tag will not be evaulated if your property is null. Regards, Richard At 08:10 PM 6/25/2002 +0530, you wrote: Hi, I have a problem in using

Re: Help: java.lang.IllegalStateException

2002-06-11 Thread Roy Truelove
with schedule.jsp. Both produced the same result. Thanks. Roy Truelove [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hey.. We'd probably need to see the jsp / action that's giving you this error. Seems like you're trying to forward after Tomcat has already finished

Re: Argument for redirects (was Adding query string to redirect w/in an action)

2002-06-11 Thread Roy Truelove
it's true, I had this problem, you can always use forward ;-) -Original Message- From: Roy Truelove [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:01 AM To: Struts Users Mailing List Subject: Adding query string to redirect w/in an action Hello all, Question

Re: 1.1 Deployment Bug?- Iplanet Web Server

2002-06-11 Thread Roy Truelove
what's happening here : _menu_jsp.java:102 ? does IPlanet give you access to the generated JSP source? -Roy - Original Message - From: Rajesh Kalluri [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 9:12 AM Subject: RE: 1.1 Deployment Bug?-

Re: 1.1 Deployment Bug?- Iplanet Web Server

2002-06-11 Thread Roy Truelove
by a container for a given jsp. if so you can find them in ..$IWS_HOME\https-web.manduca\ClassCache\tiles\_jsps\_layouts for iplanet substituing your setup parameters. Regards Raj -Original Message- From: Roy Truelove [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 10:27 AM

Adding query string to redirect w/in an action

2002-06-10 Thread Roy Truelove
Hello all, Question about redirects.. I want to redirect from one action to another, but I want to append a query string to the URL. I know how to do this the dirty way, by creating a context-relative ActionForward and slapping the queryString onto the end. What I'm looking for (in theory) is

Re: Help: java.lang.IllegalStateException

2002-06-10 Thread Roy Truelove
Hey.. We'd probably need to see the jsp / action that's giving you this error. Seems like you're trying to forward after Tomcat has already finished sending all the data to the client. -Roy - Original Message - From: Struts Newsgroup @[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: 1.1 Deployment Bug?

2002-06-10 Thread Roy Truelove
Hey Mark, can you provide a StackTrace for the ClassNotFoundException? I deploy with Tomcat 4.03 all the time. -Roy - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Sent: Monday, June 10, 2002 7:27 PM Subject: 1.1 Deployment Bug? Is

Re: forawrd parameters

2002-06-07 Thread Roy Truelove
Try setting the scope in your XML to session instead of request. That way it will still be available when the person goes back to your form page. Take it easy, Roy - Original Message - From: Philip DiFalco [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 10:55 AM

Re: Design Advice - Relational Databases Java Objects

2002-06-06 Thread Roy Truelove
Have you looking into Torque at all? (http://jakarta.apache.org/turbine/torque/index.html) It's been recently decoupled from Turbine and offers excellent object- relational mapping. I have about 30 tables in my project and haven't written any SQL yet! Good luck, Roy - Original Message

Re: Console created by James Holmes

2002-06-06 Thread Roy Truelove
http://www.jamesholmes.com/struts/console/ Looks like it's just able to visually edit Struts configuration files and ... convert Pages (*.htm, *.html, *.jsp) to use the Struts HTML tag library for form handling. I know I shouldn't say *just* able to, because what it *can* do is very helpful.

Re: Back button skip a page?

2002-06-06 Thread Roy Truelove
Maybe in your show results action, a session variable can be set that the person saw the results. Then if they go to the Request is being processed page, the page can check to see the the results were seen, and if yes, automatically redirect to the results page. You'll probably have to make

Confused about exception handling design, 1.1 beta

2002-06-05 Thread Roy Truelove
Hi folks, I'm having a problem with exception handling with 1.1b. This problem has been brought up before (http://www.mail-archive.com/struts-user@jakarta.apache.org/msg29572.html) but never fully discussed. I can't see any way for my Action that deals with global-exceptions to get a

Re: Confused about exception handling design, 1.1 beta

2002-06-05 Thread Roy Truelove
Have you read my exception handling chapter on theserverside.com? If that doesn't answer this question, than I've failed and I need to rewrite that chapter. Thanks Chuck.. excellent stuff! I extended ExceptionHandler, and this did the trick. One small concern is that the DTD for

Re: Best Practice for Holding Data Across Requests

2002-06-05 Thread Roy Truelove
(A) pass a Map in as the parameter from the link on the first JSP containing the id and name I vote for A. There are 100 different philosophies on how to handle this, but mine is to put as much as you can in the URL query string. This way you won't have problems with people bookmarking it,