Limitations of TiniHttpServer 1.0

Return to Index


  1. TiniHttpServer does not support Java Server Pages (JSP).

  2. TiniHttpServer does not use XML configuration files or deployment descriptors.

  3. TiniHttpServer does not fully support the following methods...

    Interface/Class

    Method

    Limitation

    javax.servlet.ServletContext

    getResource(String)

    Always returns null.

    getResourceAsStream(String)

    Only works for files

    javax.servlet.ServletRequest

    getCharacterEncoding()

    Always returns an empty String.

    getLocale()

    Always returns Locale.getDefault()

    getLocales()

    Always returns an Enumeration containing only one element: Locale.getDefault().

    isSecure()

    Always returns false.

    javax.servlet.ServletResponse

    flushBuffer()

    Sends HTTP header if it hasn't been sent yet.

    getBufferSize()

    Always returns 0.

    getCharacterEncoding()

    Always returns System.getProperty( "file.encoding").

    getLocale()

    Always returns Locale.getDefault().

    setBufferSize(int)

    Airball.

    setLocale(Locale)

    Airball.

    javax.servlet.http.HttpServletRequest

    getUserPrincipal()

    Always returns null.

    isUserInRole(String)

    Always returns false.

There are probably other limitations and restrictions that will cause problems, if you come across any that are not mentioned here, please send e-mail to TiniHttpServerBugs@smartsc.com.


Copyright © 1999-2002 Smart Software Consulting