Servlets Section Index | Page 3
According to the Servlet 2.2 specifications: 9.4: Directory Structure A web application exists as a structured hierarchy of directories. The root of this hierarchy serves as a document root for s...more
[I know that for Netscape, the user agent in the request header has a "U;" that indicate that the browser is using 128 bit encryption. What about IE?] Unfortunately there is no standar...more
As I wrote in my first message the apache web server does not perform the authentication in this case but the servlet does. So the web-server could not send his error- page because the browser d...more
[I use setAttributes() in the HttpServletRequest object to pass UTF-8 strings to a servlet. On the receiving servlet, I receive only '?' for each unicode character. What should I do?] There is no...more
How can I create a protected, "restricted" website? I.e., where someone can only access the site by e.g., entering a password.
Normally web servers have their own protection system already in place. If you are running Apache, for example, or anothe NCSA compliant web server, you can rely on the standard basic authenticati...more
When using com.oreilly.servlet.MultipartRequest to upload files, I get a java.io.UnsupportedEncodingException: ISO-8859-1 -- What's up?
The problem is not come out as improper META tag of html. becasuse java is providing the ISO-8859-1 encoding standard. the problem source is com.oreilly package. i look inside the source and i rea...more
As many other guru have already told you, there is no way to do that with Servlets 2.2. Previously there were two methods, but they both have been deprecated and they return null. The new Servlet...more
I don't know anything about JRun, but I think that you can use any external profiler tools like the one mentioned in this answer: http://www.jguru.com/faq/viewquestion.jsp?EID=407939. I personally...more
There is no need for any special configuration for JAAS to be used with the Tomcat server. Make the settings as we do to execute an application program, i.e., changing the java.security,java.pol...more
Check out the Project JXTA site.
Where can I learn (more) about using various XML (eXtensible Markup Language) technologies (such as DTDs, Schemas, SOAP, DOMs, etc.) with Java?
Check out the jGuru XML FAQ.
Check out the jGuru JSP FAQ.
Check out the jGuru JDBC FAQ.
Check out the jGuru JavaBeans FAQ.