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

com.twelvemonkeys.servlet.jsp.droplet.Oparam Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version

package com.twelvemonkeys.servlet.jsp.droplet;

import java.io.*;

import javax.servlet.*;
import javax.servlet.jsp.*;

/**
 * Oparam (Open parameter)
 */
public class Oparam extends Param implements JspFragment {
    /**
     * Creates an Oparam.
     *
     * @param pValue the value of the parameter
     */
    public Oparam(String pValue) {
        super(pValue);
    }

    public void service(PageContext pContext)
            throws ServletException, IOException {
        pContext.getServletContext().log("Service subpage " + pContext.getServletContext().getRealPath(mValue));

        pContext.include(mValue);
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy