Archive for May, 2009

Working on .jsp File

Thursday, May 28th, 2009

// Javascript
function viewAdminForm(requestaction) {
document.admindataform.elements['formaction'].value = requestaction;
document.admindataform.submit();
}

// html table
<tr>
<td><a href=”javascript:viewAdminForm(’ViewFormsTable’);”>Forms Table</a></td>
<td>Forms table administration screen</td>
</tr>

// form element
<form name=”admindataform” action=”viewAdminForm.do” method=”post”>
<input type=”hidden” name=”formaction” value=”"/>
</form>

No action config found for the specified url.

Wednesday, May 6th, 2009

Struts is not able to find the mapping for /*(.do) in the struts config file.

The “/*(.do)” could not be existing.

***If it seems not to be working–Restart your PC. [2009-06-03]

***If you got this message, 99.9% recommendation that you nned to restart your machine. [2009-06-04]

Cannot retrieve definition for form bean: “…” on action: “/…”

Wednesday, May 6th, 2009

1. No form-bean definition on XML:

<form-bean name=”…” type=”…Form” />

2. Be sure too that “…Form” exists.

Restart browser.

Restart PC