Then, you will invoke the MortgageCalculatorServlet servlet from the portlet using the object of type RequestDispatcher.
然后,您将使用类型为 RequestDispatcher 的对象从 portlet 调用 MortgageCalculatorServlet servlet。
Upon submission, the portlet invokes the servlet, and passes values to the servlet using an object of type, RequestDispatcher.
提交之后,portlet就调用servlet,并使用一个类型为RequestDispatcher的对象把这些值传递给servlet。
If the RRD resource is memory - or processor-intensive, the calling resource is not affected as much as a standard RequestDispatcher running within the same JVM.
如果RRD资源是内存密集型的或处理器密集型的,那么调用资源不会像在同一J VM中运行的标准RequestDispatcher那样受到较大影响。
应用推荐