Struts bean/html tag problem

i am writing this url_element on screen
<bean:write name="url_element"/>
then i got a link
<html:link action="urlDetail.do?url=???">aaa</html:link>
how can i transfer the url_element into ??? do i need to write something like <%...%>?

just found the solution:
You can't use a <bean:write> tag inside an <html:link> tag. Struts doesn't support it.
The easiest way to fix this is to abandon use of <html:link> and just use the plain old html tags <a></a>. Then you will have no problem substituting parameters with <bean:write> tags.
The only advantage <html:link> has over the plain html tag is that it automatically does URL rewriting (Adding of the jsessionid to the URL so that sessions may be tracked even if the user has turned cookies off). If you're not using this function anyway, as most modern websites don't, you may as well use the html tag.
If you still want to use <html:link>, use the struts-el version of the html tags and use EL expressions instead of <bean:write> tags.

Similar Messages

  • Using EL variable in struts bean:message tag(not struts EL tag)

    Is there any work around to use an EL variable inside struts bean:message tag as key:
    I have like this:
    <bean:message key="${bean.keyName}"/>
    which is throwing error , I know this can be resolved by using struts-el tags but i cannot use them for specific reasons.
    I dont want to use bean:define tag to define my 'bean' and then use like this:
    <bean:message key="<%=bean.getKeyName%>"/> (this actually works, but i want to use EL variable)
    Is there any work around to use EL variable and make the message display on the jsp.
    i tried multiple ways like scriplets and jsp:useBean but nothing worked, Please let me know..
    Thanks in advance

    Im pretty sure that EL does not work in the normal struts tag unless its struts-el tag.Have you tried it?
    As I said, in a properly configured JSP2.0 container you can use EL expressions anywhere you could traditionally use a standard runtime expression <%= expr %>.
    What server are you using? What JSP version?
    The Struts-el tags were written so that you could use EL with struts in JSP1.2 containers.
    The c_rt tags were written so you could use runtime expressions with JSTL tags in JSP1.2 containers. Their use was discouraged even then. Now I consider their use absolutely unnecessary.
    Please read this thread: http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Cheers,
    evnafets

  • Struts Html tag problem in Weblogic 8.1

    Hi
    I am using weblogic8.1 Application server
    I have written a simple web application in struts that accepts
    username and password in "login.jsp" and corresponding "bean" ActionForm
    for the same.
    Below are my application source files......
    login.jsp
    <%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <html:html>
    <head>Struts Test</head>
    <body bgcolor="#E6F1FC">
    <html:form action="login.do">
    <table>
    <tr>
    <td><html:text property="uname" value=" "/></td>
    <td><html:submit>SUBMIT</html:submit></td>
    </tr>
    </table>
    </html:form>
    </body>
    </html:html>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
    Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    </web-app>
    struts-config.xml
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="LoginFrom" type="com.nit.StrutsEx.LoginFrom"/>
    </form-beans>
    <action-mappings>
    <action path="/login" type="com.nit.StrutsEx.LoginAction" name="LoginFrom" validate="false"
    input="/login.jsp">
    <forward name="success" path="/success.jsp"/>
    </action>
    </action-mappings>
    <message-resources parameter="ApplicationResource" null="false"/>
    </struts-config>
    ActionForm
    package com.nit.StrutsEx;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.*;
    import javax.servlet.*;
    import java.io.*;
    public class LoginForm extends ActionForm
    private String uname=null;
    public void setUname(String uname){
    this.uname=uname;
    public String getUname(){
    return this.uname;
    public void reset(ActionMapping am, HttpServletRequest req) {
    this.uname=null;
    public ActionErrors validate(ActionMapping am,HttpServletRequest req)
    System.out.println("I am in Validate");
    return null;
    ActionServlet
    package com.nit.StrutsEx;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import javax.servlet.*;
    import java.io.*;
    public class LoginAction extends Action
    public ActionForward execute(
    ActionMapping am,
    ActionForm af,
    HttpServletRequest req,
    HttpServletResponse res) throws ServletException , IOException
    return am.findForward("success");
    My application runs well under tomcat but when i deploy it on Weblogic 8.1 it gives following error
    Compilation of 'E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java' failed:
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:151: cannot resolve symbol
    probably occurred due to an error in /login.jsp line 4:
    <html:html>
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:168: cannot resolve symbol
    probably occurred due to an error in /login.jsp line 8:
    <html:form action="login.do">
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:203: cannot resolve symbol
    probably occurred due to an error in /login.jsp line 13:
    <td><html:submit>SUBMIT</html:submit></td>
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:216: cannot resolve symbol
    probably occurred due to an error in /login.jsp line 13:
    <td><html:submit>SUBMIT</html:submit></td>
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:226: cannot resolve symbol
    probably occurred due to an error in /login.jsp line 16:
    </html:form>
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:235: cannot resolve symbol
    probably occurred due to an error in /login.jsp line 18:
    </html:html>
    Full compiler error(s):
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:151: cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /login.jsp; Line: 4]
    ^
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:168: cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /login.jsp; Line: 8]
    ^
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:203: cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int2 == BodyTag.EVAL_BODY_BUFFERED) { //[ /login.jsp; Line: 13]
    ^
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:216: cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int2 == BodyTag.EVAL_BODY_BUFFERED) out = pageContext.popBody(); //[ /login.jsp; Line: 13]
    ^
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:226: cannot resolve symbol
    symbol : method doAfterBody ()
    location: class org.apache.struts.taglib.html.FormTag
    } while (_html_form0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /login.jsp; Line: 16]
    ^
    E:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_stest_stest\jsp_servlet\__login.java:235: cannot resolve symbol
    symbol : method doAfterBody ()
    location: class org.apache.struts.taglib.html.HtmlTag
    } while (_html_html0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /login.jsp; Line: 18]
    ^
    6 errors
    Wed Jul 25 17:06:07 GMT+05:30 2007
    Please reply the solution

    I don't know about that, but I am using MyFaces and tomahawk with WLS8.1 sp5 jdk1.4.2_05 and it works fine.
    I do remember getting such an error when I moved from Sun RI to MyFaces and all I can recall is that it was a commons library mismatch problem or some classpath problem...

  • Html Tag Problem

    Hello, I have a web page.
    <body  class="mediawiki ns-0 ltr page-Hacker">
         <div id="globalWrapper">
              <div id="column-content">
         <div id="content">
              <a name="top" id="top"></a>
                        <h1 class="firstHeading">Hacker</h1>
              <div id="bodyContent">
         ...I want to replace the lines with new lines which are added id
    <body  id="1" class="mediawiki ns-0 ltr page-Hacker">
         <div id="globalWrapper">
              <div id="column-content">
         <div id="content">
              <a id="2"name="top" id="top"></a>
                        <h1 id="3" class="firstHeading">Hacker</h1>
              <div id="bodyContent">
         Every line must have an id in the tag, I am not familar with html.tag or parser.
    Could you please provide some hint?
    Regards!

    public class AddIds  extends HTMLEditorKit.ParserCallback{
      public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos){
        ... // write the edited line out
    }

  • HTML Tag Problem OnInputProcessing

    Hi!
    Hope anybody can help.
    I have a MVC application. In our views, we can´t use HTMLB controlls. So we must use standard HTML controlls.
    With ?onInputProcessing it is possible to come in the on_handle_event Method in my controller class.
    The HTML statement in the view works fine :
    <a href="?onInputProcessing(NAVIGATION_MAIN_FUNCTIONS|BACK)">
    But in the select HTML Tag the statement doesn´t work.
        <select onchang e="?onInputProcessing(NAVIGATION_MAIN_FUNCTIONS|BACK)">
        <option>1</option>
        <option>2</option>
        <option>3</option>
        <option>4</option>
        <option>5</option>
        <option>6</option>
        </select>
    What`s wrong in the select tag??
    Regards,
    Anton

    Try below code, it will solve the issue
    < script t-ype="text/javascript">
    function triggerevent(event)
         document.getElementById("OnInputProcessing").value = event;
         document.getElementById("MYFORM").submit();  " Change the Form name here
    < / script >
        <select onchang e = "triggerevent_contact_dd('Your_event_name_here')">
        <option>1</option>
        <option>2</option>
        <option>3</option>
        <option>4</option>
        <option>5</option>
        <option>6</option>
        </select>
        <input type="hidden" name="OnInputProcessing" value="value"/>

  • HTML Tag problem when sending mails through APEX

    Hi,
    My code for sending mail is below:
    DECLARE
    l_body CLOB;
    l_body_html CLOB;
    cursor c2 is
    SELECT pn,pdt_name FROM lib_details WHERE a_date BETWEEN to_date(:P13_SDATE,'DD-MON_YYYY') AND to_date(:P13_EDATE,'DD-MON-YYYY');
    BEGIN
    for c_lib in c2
    loop
    l_body_html:=l_body_html ||
    '<html><body>
    ul>
    li>'||c_lib.pn||' , '||c_lib.pdt_name||' /li>
    /ul>'; p;
    l_body_html:=l_body_html ||'</body></html>';
    apex_mail.send(
    p_to => 'xxxx',
    p_from => 'xxxx',
    p_body => l_body_html,
    p_subj => 'Test Mail');
    END;
    Gives me the output in the format below:
    all the <html><body> tags also comes along with the email, though I get the correct output, what is the problem here?
    I am not able to figure this out. Can someone help?
    OUTPUT
    <html><body>
    ul> li>a,b
    /ul><html><body>
    ul> li>c,d
    /ul><html><body>
    PLEASE NOTE: I have intentionally removed the starting tags (<) of ul and li so that the post will not be formatted.
    Edited by: Suzi on Feb 9, 2012 1:18 PM

    >
    Gives me the output in the format below:
    all the <html><body> tags also comes along with the email, though I get the correct output, what is the problem here?
    I am not able to figure this out. Can someone help?For HTML output you need to send it using the <tt>p_body_html</tt> parameter, not <tt>p_body</tt>.
    PLEASE NOTE: I have intentionally removed the starting tags (&lt;) of ul and li so that the post will not be formatted.Posting code wrapped in <tt>\...\</tt> tags eliminates the need to resort to these bizarre circumlocutions.

  • HTML tag problem when adding Google rich snippets in templates?

    The new Google plus Rich Snippets allow us to add a schema tag like this example:
    <html itemscope itemtype="http://schema.org/Article">
    I can do this on my .html pages but as soon as I make any changes to the .dwt template for the page it reverts all of the tags back to <html>
    How do I stop this happening?
    I have tried:
    Changing preferences in Dreamweaver's default code rewrite settings to "'Never Rewrite Code' for HTML document type " but this does not appear to fix things.
    Very frustrating as I have lost days of work.
    Any help would be appreciated
    many thanks
    Craig

    I've done what you have said (I think) however something is not quite right. I am asssuming that I need to add the schema below the <BODY> tag if I make the changes to the template as you have suggested.
    This is my practice page which is in a template:
    http://www.psychics.co.uk/lovepsychic/index.html
    Following the Adobe instruction on the forum: High at the top of the header section we get this code:
    <!-- InstanceParam name="GRS" type="text" value="itemscope itemtype=&quot;http://schema.org/Product"" -->
    For the customised body tag we get this:
    <body itemscope itemtype="http://schema.org/Product">
    Then on the left column of the page and below the navigation and below the <body> I have added this:
    <!-- Start Google snippet -->
    <h1 itemprop="name" content="Love Psychics Readings">Love Psychics - Psychic Love Predictions Online</h1> 
    <img itemprop="image" content="http://www.psychics.co.uk/images/schema/love.jpg" src="/images/stars.gif" width="160" height="76" alt="Psychics and Mediums Network"></img> 
    <p itemprop="description" content="Getting a reading with love psychics to find out about relationships, love, romance, marriage and family. Article about our Love psychics readings onlineservices.">Copyright Psychics &amp; Mediums Network - QKE Ltd.</p>
      <!-- End Google snippet -->
    I must be getting close but it just shows the normal Google plus stuff.
    I need to get your microdata markup into the body of the document somewhere - otherwise Google will use the something like <title> and <meta description>  tags and guess at an image.
    Any idea where I am going wrong or is it a quirk in Dreamweaver?

  • HTML tag problem in jsf page

    Hello every body .I am newer in jsf.I have used the following segment in my jsf page .Now I want to read value from intl properties file in place of "*********************".How i will do it?plz help me Thanks in advance.
    <t:panelGrid id="guestUserIstallationhelpnotesGrid" columns="1" width="100%" border="0" columnClasses="next" style="align: right !important;"
                   cellpadding="8">
                        <f:verbatim>
                             <table class="tip" cellspacing="0" width="100%" height="50px" border="0">
                                  <tr>
                                       <td class="tip_headline">
                                       </td>
                                  </tr>
                                  <tr>
                                       <td class="tip_text" ></f:verbatim>
                                            <p align="justify">************
                                            </p>
                                       </td>
                                  </tr>
                             </table>
                        </f:verbatim>
                   </t:panelGrid>

    Use the f:loadBundle component.

  • HTML Tags escape while exporting to PDF

    Hi friends,
    I have two columns in my BI report like
    Business Group(BG) and OU
    Since in the BG column under the edit formula i used the html tags to show each and every BG column value in bold like below
    '<b>' || "D1.Company"."Business Group Full Name" || '</b>'
    Now the report is appearing fine in answers and dashboard but when i export the same report to PDF i can see the html tags in each and every name of the BG group.
    Is there anything to be done to escape these html tags in PDF while exporting.
    And also if we give the tooltip for the numeric columns like below under the column properties-->Data format-->Custom like
    [html]<p title=\""Employee Count" \">#
    And after that if i tried to escape the same report with the tooltip on the numeric column to pdf means, the number values are missing for the entire column in the PDF, but this case is not appearing while exporting the report to pdf if i set the tooltip to the text column, as the values is missing only for the tooltip of the numeric column. What could be the fix for this problem.
    Thanks
    Regards,
    Saro

    Hi svee,
    Thanks for the reply.
    For an example i tried with the bold option in the edit formula inorder to portray the html tags problem while exporting it to the pdf inspite of using the default bold option within the column properites like u said.
    Suppose if i used html tags like
    <br>, </br>
    in the edit formula section or if i used any other html tags which is not present as a default option in bi like bold. At that time while exporting the report to pdf i can face the issue.
    And also i need ur suggestion regarding with the values disappearing for the numeric column if a tooltip is used in it while exporting it to the pdf.
    Regards,
    Saro

  • URL defined in formula column not converting as proper HTML tags

    We are migrating a report to 10Gr2 (10.1.2.0.2) from reports 9i (9.0.2.03); This report has to route to a different web page. For this we have a formula column with meta tag call to refresh;its Contains HTM property set to Yes. But when run, the view source of HTML shows as if the tag is truncated and put in <tt> tag around it.
    Any help on this is very much appreciated.

    Hi svee,
    Thanks for the reply.
    For an example i tried with the bold option in the edit formula inorder to portray the html tags problem while exporting it to the pdf inspite of using the default bold option within the column properites like u said.
    Suppose if i used html tags like
    <br>, </br>
    in the edit formula section or if i used any other html tags which is not present as a default option in bi like bold. At that time while exporting the report to pdf i can face the issue.
    And also i need ur suggestion regarding with the values disappearing for the numeric column if a tooltip is used in it while exporting it to the pdf.
    Regards,
    Saro

  • HTML tags not displayed when using Data Template

    Hi All...
    I'm developing a BI Publisher report in which one of the columns is a clob data type. I'm using an xsl stylesheet to format the data present in the clob column.
    I've developed the report using data template as the data set. The problem is the clob column which has the HTML tags where not displayed properly...for example
    the tag starting with
    <
    is replaced with
    & lt;
    I did a couple of searches in this forum and in tim's blog but couldn't find a proper solution...
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
    API and HTML Formated Content
    Re: Problem with text data elements containing escaped HTML codes
    HTML Output from CDATA
    Re: HTML formatted output
    Re: Special characters in CLOB are making report fail
    Re: Formatting of HTML tag problem
    I'm using BI Publisher standalone:Release 10.1.3.2. In one of the threads..
    Re: Special characters in CLOB are making report fail
    I came to know that data template cannot generate proper HTML tags for release 10.1.3.2. Is there any work around way to get the proper HTML tags when data template is used as a data set?
    Thanks in Advance...
    Edited by: user10280715 on Dec 9, 2008 3:13 PM

    Issue could be with the data that is selected in the other environment. It generally happens that the ALV will not give the same results as in the DEV in the other systems.
    Possible errors could be the control break statements in the loop...endloop block. validate the correctness of the control break stmts if any.

  • Struts portlet Instance Label problem: Appending the html tags in jsp

    I have created a struts portlet and given it a Instance Label. I have used struts-adapter-html.tld tld in my jsp which is referenced by my struts portlet. But the problem with using this taglib is that the portlet Instance Label is appended to all the html tags on the JSP as a result of which when the page is submitted, formbean will not pick any of the values as the name will not match. Has anyone has faced this kind of problem? How can I prevent the appending of the HTML tags with the portlet Instance Label?
    Please help me overcome this problem..
    Thanks in Advance ...

    1. To begin with, I would not recommend NOT to append portlet instance label to html tags. This is very much required. Take atleast 2 scenarios. If you dropped 2 instances for Same Portlet like News/Articles portlet etc on same page, you need to identify the html fields uniquely for each portlet so that backend java code works properly. Also if you have 2 different portlets assuming you did not give any name to form tag, and if you have html tags with same name, you need to identify them. Remember when portal or desktop is rendered, it is one big html file with html fragmetns from all .portlets files. So I am not sure if there is any option at all, to avoid the appending of instance label value to html tags.
    2. Coming to your usecase, I did had this problem once in 8.1 SPxx long back. All we did was, in the back end code, using BackingFile we could get the intance label value of the portlet. We can get this in pageflow also. Then pass this value and manually append this value to the html field of interest. In your case looks like you have Struts and tld tags. See somehow if you can get portlet instance label in jsp file and pass around to your tag lib code in request parameters etc. This is just one idea. I am not fully aware of your code, so try something along these lines.
    HTH
    Ravi Jegga

  • Struts 2 validation for HTML tags

    Hi,
    I am doing Struts2 validation with validation.xml for HTML tags. Here i am doing a binding between a form (bean) and the respective field in JSP and validation.xml. The validation error messages are populated without any problem but the value entered in the respective text field for HTML tags is not persisted. This problem does not occur if you use Struts 2 tags in JSP. Here is a snippet of what i am doing:-
    JSP:-
    <input:text name="accountForm.firstName" size="12" maxlength="20" />
    Action:-
    class AccountAction {
    private AccountForm accountForm;
    public void setAccountForm (AccountForm accountForm) {
    this. accountForm = accountForm;
    public String insertAccount () throws ApplicationException {
    // To get the account details from the JSP
    String first Name = accountForm.getFirstName ();
    action-validation.xml:-
    <validators>
    <field name="accountBean.firstName">
    <field-validator type="requiredstring">
    <param name="trim">true</param>
    <message> First Name is required.</message>
    </field-validator>
    </field>
    <validators>
    Whether it is possible to persist the value with HTML tags with Struts 2 validation? or i need to go with Struts 2 tags in JSP. Please shed some light in to it.
    Thanks,
    JavaCrazyLover

    FYI
    I am using spring framework with struts2 UI
    ..pls
    do the needful..
    Thanks in advance
    -Satish

  • Error:Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

    I want to submit this page so that i can retrieve values in the new employer name and license type depending on the license # my jsp code is as below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ page import="org.apache.struts.action.Action.*"%>
    <%@ page contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html>
    <HEAD>
    <TITLE><bean:message key="application.title"/></TITLE>
    <META HTTP-EQUIV="Content-Type" content="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" content="Oracle JDeveloper 10g">
    <META HTTP-EQUIV="Content-Style-Type" content="text/css">
    <META HTTP-EQUIV="PRAGMA" VALUE="NO-CACHE">
    <LINK href="theme/Master.css" rel="stylesheet" type="text/css">
    <SCRIPT src="javascript/common_validation.js"></SCRIPT>
    </HEAD>
    <BODY MARGINHEIGHT="0" marginweight="0" topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
    <%@ include file="../../includes/icolaMenu.jsp" %>
    <html:form action="/addTransfer.do" focus="newEmplic" onsubmit="return validateTransferlicenseeForm(this);">
    <html:javascript formName="transferlicenseeForm" /><html:errors />
    <tr><td>
    <table align="left" border="1" width="736" bgcolor="ffffff" cellpadding="0" cellspacing="0" bordercolor="c0c0c0">
    <tr><td>
    <table width="736" border="0" cellpadding="1" cellspacing="0">
    <tr>
    <td width="730" align=center><b><font face="Verdana, Arial, Helvetica, sans-serif">Transfer License</font></b></td>
    </tr>
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td><%@ include file="../../includes/licenseDetails.jsp" %></td>
    </tr>
    <tr>
    <td align="center">
    <table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
    <tr>
    <td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>  &#58;&#58;  Current Employing Licensee Information:</b></font></td>
    <td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>&#164; &#164; &#164;  </b></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="left"><table width="734" border="0">
    <tr>
    <td width="30"> </td>
    <td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
    <td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplic" /></font></td>
    </tr>
    <tr>
    <td width="4%"> </td>
    <td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
    <td width="30%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpname" /></font></td>
    <td width= "20%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>DBA Name:</b></font></td>
    <td width="30%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpdbaname" /></font></td>
    </tr>
    <tr>
    <td width="30"> </td>
    <td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
    <td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplictype" /></font></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td nowrap><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    </tr>
    <tr>
    <td align="center">
    <table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
    <tr>
    <td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>  &#58;&#58;  New Employing Licensee Information:</b></font></td>
    <td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>&#164; &#164; &#164;  </b></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <logic:equal name="transferlicenseeForm" property="transferButton" value="button.submit">
    <tr>
    <td align="left"><table width="734" border="0">
    <html:form action="ChangeEvent.do" name ="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" >
    <html:hidden property="method" />
    <tr>
    <td width="4%"> </td>
    <td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
    <td width="76%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><html:text styleClass="required" maxlength="10" name="transferlicenseeForm" property="newEmplic" onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}" /></font>  
    <font size="-2" color=blue face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td>
    <!-- <td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
    <td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td>-->
    </tr>
    <!-- </html:form> -->
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
    </tr>
    <tr>
    <td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
    fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
    Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
    </td>
    </tr>
    </table></td>
    </tr>
    <html:hidden property="parentLicid" />
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><b>Have you been convicted of a felony or misdemeanor for which you could have gone to jail that has not previously been reported to the department?</b></font>
    </td>
    </tr>
    <tr>
    </tr>
    <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray">
    <html:radio property="GMCind" value="N" disabled="true"/>NO
    <html:radio property="GMCind" value="Y" disabled="true"/>YES (Complete and return this questionaire)
    (http://www.cis.state.mi.us/bcsc/forms/lce020.pdf)
    </font>
    </td>
    </tr>
    <!-- <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Have you had disciplinary action taken against any license, registration or permit you now hold or have ever held that you have not reported to the department?</b></font>
    </td>
    </tr>
    <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif">
    <html:radio property="dispInd" value="N" />NO
    <html:radio property="dispInd" value="Y" />YES (Complete and return this questionaire)
    (http://www.cis.state.mi.us/bcsc/forms/lce021.pdf)
    </font>
    </td>
    </tr>-->
    </td>
    </tr>
    </logic:equal>
    <logic:equal name="transferlicenseeForm" property="transferButton" value="button.canceltransfer">
    <tr>
    <td align="left"><table width="734" border="0">
    <tr>
    <td width="30"> </td>
    <td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License #:</b></font> </td>
    <td width="280"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><html:text styleClass="required" maxlength="10" property="newEmplic" disabled="true" /></font>   </td>
    <!-- <font size="-2" color="Gray" face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td> -->
    <!--<td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
    <td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td> -->
    </tr>
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>Name:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License Type:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
    </tr>
    <tr>
    <td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
    fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
    Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
    </td>
    </tr>
    </table></td>
    </tr>
    <html:hidden property="parentLicid" />
    <tr>
    <td> </td>
    </tr>
    </logic:equal>
    <tr>
    <td align="center">
    <table width="734" border="0">
    <tr>
    <td align="left" width="240" valign="middle"> <img src="images/icon_required.gif" align=top width="6" height="6" border="0"> Required Field</td>
    <td align="center" width="20">
    <html:submit property="confirmTrans">
    <bean:message name="transferlicenseeForm" property="transferButton" />
    </html:submit>
    </td>
    </html:form>
    <html:form action="/Button">
    <td align="left" width="330">
    <html:cancel property="method">
    <bean:message key="button.returnChild"/>
    </html:cancel>
    </td>
    </html:form>
    </tr>
    </table></td>
    </tr>
    </table>
    </td></tr>
    </table>
    </td></tr>
    <%@ include file="../../includes/icolaFooter.html" %>
    </BODY>
    </html:html>
    my struts-config as below
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
    <struts-config>
    <form-beans>
         <form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="userID" type="java.lang.String" />
    <form-property name="pinNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="renewalLoginForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="licNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="reqPwdResetForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="chooseOption" type="java.lang.String" />
    <form-property name="lName" type="java.lang.String" />
    <form-property name="SSN" type="java.lang.String" />
    <form-property name="DOB" type="java.lang.String" />
    <form-property name="licNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="reqNewAcctForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="chooseOption" type="java.lang.String" />
    <form-property name="lName" type="java.lang.String" />
    <form-property name="SSN" type="java.lang.String" />
    <form-property name="DOB" type="java.lang.String" />
    <form-property name="licNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="changePinForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="userID" type="java.lang.String" />
    <form-property name="pinNum" type="java.lang.String" />
    <form-property name="dupPinNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="newAppInitialForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="board" type="java.lang.String" />
    <form-property name="licType" type="java.lang.String" />
    <form-property name="obtBy" type="java.lang.String" />
    <form-property name="allObtBy" type="java.lang.String" />
    <form-property name="allLicTypes" type="java.lang.String" />
    </form-bean>
    <form-bean name="mainForm" type="org.apache.struts.validator.DynaValidatorForm" >
    <form-property name="chooseOption" type="java.lang.String" />
    </form-bean>
    <form-bean name="buttonForm" type="org.apache.struts.validator.DynaValidatorForm" />
    <form-bean name="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" />
    <form-bean name="apprTransferForm" type="org.apache.struts.validator.DynaValidatorForm" >
    <form-property name="trApprFlag" type="java.lang.String[]" />
    </form-bean>
    <form-bean name="empRenewForm" type="com.dleg.cola.forms.EmpRenewForm" >
    <form-property name="empRenFlag" type="java.lang.String[]" />
    </form-bean>
    <form-bean name="renewalForm" type="com.dleg.cola.forms.RenewForm" />
    <form-bean name="reprintlicenseForm" type="com.dleg.cola.forms.ReprintLicenseForm" />
    <form-bean name="invoiceForm" type="com.dleg.cola.forms.InvoiceForm" />
    <form-bean name="creditCardForm" type="com.dleg.cola.forms.CreditCardForm" />
    <form-bean name="addressChangeForm" type="com.dleg.cola.forms.AddressChangeForm" />
    <form-bean name="personForm" type="com.dleg.cola.forms.PersonForm" />
    <form-bean name="companyForm" type="com.dleg.cola.forms.CompanyForm" />
    <form-bean name="checkListForm" type="com.dleg.cola.forms.CheckListForm" />
    </form-beans>
    <global-exceptions>
    <exception type="com.dleg.cola.exceptions.DatabaseException" key="error.database.missing" path="/error.jsp" scope="request" />
    </global-exceptions>
    <global-forwards>
    <forward name="login" path="/login.jsp" redirect="false" />
    </global-forwards>
    <action-mappings type="org.apache.struts.config.SecureActionConfig">
    <action path="/RequestPwdReset" input="/WEB-INF/jsps/reqPwdReset.jsp" type="com.dleg.cola.actions.RequestPwdResetAction" name="reqPwdResetForm">
              <forward name="success" path="/changePin.jsp" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
    <action path="/RequestNewAcct" input="/WEB-INF/jsps/reqNewAcct.jsp" type="com.dleg.cola.actions.RequestNewAcctAction" name="reqNewAcctForm">
              <forward name="destination1" path="/changePin.jsp" />
    <forward name="destination2" path="/changePin.jsp" />
    <forward name="destination3" path="/register.jsp" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
         <action path="/RenewalLogin" input="/WEB-INF/jsps/renewalLogin.jsp" type="com.dleg.cola.actions.RenewalLoginAction" name="renewalLoginForm">
              <forward name="success" path="Licensee.do" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
    <action path="/Login" input="/WEB-INF/jsps/login.jsp" type="com.dleg.cola.actions.LoginAction" name="loginForm">
              <forward name="success" path="Licensee.do" />
    <!--<forward name="success1" path="/UserLogin.jsp" /> -->
    <forward name="success1" path="/changePin.jsp" />
    <forward name="success2" path="/newApp.jsp" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
    <action path="/UpdateAddrInfo" type="com.dleg.cola.actions.UpdateAddrInfoAction" name="personForm">
    <forward name="success" path="ShowCheckList.do" />
         </action>
    <action path="ShowCheckList" type="com.dleg.cola.actions.ShowCheckListAction" name="checkListForm">
    <forward name="success" path="/checkList.jsp" />
         </action>
    <action path="/SubmitCheckList" type="com.dleg.cola.actions.SubmitCheckListAction" name="checkListForm">
    <forward name="success" path="viewInvoice.do" />
         </action>
    <action path="Licensee" type="com.dleg.cola.actions.LicenseeAction" name="licenseeForm">
              <forward name="success" path="/licHome.jsp" />
         </action>
    <action path="/Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
    <set-property property="secure" value="true"/>
    <forward name="exit" path="/login.jsp" />
    <forward name="exit1" path="/renewalLogin.jsp" />
    <forward name="changePin" path="/changePin.jsp" />
    <forward name="approve" path="PendAppr.do" redirect="false" />
    <forward name="submit" path="/ApprTransfer.do" redirect="false" />
    <forward name="returnHome" path="/licHome.jsp" redirect="false" />
    <forward name="returnChild" path="ChildLic.do" redirect="false" />
    <forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
    <forward name="cancel" path="/login.jsp" redirect="false" />
    <forward name="renew" path="RenewLic.do" redirect="false"/>
    <forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="pay" path="/makePayment.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false"/>
    <forward name="login" path="/login.jsp" redirect="false" />
    <forward name="main" path="/main.jsp" redirect="false" />
    <forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
    <forward name="newLicApp" path="NewApp.do" redirect="false" />
    <forward name="renewMore" path="/licHome.jsp" redirect ="false" />
    </action>
    <action path="Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
    <set-property property="secure" value="true"/>
    <forward name="exit" path="/login.jsp" />
    <forward name="changePin" path="/changePin.jsp" />
    <forward name="approve" path="PendAppr.do" redirect="false" />
    <forward name="submit" path="/ApprTransfer.do" redirect="false" />
    <forward name="returnHome" path="/licHome.jsp" redirect="false" />
    <forward name="returnChild" path="ChildLic.do" redirect="false" />
    <forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
    <forward name="cancel" path="/login.jsp" redirect="false" />
    <forward name="renew" path="RenewLic.do" redirect="false"/>
    <forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="pay" path="/makePayment.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false"/>
    <forward name="main" path="/main.jsp" redirect="false" />
    <forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
    <forward name="newLicApp" path="NewApp.do" redirect="false" />
    <forward name="renewMore" path="/licHome.jsp" redirect ="false" />
    </action>
    <action path="NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
    <forward name="success" path="/newApp.jsp" />
    </action>
    <action path="/NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
    <forward name="success" path="/newApp.jsp" />
    </action>
    <action path="/AddressInfo" type="com.dleg.cola.actions.AddressInfoAction" name="personForm" scope="request">
    <forward name="success" path="/addressInfo.jsp" />
    </action>
    <action path="/NewAppContinue" type="com.dleg.cola.actions.NewAppContinueAction" name="newAppInitialForm" scope="request">
    <forward name="success" path="/newAppContinue.jsp" />
    </action>
    <action path="/ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
    <forward name="success" path="/child_lic.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
    <forward name="success" path="/child_lic.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/transferLic" type="com.dleg.cola.actions.ButtonAction" name="transferlicenseeForm" parameter="transferLicense" scope="request">
    <forward name="transfer" path="/transferLicense.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/transferLicense" type="com.dleg.cola.actions.TransferLicAction" name="transferlicenseeForm" scope="request">
    <forward name="transfer" path="/transferLicense.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/ChangeEvent" type="com.dleg.cola.actions.ChangeAction" name="transferlicenseeForm" scope="request" parameter="method">
    <forward name="success" path="/transferLicense.jsp"></forward>
    <forward name="failure" path="/error.jsp"></forward>
    </action>
    <action path="/addTransfer" input="transferLicense.jsp" type="com.dleg.cola.actions.TransferLicenseAction" name="transferlicenseeForm" parameter="confirmTrans" scope="request">
    <forward name="success" path="/viewInvoice.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    <forward name="cancel" path="/child_lic.jsp" redirect="false" />
    <forward name="transfer" path="/licHome.jsp" redirect="false" />
    <forward name="invalid" path="/error.jsp" redirect="false" />
    </action>
    <action path="/reprintLic" input="child_lic.jsp" type="com.dleg.cola.actions.ButtonAction" name="reprintlicenseForm" parameter="reprintLicense" scope="request">
    <forward name="reqDuplicate" path="/dupReprint.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/addReprint" input="dupReprint.jsp" type="com.dleg.cola.actions.ReprintAction" name="reprintlicenseForm" scope="request">
    <forward name="success" path="/viewInvoice.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    <forward name="cancel" path="/child_lic.jsp" redirect="false" />
    </action>
    <action path="/ChangePin" input="/WEB-INF/jsps/changePin.jsp" type="com.dleg.cola.actions.ChangePinAction" name="changePinForm">
    <forward name="success" redirect="false" path="Licensee.do" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/changeAddress" type="com.dleg.cola.actions.ChangeAddressAction" name="addressChangeForm" parameter="method" scope="request">
    <forward name="changeEntAddr" path="/changeAddress.jsp" redirect="false" />
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/ChangeLicAddr" type="com.dleg.cola.actions.ChangeLicAddrAction" name="addressChangeForm" parameter="method" scope="request">
    <forward name="changeLicAddr" path="/changeLicAddr.jsp" redirect="false" />
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/RenewLicense" type="com.dleg.cola.actions.RenewLicenseAction" name="renewalForm" scope="request">
    <forward name="success" path="/renew.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/Register" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterAction" name="personForm" scope="request">
    <forward name="success" path="/login.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/RegisterCom" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterComAction" name="companyForm" scope="request">
    <forward name="success" path="/login.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/addRenewal" input="renew.jsp" type="com.dleg.cola.actions.RenewLicAction" name="renewalForm" scope="request">
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/PendAppr" type="com.dleg.cola.actions.PendApprAction">
    <forward name="approve" path="/approveTransfer.jsp" redirect="false" />
    </action>
    <action path="PendAppr" type="com.dleg.cola.actions.PendApprAction">
    <forward name="approve" path="/approveTransfer.jsp" redirect="false" />
    </action>
    <action path="/ApprTransfer" type="com.dleg.cola.actions.ApprTransferAction" name="apprTransferForm">
    <forward name="success" path="Licensee.do" redirect="false" />
    </action>
    <action path="EmpRenew" type="com.dleg.cola.actions.EmpRenewAction" name="empRenewForm">
    <forward name="empRenew" path="/subRenewal.jsp" redirect="false" />
    </action>
    <action path="/SubmitEmpRenew" type="com.dleg.cola.actions.SubmitEmpRenewAction" name="empRenewForm">
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/remove" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/addRenew" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
    <forward name="addCart" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/backHome" type="com.dleg.cola.actions.HomeAction" name="buttonForm">
    <forward name="success" path="/licHome.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
    <set-property property="secure" value="true"/>
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
    <set-property property="secure" value="true"/>
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <!--
    <action path="/checkOut" input="payNow.jsp" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
    <forward name="success" path="https://www.govone.com/epay/http/pay.aspx" redirect="true" />
    <forward name="confirm" path="/confirmPayment.jsp" redirect="false"/>
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    -->
    <action path="/checkOut" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
    <forward name="success" path="/wait.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    <forward name="cancel" path="viewInvoice.do" redirect="false" />
    </action>
    <action path="/CommitTxn" type="com.dleg.cola.actions.CommitTxnAction" >
    <forward name="success" path="/paymentConf.jsp" redirect="false"/>
    <forward name="fail

    looking at the code...dont know where to start ... but usally this error occurs when u r using a property attribute in in html tag which wont actually exist in the action form or with a different spell....
    just check the exact naming and spelll of property attribute of HTML tag ,,,

  • Looking for struts bean:write   Equivalent function/ tag in jsf??

    Hi to all,
    I am quite new to jsf. Soi might be asking a stupid question.
    I just wanna to know is there an equivalent tag or simple scriplet that can provide the same function as strut <bean:write>?
    Thanks and regards,
    Chin Tat

    ok i am not a struts programmer but from a quick search i am assuming <bean:write> outputs in html the value of a property in your java bean?
    if this is the case then you simply use
    #{beanName.propertyName}
    i.e
    <h:outputText value="#{beanName.propertyName}"/>
    note your bean will have to be registered in you facesContext as a managed bean to do this (where beanName is the name of your managedBean)
    if bean:write doesn't do this sorry :) forget my answer

Maybe you are looking for