Re: Type of web server from socket ??
> -Original Message- > From: Patrick Bowe [mailto:[EMAIL PROTECTED]] > Sent: 05 February 2002 13:28 > To: [EMAIL PROTECTED] > Subject: Re: Type of web server from socket ?? > > If you want to use a system call, you can telnet to port 80, > and issue the command "GET / HTTP/1.0" followed by two returns. > You'd have to filter the output for the line that starts with "Server:" > > ex: > > $ telnet 80 > Trying... > Connected to .lmig.com. > Escape character is '^]'. > GET / HTTP/1.0 You certainly could but I want to know why anyone would want to do this. Combined with the other recent threads about incrementing IP addresses and a mention of "port scanning" I'm just a little worried that there seems to be some sort of "DOS attack" or virus tutorial running on this list ! Andy c === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Type of web server from socket ?? you want to know why ?
> -Original Message- > From: sufi malak [mailto:[EMAIL PROTECTED]] > Sent: 05 February 2002 16:30 > To: [EMAIL PROTECTED] > Subject: Re: Type of web server from socket ?? you want to know why ? > > asked you, please before judging someone of hacking or creating virus you > have to ask. > I will appreciate if someone can helps me on how to do it ?? > Thanks Sorry Sufi, I wasn't explicitly meaning you, it's just that port scanning is the basis of writing an Internet worm. I perfectly understand why you want t do it now. So I apologize ! Andy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: How to draw graphs in JSP
You need to use a graphics package such as the one form Acme. www.acme.com Once you've imported the package into your code then the jsp code (in a bean or whatever) is simply: Frame frame = null; Graphics g = null; try{ frame = new Frame(); frame.addNotify(); Image image = frame.createImage(400, 60); g = image.getGraphics(); } g.setColor(Color.red); drawLines(g,40,100); Filestream= new FileOutputStream("c:\\wwwroot\myPicture.gif"); Outputstream= new DataOutputStream(Filestream); GifEncoder encoder =null; try { encoder = new GifEncoder(image, Outputstream); }catch(Exception iox){ return;} try{ encoder.encode(); }catch(Exception iox){return} // Clean up here, close stream and dispose of frame etc finally { // Clean up resources if (g != null) g.dispose(); if (frame != null) frame.removeNotify(); System.out.println("Finished all drawing"); } Andy > -Original Message- > From: Murali Mohan [mailto:[EMAIL PROTECTED]] > Sent: 02 April 2002 09:43 > To: [EMAIL PROTECTED] > Subject: How to draw graphs in JSP > > Hi, > > Any one have idea. > How to draw graphs in JSP? > > thanks > Murali > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP- > INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Briish summer Time formating.
I do apologise to everyone for this question, but exactly how do I format a time for "British Summer Time" ? Currently I use: SimpleDateFormat formatter= new SimpleDateFormat ("E hh:mm a (dd/MM)"); formatter.setTimeZone(TimeZone.getTimeZone("GMT")); String OutString = formatter.format(DatePosted); I know I'm missing something but can't quite put my finger on it. Suggestions please ? Andy C === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
AW: Briish summer Time formating.
To Answer my own question it seems BST can be set as follows: SimpleDateFormat formatter= new SimpleDateFormat ("E hh:mm a (dd/MM)"); formatter.setTimeZone(TimeZone.getTimeZone("Europe/London")); String OutString = formatter.format(DatePosted); Andy C === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Server Hosting: Digital Space
Has anyone tried these guys for jsp/servlet/mysql hosting ? http://www.digitalspace.net/webhosting/index.html Ta Andy C === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com