This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141087

Summary: [saas][facebook][flickr] ide does not add servlet entry into web.xml
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: ManagerAssignee: Ayub Khan <ayubskhan>
Status: VERIFIED FIXED    
Severity: blocker CC: jeff_rubinoff, petertliu
Priority: P1 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
URL: http://www.netbeans.org/kb/docs/websvc/facebook.html
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2008-07-21 23:55:56 UTC
-d'n'd something from facebook to servlet/jsp
-open web.xml

=> there's nothing added but following code should be there:

    <servlet>
        <servlet-name>FacebookSocialNetworkingServiceLogin</servlet-name>
        <servlet-class>org.netbeans.saas.facebook.FacebookSocialNetworkingServiceLogin</servlet-class>
        <load-on-startup>1</load-on-startup>
        </servlet>
    <servlet>
        <servlet-name>FacebookSocialNetworkingServiceCallback</servlet-name>
        <servlet-class>org.netbeans.saas.facebook.FacebookSocialNetworkingServiceCallback</servlet-class>
        <load-on-startup>1</load-on-startup>
        </servlet>
    <servlet-mapping>
        <servlet-name>FacebookSocialNetworkingServiceLogin</servlet-name>
        <url-pattern>/FacebookSocialNetworkingServiceLogin</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>FacebookSocialNetworkingServiceCallback</servlet-name>
        <url-pattern>/FacebookSocialNetworkingServiceCallback</url-pattern>
    </servlet-mapping>

same issue is there for anything from flickr

btw: Jeff, would it be possible to add a listing or screenshot of web.xml to the tutorial?
Comment 1 Ayub Khan 2008-07-22 04:01:09 UTC
Fixed, see http://hg.netbeans.org/main/rev/0167106aa832
Comment 2 Jeffrey Rubinoff 2008-07-22 16:47:43 UTC
Just saw your comment about adding web.xml to tutorial. No problem. For 6.5 only, or should I add it for the 6.1 version?
Comment 3 Lukas Jungmann 2008-07-22 17:03:57 UTC
v.

re my note: for both - the turorial should work the same way in 6.1 as well as in 6.5