|
Help! My AS/400 Web Server is so messed up, I can't even get the Hello World Servlet to run properly. It looks like something isn't getting translated properly, but I've tried changing every CCSID I could except the SYSVAL. The SYSVAL is 65535 for CCSID I won't even try to explain why that's set the way it is, but I've got a Spainish friend living in Italy who would be happy to bend your ear for a few hours.... Anyway. Here is what I get back when I try to call up the HelloWorld: I'm sure that it will look at least a little different by the time the various mail servers get through with it.. but basically, it isn't a web page. It looks like the messages coming directly from the Servlet are OK (there is some HTML buried in there), and it looks like some of the messages come through OK, but the returns and line feeds don't look like they made it. I did a hex edit on it, and it doesn't look like old, untranslated EBCDIC. Nothing shows up in the error log or the event log. I tried turning the global trace on, but it keeps turning it off. I've looked in every other "log" I could find, and there wasn't anything in any of those. Nor is there anything in the job log for the server job. I have not recompiled the servlet. Êþº¾ - 1 0 ) + - ( . / ()L java/io/PrintWriter; ()V (L java/lang/String;)V R(L javax/servlet/http/HttpServletRequest;L javax/servlet/http/HttpServletResponse;)V </body></html> <body> <h1>Hello World</h1> '<head><title>Hello World</title></head> <html> <init> Code ConstantValue Exceptions HelloWorldServlet HelloWorldServlet.java LineNumberTable LocalVariables SourceFile doGet getWriter java/io/IOException java/io/PrintWriter javax/servlet/ServletException javax/servlet/ServletResponse javax/servlet/http/HttpServlet ' b .,¹ ,¹ N-¶ -¶ -¶ -¶ -¶ ± $ " ) * , - . ! / ' 0 - $ ! *· ± $ " & # anybody got any suggestions? Thanks. Nick +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.