response.sendRedirect(\"../seja/izpisknjig.jsp\");
the file in which I execute this line is index.jsp. the directory structure looks like this.
Most reliable would be to create a domain-relative URL with the context path included.
response.sendRedirect(request.getContextPath() + "/seja/izpisknjig.jsp");