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

com.genexus.webpanels.gxver Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.3
Show newest version
package com.genexus.webpanels;

import org.apache.logging.log4j.Logger;

import java.io.IOException;
import java.io.PrintWriter;

import com.genexus.servlet.ServletException;
import com.genexus.servlet.http.HttpServlet;
import com.genexus.servlet.http.IHttpServletRequest;
import com.genexus.servlet.http.IHttpServletResponse;

public final class gxver extends HttpServlet 
{
	private static Logger log = org.apache.logging.log4j.LogManager.getLogger(gxver.class);

    public void doGet(IHttpServletRequest request, IHttpServletResponse response) throws IOException
    {
    	if (log.isInfoEnabled()) {
			response.setContentType("text/html");
			PrintWriter writer = response.getWriter();
			writer.println("");
			writer.println("");
			writer.println("Running GeneXus Runtime Classes Version " + com.genexus.Version.getFullVersion() + "");
			writer.println("");
			writer.println("");
		}
    	else
		{
			response.setStatus(404);
		}
    }

	protected void callExecute(String method, IHttpServletRequest req, IHttpServletResponse res) throws ServletException{
    	try {
			doGet(req, res);
		}catch (IOException e) {
    		throw new ServletException(e.getMessage());
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy