Enter the Name in text box and click on Go Button
Output: Hello with the Text Entered in the text box
public void processFormRequest(OAPageContext
pageContext, OAWebBean webBean)
{
super.processFormRequest(pageContext,
webBean);
if
(pageContext.getParameter("Go")!=null){
String lstring =
pageContext.getParameter("vname");
throw new OAException ("Hello
"+lstring, OAException.CONFIRMATION);
}
Output:
No comments:
Post a Comment