Re: Setting initial page to be an action

2001-02-01 Thread Craig R. McClanahan
"Winters, Jason" wrote: I'm trying to setup my application so that the initial page is an action. When the user enters a URL like this, http://server/myapp they should be sent to http://server/myapp/index.do. At the moment, they get forwarded to http://server/myapp/index.jsp which crashes

RE: Setting initial page to be an action

2001-02-01 Thread Winters, Jason
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 7:39 PM To: [EMAIL PROTECTED] Subject: Re: Setting initial page to be an action I tried this a couple of days ago but the results back where a directly listing. I also had to add an entry in my action.xml to handle "index&qu

Setting initial page to be an action

2001-01-30 Thread Winters, Jason
I'm trying to setup my application so that the initial page is an action. When the user enters a URL like this, http://server/myapp they should be sent to http://server/myapp/index.do. At the moment, they get forwarded to http://server/myapp/index.jsp which crashes because stuff that was setup

Re: Setting initial page to be an action

2001-01-30 Thread Ted Husted
If a JSP requires something created by an action, you can test for it first, and then forward to the action if it is missing, e.g. logic:notPresent name="myIndexBean"logic:redirect href="index.do"//logic:notPresent I usually put these after the taglib declarations, but before the HTML.