It really depends on what you want to do.
Most times you write some web form and pass that information to the
servlet. When the parameters are configuration or installation-specific
then .properties file are used.
What do you want to do? Please send a full list of the features you need
to implement and one or two replies will be enough.
fribeiro
Eric Dunstan wrote:
>
> How do I send parameters to a servlet.
> I have considered reading files inside the method
> public void init(ServletConfig config) throws ServletException{
> super(config);
> //read file...
> }
> but I wonder if there is a better solution.
> Thanks a lot, Eric
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html