Grokbase
Topics Posts Groups | in
x
[ help ]

- (a...@webcapacity.com)

Profile | Posts (14)

User Information

Display Name:-
Partial Email Address:a...@webcapacity.com
Posts:
14 total
14 in tomcat-user@jakarta.apache.org

5 Most Recent

All Posts
1) - Re: AW: redirect problems?
| +1 vote
yeah, I have returns, why does this do this, there is no documentation in the JSP spec saying i...
tomcat-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
yeah, I have returns, why does this do this, there is no documentation in the
JSP spec saying i have to do returns after a redirect. Is this a bug in tomcat?


On Mon, 30 Oct 2000, you wrote:
> Do you make a return after the sendRedirect?
> ...
> rresponse.sendRedirect("/checkout2.jsp");
> return;
> ...
>
> Otherwise, the output of checkout2.jsp is added (and not a 'new' output).
>
> Hint: Call sendRedirect before you make any output!!!
>
>
> -----Ursprüngliche Nachricht-----
> Von: jim [email protected: 1...@novagate.com]
> Gesendet am: Freitag, 27. Oktober 2000 18:41
> An: [email protected: tomcat...@jakarta.apache.org]
> Betreff: redirect problems?
>
> Hi,
> We are using Apache 1.3.12 with Tomcat 3.1 and experiencing weird problems.
>
> 1. checkout.jsp (FORM collecting new user info)
>    - POSTs to checkout_eng1.jsp
>
> 2. checkout_eng1.jsp
> - adds user from #1 and does a response.sendRedirect("/checkout2.jsp");
>
> 3. checkout2.jsp shows the next FORM asking for mailing address information
>
>
> Weird Symptom #1
> ------------------
> On any version of Internet Explorer (never on netscape) the POST to step #2
> above fails and up comes this IE error "cannot find server or DNS error"
> which
> leads me to beleive that the response.sendredirect() is doing something odd,
> maybe not sending back the correct http location header or something
>
> If you immediatly hit the browsers back button and re-submit the form, it
> then
> works with no problem and as expected. This only seems to occur the first
> time
> submitting forms to a page that re-directs after an operation.
>
> Weird Symptom #2
> ----------------
> occasionally on Internet Explorer AND Netscape.
> User submits info from form #1 above (checkout.jsp), their information is
> added
> to the database and they are redirected to checkout2.jsp, HOWEVER what is
> shown
> on checkout2.jsp is BOTH the previous pages contents (checkout.jsp) AND the
> expected contents of checkout2.jsp with a visible HTTP response header
> printed
> out in between checkout.jsp's contents and checkout2.jsp's contents ALL on
> visible on the URL checkout2.jsp................
>
> Anyone have any ideas? I tried checking the bug database but it appears to
> be
> down.
2) - RE: Help signing off
| +1 vote
SHUT UP ALREADY! > list member!...
tomcat-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
SHUT UP ALREADY!


On Wed, 09 Aug 2000, you wrote:
> Sorry, is this better? The question still stands....
>
> How can you filter the email though when the sender
> isn't [email protected: tomcat...@jakarta.apache.org], but each individual
> list member!
3) - ant classpath
| +1 vote
When taking a build.xml from UNIX to Windows, are directory slash changes necessary? Also what is...
tomcat-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
When taking a build.xml from UNIX to Windows, are directory slash changes
necessary? Also what is the delimeiter in the JAVAC tag for classpath attribute?

: or ;

thanks
4) - Re: help!
| +1 vote
Its in web.xml, I now see that it IS loading the servlet. Next question a. I have a JSP page which...
tomcat-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Its in web.xml, I now see that it IS loading the servlet.
Next question

a. I have a JSP page which is calling a singleton class loaded by the
initialization below.

b. I keep getting a null pointer exception. Any ideas? Don't JSP and Servlets
and other classes access the same JVM?

thanks
-aaz


On Fri, 30 Jun 2000, you wrote:
> In what files are you putting this "<servlet>" entry?
> It should be in a web.xml file. Not in server.xml
> Just a guess...
> --- - <aaz@webcapacity.com> wrote:
> > Hi,
> > Can't seem to find an example, anyways, I have a
> > startup servlet that does not
> > appear to be starting on tomcat start. What is wrong
> > with the below?
> >
> >     <servlet>
> > <load-on-startup>1</load-on-startup>
> > <servlet-name>Init</servlet-name>
> >      
> > <servlet-class>org.cub.servlets.Init</servlet-class>
> >       <init-param>
> > <param-name>bootfile</param-name>
> >        
> >
> <param-value>/usr/local/apache/tomcat/webapps/cubdev/WEB-INF/bootstrap.xml</param-value>
> >       </init-param>
> >       <init-param>
> > <param-name>rootTag</param-name>
> > <param-value>ROOT</param-value>
> >       </init-param>
> >     </servlet>
> >
> >
> --------------------------------------------------------------------------
> > To unsubscribe, email:
> > [email protected: tomcat-user-unsubs...@jakarta.apache.org]
> > For additional commmands, email:
> > [email protected: tomcat-user...@jakarta.apache.org]
> >
>
>
> =====
> Wyn Easton
> [email protected: wyn_e...@yahoo.com]
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> --------------------------------------------------------------------------
> To unsubscribe, email: [email protected: tomcat-user-unsubs...@jakarta.apache.org]
> For additional commmands, email: [email protected: tomcat-user...@jakarta.apache.org]
5) - help!
| +1 vote
Hi, Can't seem to find an example, anyways, I have a startup servlet that does not appear to be...
tomcat-user@jakarta.apache.org
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi,
Can't seem to find an example, anyways, I have a startup servlet that does not
appear to be starting on tomcat start. What is wrong with the below?

    <servlet>
      <load-on-startup>1</load-on-startup>
      <servlet-name>Init</servlet-name>
      <servlet-class>org.cub.servlets.Init</servlet-class>
      <init-param>
        <param-name>bootfile</param-name>
<param-value>/usr/local/apache/tomcat/webapps/cubdev/WEB-INF/bootstrap.xml</param-value>
      </init-param>
      <init-param>
        <param-name>rootTag</param-name>
        <param-value>ROOT</param-value>
      </init-param>
    </servlet>

spacer
Profile | Posts (14)
Home > People > -