Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Reti di calcolatori > [comdig-prini]WebSever
Pages (10): « First ... « 3 4 5 6 [7] 8 9 10 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Mattex185
.grande:maestro.

User info:
Registered: Sep 2004
Posts: 520 (0.07 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: Laureato
Time Online: 11 Days, 3:18:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [>>>>VK<<<<]
spero che tu sia conneso anche oggi pomeriggio perche è una questione di vita o di morte...

mi sent il protagonista di fuori in 60 secondi.... :help:

putroppo nn posso assicurarti nulla, di certo nn ci sarò dalle 16.00 alle BHO sorry

12-12-2005 11:41
Click Here to See the Profile for Mattex185 Click here to Send Mattex185 a Private Message Find more posts by Mattex185 Add Mattex185 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
EmoGuy
.simpatizzante.

User info:
Registered: Oct 2005
Posts: 11 (0.00 al dì)
Location: Garbagnate Milanese
Corso: Comunicazione digitale
Anno: Terzo
Time Online: 5:47:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Innanzi tutto grazie per la risposta ... ne approfitto ancora un po' allora ...
Io uso netbeans, e sulla classe final class HttpRequest mi dà errore dicendo che dovrebbe essere dichiarata abstract, è normale ?
Altra domanda: ma alla fine si fa un unico .java con dentro main, httpRequest e parte B ?
Mi scuso ancora per l' ignoranza e vi ringrazio per le risposte

12-12-2005 11:49
Click Here to See the Profile for EmoGuy Click here to Send EmoGuy a Private Message Find more posts by EmoGuy Add EmoGuy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Mattex185
.grande:maestro.

User info:
Registered: Sep 2004
Posts: 520 (0.07 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: Laureato
Time Online: 11 Days, 3:18:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by EmoGuy
Io uso netbeans, e sulla classe final class HttpRequest mi dà errore dicendo che dovrebbe essere dichiarata abstract, è normale ?

io uso JCreator e nn mi da quell'errore..ma avevo sentito parlare qualcuno del fatto che dicesse che andava astratta ma nn so come avessero risolto......
agli altri come viene?? astratta?
Originally posted by EmoGuy
Altra domanda: ma alla fine si fa un unico .java con dentro main, httpRequest e parte B ?
[/B]

tutto il file è in WebServer.java parte A e parte B sono insieme...la B fa parte di final class final class HttpRequest pure lei



se sto dicendo castronerie qualcuno mi fermi x favore :)

12-12-2005 11:54
Click Here to See the Profile for Mattex185 Click here to Send Mattex185 a Private Message Find more posts by Mattex185 Add Mattex185 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
EmoGuy
.simpatizzante.

User info:
Registered: Oct 2005
Posts: 11 (0.00 al dì)
Location: Garbagnate Milanese
Corso: Comunicazione digitale
Anno: Terzo
Time Online: 5:47:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Wow, allora sono proprio ignorante io ... forse inizio a capire qualcosa ora, anche se è ben poco

12-12-2005 12:08
Click Here to See the Profile for EmoGuy Click here to Send EmoGuy a Private Message Find more posts by EmoGuy Add EmoGuy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pinauz
.grande:maestro.

User info:
Registered: Nov 2004
Posts: 734 (0.09 al dì)
Location: a casa mai
Corso: NO: la nostra risposta al vostro calcio
Anno: !!!!!!!
Time Online: 3 Days, 17:43:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora per quanto iguarda la classe abstract mi sembra che basti implementare il metodo run per poterla dichiarare public o privat...(mi sembra)...non ho capito la storia del browser...il messaggio deve venire fuori del browser che sarebbe il client che c'entra il dos? quello funziona da server

12-12-2005 12:16
Click Here to See the Profile for pinauz Click here to Send pinauz a Private Message Find more posts by pinauz Add pinauz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
vigamagik
Gentleman

User info:
Registered: Oct 2004
Posts: 130 (0.02 al dì)
Location: Bareggio (Mi)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 0:33:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Mattex, grazie stai facendo un ottimo lavoro

__________________
Memento audere semper
[Gabriele D'Annunzio]

12-12-2005 12:18
Click Here to See the Profile for vigamagik Click here to Send vigamagik a Private Message Find more posts by vigamagik Add vigamagik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Mattex185
.grande:maestro.

User info:
Registered: Sep 2004
Posts: 520 (0.07 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: Laureato
Time Online: 11 Days, 3:18:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by pinauz
non ho capito la storia del browser...il messaggio deve venire fuori del browser che sarebbe il client che c'entra il dos? quello funziona da server


tu avvii il tuo file java,questo farà aprire un promptDOS sul quale leggerai delle risposte a seconda di ciò che fai aprire nella pagine di explorer....[hmm nn sono stato chiaro ma nn saprei fare di meglio :oops:]

cmq tu avvia il java
apri un explorer e scrivi http://localhost:YYYY/XXX.** e se il programma è giusto ti si dovrebbe aprire l'oggetto XXX.** che deve trovarsi nella stessa cartella del tuo WebServer.java e nel frattempo sul prompt vengono fuori delle scritte :D

12-12-2005 12:26
Click Here to See the Profile for Mattex185 Click here to Send Mattex185 a Private Message Find more posts by Mattex185 Add Mattex185 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pinauz
.grande:maestro.

User info:
Registered: Nov 2004
Posts: 734 (0.09 al dì)
Location: a casa mai
Corso: NO: la nostra risposta al vostro calcio
Anno: !!!!!!!
Time Online: 3 Days, 17:43:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok fin qui ci sono ma con la parte a ti restituisce soltanto la stringa di richiesta mentre con la parte b il file vero e proprio...quindi per chi ha completatoi slo la parte a la stringa di richiesta deve comparire sul browser non sul dos...

12-12-2005 12:30
Click Here to See the Profile for pinauz Click here to Send pinauz a Private Message Find more posts by pinauz Add pinauz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
vigamagik
Gentleman

User info:
Registered: Oct 2004
Posts: 130 (0.02 al dì)
Location: Bareggio (Mi)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 0:33:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il prof ha detto che invece di fare:

code:
public class httpRequest implements runnable


e poi per farlo partire con
code:
HttpRequest request = new HttpRequest(?); Thread thread = new Thread(request); thread.start();


è meglio fare come abbiamo sempre fatto a lezione
code:
public class httpRequest extends Thread


e poi farlo partire con
code:
HttpRequest request = new HttpRequest(?); request.start()

__________________
Memento audere semper
[Gabriele D'Annunzio]

12-12-2005 12:30
Click Here to See the Profile for vigamagik Click here to Send vigamagik a Private Message Find more posts by vigamagik Add vigamagik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pinauz
.grande:maestro.

User info:
Registered: Nov 2004
Posts: 734 (0.09 al dì)
Location: a casa mai
Corso: NO: la nostra risposta al vostro calcio
Anno: !!!!!!!
Time Online: 3 Days, 17:43:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

è uguale cambia solo lassegnazione delle variabili

12-12-2005 12:32
Click Here to See the Profile for pinauz Click here to Send pinauz a Private Message Find more posts by pinauz Add pinauz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
vigamagik
Gentleman

User info:
Registered: Oct 2004
Posts: 130 (0.02 al dì)
Location: Bareggio (Mi)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 0:33:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by pinauz
è uguale


secondo me è più semplice

__________________
Memento audere semper
[Gabriele D'Annunzio]

12-12-2005 12:33
Click Here to See the Profile for vigamagik Click here to Send vigamagik a Private Message Find more posts by vigamagik Add vigamagik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Mattex185
.grande:maestro.

User info:
Registered: Sep 2004
Posts: 520 (0.07 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: Laureato
Time Online: 11 Days, 3:18:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io lo ho lasciato come da pdf
dite che x lui cambia qualcosa?io nn ho sentito quando ha detto che si poteva fare nell'altro modo quindi nn so se considera sbagliato chi gli da una soluzione seguendo il testo dell'esercizio

12-12-2005 12:36
Click Here to See the Profile for Mattex185 Click here to Send Mattex185 a Private Message Find more posts by Mattex185 Add Mattex185 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pinauz
.grande:maestro.

User info:
Registered: Nov 2004
Posts: 734 (0.09 al dì)
Location: a casa mai
Corso: NO: la nostra risposta al vostro calcio
Anno: !!!!!!!
Time Online: 3 Days, 17:43:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no avete ragione voi a fondo pagina della parte a il testo dice "the server should display the contents of the http request"

__________________
movimento ultras contro diffide e repressione

12-12-2005 12:39
Click Here to See the Profile for pinauz Click here to Send pinauz a Private Message Find more posts by pinauz Add pinauz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
EmoGuy
.simpatizzante.

User info:
Registered: Oct 2005
Posts: 11 (0.00 al dì)
Location: Garbagnate Milanese
Corso: Comunicazione digitale
Anno: Terzo
Time Online: 5:47:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Errori in comprensibili ....
Parte B dove dice //Construct the response message :
String statusLine = null; dice " identifier expected "
L' if subito sotto :
if ( fileExists) " illegal start of type "

os.writeBytes(statusLine); "identifier expected "

Inizio a dare segni di squilibrio ....

12-12-2005 12:59
Click Here to See the Profile for EmoGuy Click here to Send EmoGuy a Private Message Find more posts by EmoGuy Add EmoGuy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pinauz
.grande:maestro.

User info:
Registered: Nov 2004
Posts: 734 (0.09 al dì)
Location: a casa mai
Corso: NO: la nostra risposta al vostro calcio
Anno: !!!!!!!
Time Online: 3 Days, 17:43:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

penso gli manhi qualche ; o qualche }....nessuno ha avuto problemi con inputstream? a me dice che è una classe astratta e non può essere inizializzata

12-12-2005 13:10
Click Here to See the Profile for pinauz Click here to Send pinauz a Private Message Find more posts by pinauz Add pinauz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 14:16.    Post New Thread    Post A Reply
Pages (10): « First ... « 3 4 5 6 [7] 8 9 10 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.098 seconds (72.26% PHP - 27.74% MySQL) con 24 query.