[plt-scheme] plt web server question

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Tue Jun 10 00:21:40 EDT 2008

Hi,

I have this servlet program that is nearly finished (attached). But as I 
run it in v372, v399.0.24, or v399.0.26(latest), I always get error 
message from webserver. This is the error message from v399.0.26:

No valid path

 === context ===
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
url-path?
url-path?
C:\Program 
Files\PLT-3.99.0.26\collects\web-server\dispatchers\dispatch-servlets
.ss:100:2: invoke-servlet-continuation
dispatcher?
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
dispatcher?
dispatcher?
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
C:\Program 
Files\PLT-3.99.0.26\collects\scheme\private\more-scheme.ss:170:2: sel
ect-handler/no-breaks
dispatcher?
dispatcher?
...


Besides. the final response as the code does is

 (make-response/full 200
                                     "Okay"
                                     (current-seconds)
                                     "text/plain"
                                     (list)
                                     (list "Chongkai"))

But the client will always see empty string.

Could anyone (Jay McCarthy?) please help? Many thanks.

Chongkai



Posted on the users mailing list.