RE: Servlet display

2000-12-20 Thread Kitching Simon

Hi Carlos,

I think it unlikely that anyone is "studying the problem".
What you *can* get from this email group is tips from people who
have encountered the same problem in the past, or suggestions from
other people about how you might go about solving this yourself.
Unfortunately, there is no-one on this group being paid to resolve
other people's problems - this is not a commercial tech support line.

In the "suggestion about how you might solve this yourself" category,
I have the following to offer:

I suggest that you run your problem page, then click "view source" and
save the output. This is what the browser sees, so the problem is almost
certainly that the page you have just saved contains some bad HTML. 
Try loading this page directly from disk into your browser, and see if the
same
problem occurs. If it does, try chopping bits out of the page until you get
a
minimal page that still shows the problem. If there is then something that
appears tomcat-related, post your query again, together with the minimal
page that demonstrates the problem.

Regards,

Simon
 -Original Message-
 From: Landaluze Produktions IS - Carlos [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 8:45 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Servlet display
 
 i have the same problem with tomcat + apaache
 it works well if only run the tomcat in the 80 port.
 there is anybody studing the problem
 - Original Message -
 From: "RV Tobin" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 5:56 PM
 Subject: Re: Servlet display
 
 
  I'm going through re-direct hell as we speak.  I am using Tomcat 3.1 and
  when I insert a record to my MySQL database table, it works for the
 first
  submit, but if I try to return to the form to make another post to the
 site,
  I get the following showing up at the bottom of my page:
 
  HTTP/1.1 200 Date: Tue, 19 Dec 2000 17:47:22 GMT Server: Apache/1.3.12
  (Unix) (Red Hat/Linux) tomcat/1.0 PHP/3.0.15 mod_perl/1.21
 Content-Language:
  en Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java
  1.3.0beta; Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
  Keep-Alive: timeout=15, max=85 Connection: Keep-Alive Transfer-Encoding:
  chunked Content-Type: text/html;charset=8859_1 800
 
  Sometimes, the page I am trying to redirect to is added to the bottom of
 the
  page with the form and submit button.  Sometimes, a "page has moved"
 message
  appears at after the above server info, and if I click on the link
 provided,
  I get sent to the page that I'm trying to redirect to.  All in all, it
 is
  very frustrating.  I'm using UltraDev, and the code that redirects the
 page
  is generated by UltraDev, and it works just fine on another page that I
 do
  an update and then redirect on, but here I have nothing but trouble.
 
  If I hit the refresh button before going to the posting form, I get
 properly
  redirected, naturally, because it is like posting for the first time.
 But
  that is not what we should demand that users do if they want to post
 more
  than once to the site.
 
  The UD code is this, in case anyone can tell me what on earth might be
 going
  on:
 
  String MM_redirectPage = "../JspFiles/pdcThankyou.jsp";
 
  // redirect with URL parameters
if (MM_redirectPage.length() == 0) MM_redirectPage =
  request.getRequestURI();
if (MM_redirectPage.indexOf('?') == -1  request.getQueryString() !=
  null)
  MM_redirectPage += "?" + request.getQueryString();
response.sendRedirect(response.encodeRedirectURL(MM_redirectPage));
 
  I've posted to the UD site, and all I've received were responses from
 people
  who are suffering from the same fate, and have the same setup, so if I
 fix
  this problem, I'll be able to help a few other people who are sharing my
  misery.
 
  Thanks for any assistance.
 
  Val
 
  - Original Message -
  From: "Hayer, Jagjeet" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 11:35 AM
  Subject: Servlet display
 
 
   Hi all,
  
   Has anyone had a problem with servlet display where a re-direction
 results
   in some of the actual JavaScript  being displayed within the browser
   display?
  
   Thanks in advance,
  
   Jag.
  
   The content of this e-mail is confidential, may contain privileged
  material
   and is intended solely for the recipient(s) named above. If you
 receive
  this
   in error, please notify Software AG immediately and delete this
 e-mail.
  
   Software AG (UK) Limited
   Registered in England  Wales 1310740
   Registered Office: Hudson House, Hudson Way,
   Pride Park, Derby DE24 8HS
 
 



Re: Servlet display

2000-12-19 Thread RV Tobin

I'm going through re-direct hell as we speak.  I am using Tomcat 3.1 and
when I insert a record to my MySQL database table, it works for the first
submit, but if I try to return to the form to make another post to the site,
I get the following showing up at the bottom of my page:

HTTP/1.1 200 Date: Tue, 19 Dec 2000 17:47:22 GMT Server: Apache/1.3.12
(Unix) (Red Hat/Linux) tomcat/1.0 PHP/3.0.15 mod_perl/1.21 Content-Language:
en Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java
1.3.0beta; Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
Keep-Alive: timeout=15, max=85 Connection: Keep-Alive Transfer-Encoding:
chunked Content-Type: text/html;charset=8859_1 800

Sometimes, the page I am trying to redirect to is added to the bottom of the
page with the form and submit button.  Sometimes, a "page has moved" message
appears at after the above server info, and if I click on the link provided,
I get sent to the page that I'm trying to redirect to.  All in all, it is
very frustrating.  I'm using UltraDev, and the code that redirects the page
is generated by UltraDev, and it works just fine on another page that I do
an update and then redirect on, but here I have nothing but trouble.

If I hit the refresh button before going to the posting form, I get properly
redirected, naturally, because it is like posting for the first time.  But
that is not what we should demand that users do if they want to post more
than once to the site.

The UD code is this, in case anyone can tell me what on earth might be going
on:

String MM_redirectPage = "../JspFiles/pdcThankyou.jsp";

// redirect with URL parameters
  if (MM_redirectPage.length() == 0) MM_redirectPage =
request.getRequestURI();
  if (MM_redirectPage.indexOf('?') == -1  request.getQueryString() !=
null)
MM_redirectPage += "?" + request.getQueryString();
  response.sendRedirect(response.encodeRedirectURL(MM_redirectPage));

I've posted to the UD site, and all I've received were responses from people
who are suffering from the same fate, and have the same setup, so if I fix
this problem, I'll be able to help a few other people who are sharing my
misery.

Thanks for any assistance.

Val

- Original Message -
From: "Hayer, Jagjeet" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 11:35 AM
Subject: Servlet display


 Hi all,

 Has anyone had a problem with servlet display where a re-direction results
 in some of the actual JavaScript  being displayed within the browser
 display?

 Thanks in advance,

 Jag.

 The content of this e-mail is confidential, may contain privileged
material
 and is intended solely for the recipient(s) named above. If you receive
this
 in error, please notify Software AG immediately and delete this e-mail.

 Software AG (UK) Limited
 Registered in England  Wales 1310740
 Registered Office: Hudson House, Hudson Way,
 Pride Park, Derby DE24 8HS




RE: Servlet display

2000-12-19 Thread Hayer, Jagjeet

Well this sounds very similar to my problem, surely someone has an
answer/solution???



 -Original Message-
 From: RV Tobin [mailto:[EMAIL PROTECTED]]
 Sent: 19 December 2000 16:57
 To: [EMAIL PROTECTED]
 Subject: Re: Servlet display
 
 
 I'm going through re-direct hell as we speak.  I am using 
 Tomcat 3.1 and
 when I insert a record to my MySQL database table, it works 
 for the first
 submit, but if I try to return to the form to make another 
 post to the site,
 I get the following showing up at the bottom of my page:
 
 HTTP/1.1 200 Date: Tue, 19 Dec 2000 17:47:22 GMT Server: Apache/1.3.12
 (Unix) (Red Hat/Linux) tomcat/1.0 PHP/3.0.15 mod_perl/1.21 
 Content-Language:
 en Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java
 1.3.0beta; Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
 Keep-Alive: timeout=15, max=85 Connection: Keep-Alive 
 Transfer-Encoding:
 chunked Content-Type: text/html;charset=8859_1 800
 
 Sometimes, the page I am trying to redirect to is added to 
 the bottom of the
 page with the form and submit button.  Sometimes, a "page has 
 moved" message
 appears at after the above server info, and if I click on the 
 link provided,
 I get sent to the page that I'm trying to redirect to.  All 
 in all, it is
 very frustrating.  I'm using UltraDev, and the code that 
 redirects the page
 is generated by UltraDev, and it works just fine on another 
 page that I do
 an update and then redirect on, but here I have nothing but trouble.
 
 If I hit the refresh button before going to the posting form, 
 I get properly
 redirected, naturally, because it is like posting for the 
 first time.  But
 that is not what we should demand that users do if they want 
 to post more
 than once to the site.
 
 The UD code is this, in case anyone can tell me what on earth 
 might be going
 on:
 
 String MM_redirectPage = "../JspFiles/pdcThankyou.jsp";
 
 // redirect with URL parameters
   if (MM_redirectPage.length() == 0) MM_redirectPage =
 request.getRequestURI();
   if (MM_redirectPage.indexOf('?') == -1  
 request.getQueryString() !=
 null)
 MM_redirectPage += "?" + request.getQueryString();
   response.sendRedirect(response.encodeRedirectURL(MM_redirectPage));
 
 I've posted to the UD site, and all I've received were 
 responses from people
 who are suffering from the same fate, and have the same 
 setup, so if I fix
 this problem, I'll be able to help a few other people who are 
 sharing my
 misery.
 
 Thanks for any assistance.
 
 Val
 
 - Original Message -
 From: "Hayer, Jagjeet" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 11:35 AM
 Subject: Servlet display
 
 
  Hi all,
 
  Has anyone had a problem with servlet display where a 
 re-direction results
  in some of the actual JavaScript  being displayed within the browser
  display?
 
  Thanks in advance,
 
  Jag.
 
  The content of this e-mail is confidential, may contain privileged
 material
  and is intended solely for the recipient(s) named above. If 
 you receive
 this
  in error, please notify Software AG immediately and delete 
 this e-mail.
 
  Software AG (UK) Limited
  Registered in England  Wales 1310740
  Registered Office: Hudson House, Hudson Way,
  Pride Park, Derby DE24 8HS
 

The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail. 

Software AG (UK) Limited 
Registered in England  Wales 1310740 
Registered Office: Hudson House, Hudson Way, 
Pride Park, Derby DE24 8HS



Re: Servlet display

2000-12-19 Thread Landaluze Produktions IS - Carlos

yes i have problems.

- Original Message -
From: "Hayer, Jagjeet" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 5:35 PM
Subject: Servlet display


 Hi all,

 Has anyone had a problem with servlet display where a re-direction results
 in some of the actual JavaScript  being displayed within the browser
 display?

 Thanks in advance,

 Jag.

 The content of this e-mail is confidential, may contain privileged
material
 and is intended solely for the recipient(s) named above. If you receive
this
 in error, please notify Software AG immediately and delete this e-mail.

 Software AG (UK) Limited
 Registered in England  Wales 1310740
 Registered Office: Hudson House, Hudson Way,
 Pride Park, Derby DE24 8HS





Re: Servlet display

2000-12-19 Thread Landaluze Produktions IS - Carlos

i have the same problem with tomcat + apaache
it works well if only run the tomcat in the 80 port.
there is anybody studing the problem
- Original Message -
From: "RV Tobin" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 5:56 PM
Subject: Re: Servlet display


 I'm going through re-direct hell as we speak.  I am using Tomcat 3.1 and
 when I insert a record to my MySQL database table, it works for the first
 submit, but if I try to return to the form to make another post to the
site,
 I get the following showing up at the bottom of my page:

 HTTP/1.1 200 Date: Tue, 19 Dec 2000 17:47:22 GMT Server: Apache/1.3.12
 (Unix) (Red Hat/Linux) tomcat/1.0 PHP/3.0.15 mod_perl/1.21
Content-Language:
 en Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java
 1.3.0beta; Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
 Keep-Alive: timeout=15, max=85 Connection: Keep-Alive Transfer-Encoding:
 chunked Content-Type: text/html;charset=8859_1 800

 Sometimes, the page I am trying to redirect to is added to the bottom of
the
 page with the form and submit button.  Sometimes, a "page has moved"
message
 appears at after the above server info, and if I click on the link
provided,
 I get sent to the page that I'm trying to redirect to.  All in all, it is
 very frustrating.  I'm using UltraDev, and the code that redirects the
page
 is generated by UltraDev, and it works just fine on another page that I do
 an update and then redirect on, but here I have nothing but trouble.

 If I hit the refresh button before going to the posting form, I get
properly
 redirected, naturally, because it is like posting for the first time.  But
 that is not what we should demand that users do if they want to post more
 than once to the site.

 The UD code is this, in case anyone can tell me what on earth might be
going
 on:

 String MM_redirectPage = "../JspFiles/pdcThankyou.jsp";

 // redirect with URL parameters
   if (MM_redirectPage.length() == 0) MM_redirectPage =
 request.getRequestURI();
   if (MM_redirectPage.indexOf('?') == -1  request.getQueryString() !=
 null)
 MM_redirectPage += "?" + request.getQueryString();
   response.sendRedirect(response.encodeRedirectURL(MM_redirectPage));

 I've posted to the UD site, and all I've received were responses from
people
 who are suffering from the same fate, and have the same setup, so if I fix
 this problem, I'll be able to help a few other people who are sharing my
 misery.

 Thanks for any assistance.

 Val

 - Original Message -
 From: "Hayer, Jagjeet" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 11:35 AM
 Subject: Servlet display


  Hi all,
 
  Has anyone had a problem with servlet display where a re-direction
results
  in some of the actual JavaScript  being displayed within the browser
  display?
 
  Thanks in advance,
 
  Jag.
 
  The content of this e-mail is confidential, may contain privileged
 material
  and is intended solely for the recipient(s) named above. If you receive
 this
  in error, please notify Software AG immediately and delete this e-mail.
 
  Software AG (UK) Limited
  Registered in England  Wales 1310740
  Registered Office: Hudson House, Hudson Way,
  Pride Park, Derby DE24 8HS