shared
Class ViewHelper

java.lang.Object
  extended by shared.ViewHelper

public class ViewHelper
extends java.lang.Object


Constructor Summary
ViewHelper()
          Creates a new instance of ViewHelper
 
Method Summary
static boolean searchSource(java.lang.String info, javax.servlet.ServletContext ctx)
           
static void showError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String infoRel, java.lang.String msg)
           
static void showFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String info, java.lang.String infoRel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewHelper

public ViewHelper()
Creates a new instance of ViewHelper

Method Detail

searchSource

public static boolean searchSource(java.lang.String info,
                                   javax.servlet.ServletContext ctx)

showError

public static void showError(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             java.lang.String infoRel,
                             java.lang.String msg)
                      throws java.io.IOException
Throws:
java.io.IOException

showFile

public static void showFile(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            java.lang.String info,
                            java.lang.String infoRel)
                     throws java.io.IOException
Throws:
java.io.IOException