You will have to have an entry in your dispatcher servlet, telling that the concerned JSP is mapped to the concerned controller.
for ex:
<bean name="/welcome.htm"...
Type: Posts; User: subalakshmi_tcs; Keyword(s):
You will have to have an entry in your dispatcher servlet, telling that the concerned JSP is mapped to the concerned controller.
for ex:
<bean name="/welcome.htm"...
We need to have the JSP and controller to know the bug. Bean class alone will not help in sorting this out.
Let us know!
Debug the application and first find out if the object is persisted twice, if the method to persist is called twice.
And check out your refence data or formbacking object if you are holding the...
Yesh, you can proceed with the idea and Spring will make it simpler for you.
And is there any complex Database operation required? If so add Hibernate in your tools list!
You should set the value of the feild from you controller either in your form backing object or reference data.
Form backing object : set the feild of the command object
Reference data: Put the...
Yeah, good one. Thanks for the share
Please check if the name matches the definition in the xml file and the right path is given
Roll back can occur if transaction management could be done. You can invoke method calls in service layer from your controllers.
You can set the boundaries for rolling back of operations, provided...
It is true that JSP is a combination of HTML with some tags. But the usage and advanatges are more.
HTML can be used only for static pages which no logic.JSP can be used for dynamic pages
// setting the event_id and event_line_id to all event asset
// disposition entries
for (int i = 0; i < eventLineVOList.size(); i++) {
for (int j = 0; j < eventAssetDispVOList.size();...
I have two xml files with the following mapping:
<class name="com.chep.ams.vo.events.EventLineVO" table="EVENT_LINE">
<composite-id name="id"...
Exceptions need to be properly handled. You need to have catch blocks from the place where you thro the exception to the place where ultimately it gets throwed to the log.You would have missed catch...