1 40 package org.dspace.app.webui.servlet; 41 42 import java.io.IOException ; 43 import java.sql.SQLException ; 44 45 import javax.servlet.ServletException ; 46 import javax.servlet.http.HttpServletRequest ; 47 import javax.servlet.http.HttpServletResponse ; 48 49 import org.apache.log4j.Logger; 50 import org.dspace.app.webui.util.JSPManager; 51 import org.dspace.authorize.AuthorizeException; 52 import org.dspace.content.Community; 53 import org.dspace.core.Context; 54 55 61 public class AdvancedSearchServlet extends DSpaceServlet 62 { 63 64 private static Logger log = Logger.getLogger(SubscribeServlet.class); 65 66 protected void doDSGet(Context context, HttpServletRequest request, 67 HttpServletResponse response) throws ServletException , IOException , 68 SQLException , AuthorizeException 69 { 70 Community[] communities = Community.findAllTop(context); 72 73 request.setAttribute("communities", communities); 74 75 JSPManager.showJSP(request, response, "/search/advanced.jsp"); 76 } 77 } 78 | Popular Tags |