Re: lug-bg: offtopic: Java servlet
- Subject: Re: lug-bg: offtopic: Java servlet
- From: lucho@xxxxxxx (Latchesar Ionkov)
- Date: Tue, 2 Oct 2001 13:55:24 -0400
Hi,
Niama direkten nachin da wikash otdelni metodi. Procheti Java Servlet
Specification. Struva mi se che ne si razbral shto e servlet.
Pri izwikvane na servlet, _winagi_ se izwikwa method-a service. Ako servlet-a
e HTTP, method-a service po default wika doGet, doPost i taka natatyk, w
zavisimost ot HTTP request-a.
Mojesh da si napishesh servlet, koito pravi kakwoto iskash, no niama da e
avtomatichno.
Lucho
On Wed, Oct 03, 2001 at 08:29:41PM +0300, Alexander Shopov said:
> Sazhaliavm che dosazhdam s takiva vaprosi, no eto kakav e problema:
> Ima li nachin da se izpolzvat otdelnite publichni metodi i publichni
> promenlivi definirani v edin java servlet prez http request?
> T.e. ako imam niakakv servlet belia koito e belia.class
> v root direktoriata na serveletite
> i napriate request http://mashina.com/servlet/belia(I TUKA TRIAVBVA DA
> IMA NESHTO)
> vaprosa e kavo da e, za da dostapia po tozi nachin publichni metodi (i
> kak im se zadavat parametrite) i publichni promenlivi?
> Izglezhda da e logichno da e taka:
> http://mashina.com/servlet/belia.doGet, koeto triabva da e analogichno
> na tova da izvikam samo belia.
> al_shopov
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|