× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: HelloWorldServlet Help?
  • From: smet@xxxxxxxxxx
  • Date: Tue, 17 Oct 2000 17:50:17 -0500
  • Importance: Normal


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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.