All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lab.controller.BController Maven / Gradle / Ivy

There is a newer version: 2.2.3
Show newest version
package com.lab.controller;

import com.lab.service.BService;
import com.github.youyinnn.youdbutils.ioc.annotations.Autowired;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author youyinnn
 */
@WebServlet("/b")
public class BController extends HttpServlet {

    @Autowired
    private BService bService;

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

        System.out.println(bService);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy