|
Good suggestion. Here is the URL: http://amwusacs.amwaynet/servlet/HelloWorldServlet I checked the config, and I had a PASS statement for /servlet/*. It's sort of strange that the server returned the .class file as if it was a .html (or at least tried to)? I removed the PASS statement, and here is what gets returned now: <HTML><HEAD><TITLE>Error</TITLE></HEAD> <BODY><H1>Error 500</H1>Service handler performed no action; contact the server administrator.<P><HR><ADDRESS>IBM HTTP Server for AS/400 1.0 </ADDRESS></BODY></HTML> I'm not sure what this is trying to tell me? Thanks for the suggestion though. Maybe this is progress? Nick smet@us.ibm.com@midrange.com on 10/17/2000 06:50:17 PM Please respond to JAVA400-L@midrange.com Sent by: owner-java400-l@midrange.com To: JAVA400-L@midrange.com cc: Subject: Re: HelloWorldServlet Help? Nick , what you are looking at is HelloWorldServlet's java class file (!) - HelloWorldServlet.class. I suspect you may somehow be calling the File Serving Servlet to view the class file. This can happen if you are specifying HelloWorldServlet.class as part of your browser URL. I guess the first question is, what URL are you specifying at your browser? Nick_Vrtis@amway.com on 10/17/2000 12:50:54 PM Please respond to JAVA400-L@midrange.com To: JAVA400-L@midrange.com cc: Subject: HelloWorldServlet Help? 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@zapp +--- | 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 +--- +--- | 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.