VRD Introduction using NetBeans IDE 6.5 - Part 2
In this video I've demonstrated the request mapping to invoke java methods. You can invoke all those java methods which satisfy following requirements:
- The class must be accessible
- If the method is non-static, the class must have a no-arg constructor
- The method must following one of the following signatures:
public (static) [void|Object] methodName();
public (static) [void|Object] methodName(HttpServletRequest);
public (static) [void|Object] methodName(HttpServletRequest, HttpServletResponse);