Re: forwarding to an action w/o an input JSP

2004-09-03 Thread Chuck Chopp
Wendy Smoak wrote: From: "Chuck Chopp" <[EMAIL PROTECTED]> That's the part that's getting me. I'm using JDK versions that are only a "-" dash away from each other. I've got JDK v1.4.2-5 on WinXP and JDK v1.4.2-2 on OpenVMS. They're running on different hardware (I assume) and definitely under di

Re: forwarding to an action w/o an input JSP

2004-09-03 Thread Wendy Smoak
From: "Chuck Chopp" <[EMAIL PROTECTED]> > That's the part that's getting me. I'm using JDK versions that are only a > "-" dash away from each other. I've got JDK v1.4.2-5 on WinXP and JDK > v1.4.2-2 on OpenVMS. They're running on different hardware (I assume) and definitely under different opera

RE: forwarding to an action w/o an input JSP

2004-09-03 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 6:47 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > Jim Barrows wrote: > > > I would immed

RE: forwarding to an action w/o an input JSP

2004-09-03 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 6:39 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > Wendy Smoak wrote: > > > Good list!

RE: forwarding to an action w/o an input JSP

2004-09-03 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 4:20 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > Jim Barrows wrote: > > > Back, next a

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Jim Barrows wrote: I would immediately suspect either the JVM, or the underlying OS and the permissions of. Maybe even the way the security manager is setup on the JVM. That's the part that's getting me. I'm using JDK versions that are only a "-" dash away from each other. I've got JDK v1.4.2-5

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Wendy Smoak wrote: Good list! Add to that, you're working with open source stuff, which will change right out from under you if you're not paying attention. LOL... isn't that a hidden part of the definition of open source stuff? The faster development cycle makes it hard to freeze the technology

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Wendy Smoak
From: "Chuck Chopp" <[EMAIL PROTECTED]> > So it isn't > just learning one new thing, such as just a new language or a new framework > with a known language, it is learning several new things at the same time. > The last time I checked, human beings are equiped to juggle approximately 6 > to 8 concu

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Jim Barrows wrote: Nope, they wouldn't be included with Tomcat... and yes you need the struts distribution, and the source code to.. so you can step through it. Not just while you're learning, but after you've mastered it as well. And that's where things start to get slightly "murky" w/respect to

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Erik Weber
Yes, and consider learning how to prevent pages from being cached by the browser as well. Erik Chuck Chopp wrote: Jim Barrows wrote: Back, next and reload will do to a struts app what they do with any other app: Allow the user to break your application in new and interesting ways. I've seen th

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Erik Weber
Yeah, you can actually have actions that are this simple (no Action class or form bean required): My logout action mappings typically look like this: I would think yours would be similar except that your forward path would be to a login page instead of a main index page, and you might not b

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Jim Barrows wrote: Back, next and reload will do to a struts app what they do with any other app: Allow the user to break your application in new and interesting ways. I've seen the term "tokens" used in some postings here that appear to be dealing with the same issue. Am I on the right track if

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Erik Weber wrote: Chuck, I think reading the Servlet specification would help you a lot! I think it is well edited, and it sure helped me a lot. Thanks for that tip. I will head on over to Sun's web site and read over the specs themselves independent of the actual servelet container implementat

RE: forwarding to an action w/o an input JSP

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 4:08 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > Wendy Smoak wrote: > > > Have you sp

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
Wendy Smoak wrote: Have you spent some quality time with struts-example.war yet? Run that in a debugger (JSwat, if you don't already have a favorite,) for an hour, and most of the mysteries will be solved. No, but now that I know where it is I can spend some time with it. I just found it inside

RE: forwarding to an action w/o an input JSP

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 4:01 PM > To: [EMAIL PROTECTED] > Subject: Re: forwarding to an action w/o an input JSP > > > David Durham wrote: > > > Chuck C

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
David Durham wrote: Chuck Chopp wrote: I have a welcome file named "index.jsp". I'm questioning if it should be forwarding to the JSP file "login.jsp" [which I want to protect from direct access from the browser] or should it be forwarding to the action named "login" [or would it be "login.do"]?

RE: forwarding to an action w/o an input JSP

2004-09-02 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Chuck Chopp > Sent: Thursday, September 02, 2004 12:21 PM > To: [EMAIL PROTECTED] > Subject: forwarding to an action w/o an input JSP > > > I'm looking for some good solid examples that

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Erik Weber
Chuck, I think reading the Servlet specification would help you a lot! I think it is well edited, and it sure helped me a lot. Keep in mind that just as a container dispatches requests to Servlets according to how the Servlets are mapped in web.xml, the Struts controller Servlet dispatches requ

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread Wendy Smoak
From: "Chuck Chopp" <[EMAIL PROTECTED]> > I keep getting the feeling that if I could see one good > comprehensive working example everything would be clear to me about how this > is supposed to work. Have you spent some quality time with struts-example.war yet? Run that in a debugger (JSwat, if y

Re: forwarding to an action w/o an input JSP

2004-09-02 Thread David Durham
Chuck Chopp wrote: I'm looking for some good solid examples that show how to configure the JSP files, struts-config.xml [global forwards, action mappings, form beans] and action classes where a JSP may forward/redirect to an action [may end up being a chain of actions] Dear God, please let no on

forwarding to an action w/o an input JSP

2004-09-02 Thread Chuck Chopp
I'm looking for some good solid examples that show how to configure the JSP files, struts-config.xml [global forwards, action mappings, form beans] and action classes where a JSP may forward/redirect to an action [may end up being a chain of actions] before another JSP is finally displayed. The