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

src.samples.java.ex.IKNC_Sample Maven / Gradle / Ivy

Go to download

An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.

There is a newer version: 7.6.8
Show newest version
package ex;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

@SuppressWarnings("all")
public class IKNC_Sample {
    public void doGet(HttpServletRequest req, HttpServletResponse resp) {
        String id = req.getParameter("id");
    }

    public void doPost(HttpServletRequest req, HttpServletResponse resp) {
        String id = req.getParameter("ID");
    }

    public Object getScore1(HttpSession session) {
        return session.getAttribute("score");
    }

    public void putScore(HttpSession session) {
        session.setAttribute("Score", null);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy