Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COI changed it to VelocityViewServlet, and the Properties class to ExtendedProperties ( had an error over there, after changing to extends VelocityViewServlet) and now, when i run the program i get an error like this one: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet velo.Login threw exception What does it mean?
      singulars
    2. COI changed it to error= request.getAttribute("error").toString(); to see why do i have a java null pointer exception, and the error, is at this line, it all works fine, till it gets to it. I tried putting a request.getAttribute("error").toString() in other parts of the code, not in the Template function and no errors. PS: In the template (login.vm) how do i declare <%@page import="a.userBean"%>
      singulars
    3. COInternal errors generally have a root cause which gives more informations. You should check your servlet container log file if the displayed internal error is not explicit enough. If you don't solve related problems by yourself, please try to identify and post here only the most relevant lines. Your P.S. has nothing to do with your original question. I guess you will have to put your userBean somewhere (why not as a session attribute?) from your Java code. Remember that you can reach J2EE attributes from within your templates with $request, $session and $application.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload