How to forward servlets from a plug-in?

Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2013

Hi,

I'm trying to forward one plugin to another from a servlet, but it looks like not working (an exception is raised).

What is the way to do it?

Example:

@Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
    {
    		req.getRequestDispatcher("someServeltPath").forward(req, resp);
    	
    }

Thanks in advance,

Pablo.

2 answers

0 votes
Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2013
0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2013

What exception?

Suggest an answer

Log in or Sign up to answer