.dsy:it. Pages (10): « 1 2 [3] 4 5 6 7 » ... Last »
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Reti di calcolatori (http://www.dsy.it/forum/forumdisplay.php?forumid=68)
-- [comdig-prini]WebSever (http://www.dsy.it/forum/showthread.php?threadid=23043)


Posted by supernova on 10-12-2005 17:36:

Ma la requestline del http sarebbe il messaggio del client? Spiegatemi un po' meglio sono fermo li.

__________________
" So I Start The Revolution From My Bed ". Noel Gallagher


Posted by vigamagik on 10-12-2005 19:32:

il messaggio che il browser manda al programma WebServer, per quanto riguarda l'errore di compilazione non posso aiutarti

__________________
Memento audere semper
[Gabriele D'Annunzio]


Posted by pinauz on 10-12-2005 20:03:

ciao a tutti devo reinstallare java qualcuno può mettere da qualche parte i package tipo prog.io e cose varie? non le trovo più
grazie!


Posted by karplus on 10-12-2005 20:07:

Il prog.io non serve x questo webserver, e se lo usi all'esame oltre a rischiare di avere problemi secondo me il prof ti guarda male :D


Posted by pinauz on 10-12-2005 20:10:

no avevo bisogno di java.lang .net e cose vare ma mi sono accorto che sono nella cartella di installazione credevo bisognava trovarli a parte è da 1 nno che nn mastico java!


Posted by karplus on 10-12-2005 20:11:

java.lang.net va semplicemente importato all'inizio della classe, e fa parte del package standard di java, mica devi installarlo te a parte


Posted by pinauz on 10-12-2005 20:12:

eh! a saperlo prima!!


Posted by supernova on 10-12-2005 22:30:

Originally posted by vigamagik
il messaggio che il browser manda al programma WebServer, per quanto riguarda l'errore di compilazione non posso aiutarti


Potresti essere un po' più chiaro? Che messaggio manda il browser al WebServer? Di che tipo? Datemi una mano per piacere. Grazie.

__________________
" So I Start The Revolution From My Bed ". Noel Gallagher


Posted by karplus on 10-12-2005 23:56:

Quando accedo via browser al webserver, il webserver mi restituisce questo:


GET /index.html HTTP/1.1
Host: localhost:6789
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8) Gecko/20051111
Firefox/1.5
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


Posted by supernova on 11-12-2005 02:03:

Non capisco che stringa gli devo passare. Fatemi un'esempio concreto di codice. Grazie

__________________
" So I Start The Revolution From My Bed ". Noel Gallagher


Posted by karplus on 11-12-2005 11:02:

non devi passare nessuna stringa, ste menate te le restituisce il browser e tu le stampi tramite uno stream di output


Posted by pinauz on 11-12-2005 13:37:

karplus scusa tu che sai tutto mi dici che cambia da String args[] a string argv []???


Posted by karplus on 11-12-2005 13:39:

non saprei, posso azzardare che anzichè creare un array di stringhe viene creato un array di vettori, lo scopo x me é ignoto :D


Posted by pinauz on 11-12-2005 13:40:

intendevo nell'intestazione del metodo main


Posted by karplus on 11-12-2005 13:56:

si lo so che sta lì, e ribadisco quanto detto, di più non so; non dimenticare che il main non é nient'altro che un metodo void di tipo statico che ha come argomento un array di stringhe, qui sembra siano vettori :?


All times are GMT. The time now is 15:02. Pages (10): « 1 2 [3] 4 5 6 7 » ... Last »
Show all 148 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.