Servlets & Servers
  
DG
Jigsaw is also good but doesn t support the Servlet 2.2 spec
Both of these are open source with BSD like license. 
There s also Jetty 
http://jetty.mortbay.com/
 Artistic license, Servlet 2.2 spec
compliant), GNU Paperclips 
http://www.tapsellferrier.co.uk/gnupaperclips/
 GPL, claims to be moving towards
Servlet 2.3 spec compliance) and also
vqServer  
http://www.vqsoft.com/vq/server/
  which is free but not open source.
Finally many of the commercial servers can be downloaded free for trial periods.
  
Simon Brooke http://www.jasmine.org.uk/~simon
  
How can I get access to Cookie set at the Client?
Answer: The following code should access a cookie on a client. It reads in all the
cookies on the machine. And checks there name for whichever one you are looking
for.
Cookie[] cookies = request.getCookies();
for(int i=0; i < cookies.length; i++) {
    Cookie thisCookie = cookies[i];
    if (thisCookie.getName().equals("Cookiename")) {
           // Do whatever you want with the cookie....
    } else {
         // cookie doesn t exist...
    }
}
The Cookie class is in package javax.servlet.http.Cookie
I d like to provide to the showDocument() method of an applet the URL of a CGI
program...
I d like to provide to the showDocument() method of an applet the URL of a CGI
program with including a certain number of (URL encoded) parameters to this URL
(which is the same as doing a GET HTTP request).
What is the maximum size I can give to this URL ?
Answer:  If I remember exactly it something around 240 for many servers. Maybe
less, but not more!!!
1000000%
I read it  last year in "Java Servlet Programming" from O Reily.
I am experimenting a Java server application. This program has worked well
It did start on the Red Hat Linux 6.0 server, but it does not open the socket, in other
words, it cannot communicate with the client applet on the Linux.  On this Linux
server I have installed every components and all of them were running at the
experiment time.  Why does this server application communicate with the client
file:///F|/a_jsite/350_tips/servlets_servers.htm (2 of 7) [2001 07 08 11:24:58]






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java web hosting

 

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved