Re: (ultra-newbie) Cannot forward to a JSP within WEB-INF

2005-08-23 Thread Glen Mazza
That was it--just switch redirect to "false" in order to forward instead. Thanks Craig! Glen Craig McClanahan wrote: On 8/22/05, Glen Mazza <[EMAIL PROTECTED]> wrote: You are using redirects here, which causes the browser to make a second request to the ne

(ultra-newbie) Cannot forward to a JSP within WEB-INF

2005-08-22 Thread Glen Mazza
Hello, I'm trying unsuccessfully, within an action-mapping, to forward to a UserQuery.JSP kept within the WEB-INF/pages folder of the web application. (I'm intentionally placing it there to prevent direct access of this jsp from the browser.) I'm getting a Tomcat 5.0.28 error as follows: "

Re: How to have logical 'OR' between two validator rules ?

2005-07-27 Thread Glen Mazza
k validator, and I only accept all of this if this last validation returns true. Hope it's better explained ? Thanks Joe for this wonderful link. I have not yet verified everything, but I'm affraid it won't be satisfying in my case ... I'm still investigating ... On 27/07/05, Gl

Re: How to have logical 'OR' between two validator rules ?

2005-07-26 Thread Glen Mazza
I'm not exactly certain of your needs, but I think you can always activate validation but just change the validation code based on the value/state of other fields (such as the "original" one you mention). Perhaps the Java code example on page 38 of http://www.objectsource.com/Struts_Survival_Gu

Re: How to convert web-application having Frame struture into Struts

2005-07-26 Thread Glen Mazza
If Tamas would need to learn Tiles from the beginning, he may also wish to consider using Sitemesh[1] instead. The AppFuse web development project moved to it from Tiles some months ago, and from those who know both, it appears that more are preferring Sitemesh. (Although I'm sure Tiles prese

Re: Tutorial: Test Automation with Struts

2005-07-24 Thread Glen Mazza
Thanks--I've added it to my reading list. Glen Stephan Wiesner wrote: Hi list, I have published a tutorial that demonstrates how to automate the testing of a web based application. It uses Struts, but you will learn how to test any web application, with some special points on Struts (which you

Re: [OT] Struts and Content Management

2005-07-22 Thread Glen Mazza
Just to be complete, for a heavily XML/Cocoon based solution, there is also Apache Lenya. I have not used it, however, and am uncertain of its quality. Glen Daniel Henrique Ferreira e Silva escribió: Hi BHansard, Do you really have to stick to Java for a CMS? If, and only if, java is not m

Re: Validation Help

2005-07-20 Thread Glen Mazza
http://www.objectsource.com/Struts_Survival_Guide.pdf, Chapter 5. Paul Goepfert wrote: I have created a web app using struts and velocity. I am going to add vaildation on the struts end of the app. I am still learning struts. The only thing I have been able to do is use struts to move betwee

Re: ApplicationException sample

2005-07-20 Thread Glen Mazza
I think a good example of the manager classes are in the sample Struts-based application generated by AppFuse: https://appfuse.dev.java.net/. I have yet to see the full benefits of these manager classes, however I am currently attributing this to my general newbieness with Java web applicatio

Re: [OT] Secure Email w/ java

2005-07-20 Thread Glen Mazza
If you don't get a good answer here I would check the Apache James project--ML's, docs, etc. Glen Brian McGovern wrote: Sorry for the off topic, but hopefully someone here has done this before. Im using a tomcat smtp resource and JavaMail to send e-mail with my system. I want to secure it

Re: ApplicationException sample

2005-07-19 Thread Glen Mazza
Search on the Struts User ML (http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2) for those exceptions; also a google on "catch ApplicationException" (in quotes), etc. may be of help. Glen Rivka Shisman wrote: Can someone please attach a sample of an ApplicationException, BaseException &

Re: submit form

2005-07-19 Thread Glen Mazza
Code : event.which; if (window.event.ctrlKey) { if (keyCode == 83) { // Ctrl+S was pressed } else if (keyCode == 84) { // Ctrl +T was pressed } // and so on for all of our key handlers } } On 7/18/05, Glen Mazza <[EMAIL PROTECTED]> wrote: Still,

Re: Name of the form

2005-07-18 Thread Glen Mazza
If you're doing "request.setAttribute("CLASS_NAME", myActionForm)" to store the form bean you should be able to call "request.getAttribute("CLASS_NAME")" to retrieve the myActionForm from your JSP. However, I am not sure about the cleanest ways to access myActionForm from your JSP in this man

Re: submit form

2005-07-18 Thread Glen Mazza
Still, mnemonics are non-standard for web applications, no? This doesn't seem right. Glen Niall Pemberton escribió: The short and not v.helpful response is you can't submit - its just a JSP tag that renders a HTML element and has nothing to do with the submit process. Some of the Struts ta

Re: How do you create a Validator rule to compare 3 fields

2005-07-18 Thread Glen Mazza
Pardon the non-answer (and I would encourage anyone who knows how to validate interdependent checkboxes to respond), but ordinarily using four radio buttons (the fourth being a "none" radio button, selected by default) would be the more standard GUI choice, and one for which you can forgo valid