[Mono-bugs] [Bug 448522] AJAX need the support of HttpHandlers
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 26 10:58:02 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=448522
User qdyoung at 163.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=448522#c4
千栋 杨 <qdyoung at 163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|qdyoung at 163.com |
--- Comment #4 from 千栋 杨 <qdyoung at 163.com> 2008-11-26 08:58:01 MST ---
Created an attachment (id=255851)
--> (https://bugzilla.novell.com/attachment.cgi?id=255851)
Test case for this bug
1. In VS2005, open TestHandler.sln then run, it open
"http://localhost:2032/Test.ashx/js" in browser, and display "PathInfo=/js", it
is correct.
2. Run xsp2.bat in same dir as Web.config, then open
"http://localhost:8080/Test.ashx/js" in browser, result is 404, "The resource
cannot be found.", it is not correct.
Content in Web.config:
<httpHandlers>
<add verb="*" path="*.ashx" validate="false"
type="TestHandler.AjaxHandler, TestHandler" />
</httpHandlers>
AjaxHandler.cs:
public class AjaxHandler : IHttpHandler
{
void IHttpHandler.ProcessRequest(HttpContext context)
{
context.Response.Write("PathInfo=" + context.Request.PathInfo);
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list