The web page displays at the first time with the following error.

java.lang.NullPointerException
        java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1108)
        java.text.DateFormat.parse(DateFormat.java:333)
        com.erp.quotation.AddUserProfileForm.getSqlJoinDate(AddUserProfileForm.java:68)
        com.erp.quotation.AddUserProfileForm.validate(AddUserProfileForm.java:80)
        
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)


When it first displays, I want it to show with a token.
Then I make a setup DispatchAction like the following.

public final class AddUserProfileAction extends DispatchAction {
    public ActionForward setup (ActionMapping mapping,
        ActionForm form,
        HttpServletRequest request,
        HttpServletResponse response) 
          throws Exception {
          saveToken(request);
          return mapping.findForward("success");
        } 

How it get a validation error message?
Actually submit button has not been clicked.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to