-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH date input in form can not be processed #4
Comments
Struts Problem Report
Stacktraces No result defined for action action.BkinputAction and result input |
with no cardDate input, the input request can be processed. |
In BkinputAction.java package action; import java.util.Map; import org.apache.struts2.interceptor.RequestAware; import com.opensymphony.xwork2.ActionSupport; import entity.BookCard; public class BkinputAction extends ActionSupport implements RequestAware, ModelDriven {
} |
With no cardDate input, the result in console, null |
When there is cardDate input, null |
for the struts problem, |
for the struts problem, in struts.xml, IndexAction // result named "input"; /WEB-INF/jsp/errorpage.jsp |
IndexAction /WEB-INF/jsp/errorpage.jsp |
No description provided. |
IndexAction //result named "input"; /WEB-INF/jsp/errorpage.jsp |
No description provided. |
< |
<action |
<action name="BkinputAction" |
IndexAction /WEB-INF/jsp/errorpage.jsp |
No description provided. |
2 similar comments
No description provided. |
No description provided. |
action name="BkinputAction" class="BkinputAction" |
action name="BkinputAction" class="BkinputAction" |
action name="BkinputAction" class="BkinputAction" |
current result in console, in bkinputaction getModel:BookCard [id=null, name=null, sex=null, cardDate=null] |
from blogs, |
from blogs, |
package converter; import java.sql.Date; import org.apache.struts2.util.StrutsTypeConverter; public class DateTypeConverter extends StrutsTypeConverter {
} |
if(arg2==java.util.Date.class) |
In DateTypeConverter.java import java.util.Date; |
The text was updated successfully, but these errors were encountered: