com.bea.p13n.ad.servlets
Class AdClickThruServlet
java.lang.Object
HttpServlet
com.bea.p13n.ad.servlets.AdClickThruServlet
- All Implemented Interfaces
- AdConstants
public class AdClickThruServlet
- extends HttpServlet
- implements AdConstants
This servlet tracks ad click thru events. It will
create an AdClickThruEvent and then redirect to the
target URL for the ad.
The URL for the click thru must contain two parameters:
- name -- the URL that will be redirected to.
- contPath -- the content manager path for the ad being displayed.
This servlet expects the AdService to be at java:comp/env/ejb/AdService
and the AdBucketService to be at java:comp/env/ejb/AdBucketService.
Method Summary |
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
The doGet handles two types of content depending upon the
'type' parameter to the URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdClickThruServlet
public AdClickThruServlet()
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- The doGet handles two types of content depending upon the
'type' parameter to the URL. If type='newwindow' then we
create a new window and display the ad content there. Otherwise
we do the ad click thru functionality.
- Parameters
request
- The HTTP request objectresponse
- the HTTP response object
- Throws
ServletException
IOException
Copyright © 2006 BEA Systems, Inc. All Rights Reserved