Hi,

Wire the servlet to "/_wave/robot/profile" in the web.xml e.g.:

        <servlet-name>SimlerbotProfile</servlet-name>
                <servlet-class>simlerbot.SimlerbotProfileServlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>SimlerbotProfile</servlet-name>
                <url-pattern>/_wave/robot/profile</url-pattern>
        </servlet-mapping>

On Nov 7, 5:01 pm, Austin McGowan <[email protected]> wrote:
> Thanks a lot for the prompt reply. I looked at that I copied it pretty
> much, what am I doing wrong?
>
> package simlerbot;
>
> import com.google.wave.api.ProfileServlet;
>
> public class SimlerbotProfileServlet extends ProfileServlet {
>
>   @Override
>   public String getRobotAvatarUrl() {
>     return "http://www.yqmonline.com/sb/simlerbot.png";;
>   }
>
>   @Override
>   public String getRobotName() {
>     return "Simlerbot";
>   }
>
>   @Override
>   public String getRobotProfilePageUrl() {
>     return "http://simlerbot.appspot.com";;
>   }
>
> }
>
> that is in a file called SimlerbotProfileServlet.java.
>
> On Nov 7, 1:15 am, "pamela (Google Employee)" <[email protected]>
> wrote:
>
> > Cartoony implements a profile servlet in 
> > Java:http://google-wave-resources.googlecode.com/svn/trunk/samples/extensi...
>
> > <http://google-wave-resources.googlecode.com/svn/trunk/samples/extensi...>-
> > pamela
>
> > On Sat, Nov 7, 2009 at 4:54 PM, Austin McGowan <[email protected]>wrote:
>
> > > Sorry to interject but I have been using compatibility.xml for the
> > > profile all the time unaware that it wasn't working. Could anyone post
> > > a same profileserverlet file (java) or link me to any nonSandbox
> > > references to it (I dont have sandbox access)?
>
> > > Thanks in Advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to