What is a global Action in Struts?

What is a global Action in Struts?
if any body have any idea about it then plz tell me ab this...
Thanx

well some one ask me this question in an Interview?
what is the difference between Global Action anc Global Forward?
nither i heard ab Global Action ...nor i use it...so i told him a do not have any info ab it...

Similar Messages

  • What is the logic flow in Struts?

    My understanding of the logic flow in Struts is as follows, I would love anybody to correct me.
    /index.jsp
    <logic:redirect forward="Entry" />The above "Entry" value is located in the struts-config.xml under the "global-forwards" section.
    struts-config.xml
    <global-forwards>
    <forward name="Entry" path="/Login.do" /> ... The path from this "forward" entry is then used to locate an 'action' in the same file. The web.xml specifies that actions are mapped using a "*.do" mask, which I have in my web.xml file. Therefore we look for "/Login" as an action.
    <action-mappings>
    <action path="/Login" forward="/WEB-INF/login.jsp" /> ...Now we forward to the JSP identified and begin sending this to the client. However, we process it as we send it and we locate some more activities to perform.
    /login.jsp
    <html:form action="/LoginSubmit" focus="username">
      <html:text property="username" />
      <html:password property="password" />...In the JSP we find an 'html:form' referencing "/LoginSubmit". We look this up in the 'action-mappings' from our struts-config file too.
    struts-config.xml
    ... <action path="/LoginSubmit" type="...LoginSubmitAction" name="loginForm" input="/WEB-INF/login.jsp" validate="true" scope="request" />...We have found the action statement for this JSP form and notice that there is a 'name' applied. This name should match up with a 'form-bean' from our same struts-config file, so we look that up too.
    struts-config.xml
    <form-beans>
    <form-bean name="loginForm" type="...LoginForm" />This final entry identifies a 'form-bean' class that we create for our application. The java class specifies fields for the input items on the form, it can also specify default values and validation to perform.
    ...LoginForm.java (sorry about including all of this but it does help)
    public class LoginForm extends ActionForm {
      private String password;
      private String username; 
      public LoginForm()
        super();
      public String getPassword()
        return this.password;
      public void setPassword(String password)
        this.password = password;
      public String getUsername()
        return this.username;
      public void setUsername(String username)
        this.username = username;
      public void reset(ActionMapping mapping, HttpServletRequest request)
        super.reset(mapping, request);
        setPassword(null);
        setUsername("murray");   
    }I run the above and get a form appearing. It initialises "murray" into the username field, and this is displayed, however I get a javascript error trying to process the focus() request. The generated html form does not receive a name, for example:
    <form method="post" action="/bookshelf/LoginSubmit.do;jsessionid=6D7525A5B4B4EBCABA71C679B227A510">The fact that the NAME doesn't appear makes me think that something is not linking correctly, or I have missed some important piece of the logic flow. Is there any other important aspect of this logic I have missed.

    The error is simple. The HTML source from the page includes these code fragments:
    <form method="post" action="/bookshelf/LoginSubmit.do">and
    <script type="text/javascript">
      var focusControl = document.forms["loginForm"].elements["username"];
      if (focusControl.type != "hidden" && !focusControl.disabled) {
         focusControl.focus();
    </script>The Javacript error reported is:
    Error: 'document.forms.loginForm.elements' is null or not an object

  • In Web Logic Server Due to HTML file tag the action of struts is not called

    Hi All
    I have a problem as under:-
    There is a HTML page which contains several fields including a file input tag of HTML and i write enctype = "multipart/form-data" in the form tag
    I am calling a struts Action from this form, then it is not reaching to that action of struts.
    If I remove this file tag and enctype = "multipart/form-data" then it reaches to the struts action.
    I am facing this problem in Weblogic server 8.1 but i can easily deploy this same code on Tomcat 5.0
    Please help me out from this problem..
    Thanks...
    Nitin Saxena

    My installation has a DefaultWebApp directory under mydomain/applications,
              try moving everything down there. (I'm on 6.1 but I think 6.0 is the same)
              Eliot Stock
              eliot [ at ] carbonfive [ dot ] com
              http://carbonfive.com
              "Ram" <[email protected]> wrote in message
              news:3bc71641$[email protected]..
              >
              > Hi,
              >
              > I am trying to deploy a simple servlet in WebLogic Server.
              > I have done the following steps.
              >
              > 1) Compiled the MyWorld.Java Servlet Successfully in c:test\ Directory..
              >
              > 2) Created WEB-INF/Classes Directory in the home Directory of
              WebApplication Directory..
              > C:\bea\wlserver6.0\config\mydomain\applications\
              > 3) Copied the Class file into the WebApplication Directory i.e
              >
              > C:\bea\wlserver6.0\config\mydomain\applications\WEB-INF/Classes
              >
              > 4) Executed in the Browser using following URL:
              > http://127.0.0.1:7001/MyWorld
              >
              > But, I am getting this error:
              >
              > Error 404--Not Found
              >
              > Please let me know if the above procedure is wrong, then what are the
              exact steps
              > involved in Deploying a servlet in WebLogic Server.
              >
              > Thanks,
              > Ram.
              >
              

  • Exception in global forwards in strut-config.xml

    Hi friends,
    i am doing a global forward and i am getting the following exception. without global forward in strut-config.xml it works fine.exception
    javax.servlet.ServletException: Cannot find global ActionForward for name welcome
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:76)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.jsp.JspException: Cannot find global ActionForward for name welcome
         org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
         org.apache.jsp.test_jsp._jspx_meth_logic_forward_0(org.apache.jsp.test_jsp:93)
         org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:64)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)my struts-config.xml is
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!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>
    <!-- ========== Global Forward Definitions ============================== -->
      <global-forwards>   
      <forward name="welcome" path="/LPCIndex/doit.do" redirect="true"/>
      </global-forwards>
      <!-- ========== Action Mapping Definitions ============================== -->
      <action-mappings>   
    <action
         path="/doit"
         type="com.hsbc.lpcintex.LPCIntexAction">
         <forward name="success" path="/index.jsp"/>
    </action>
      </action-mappings>
    </struts-config>my web.xml
    is
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
      Copyright 2004 The Apache Software Foundation
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
          http://www.apache.org/licenses/LICENSE-2.0
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    -->
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
    <!-- JSPC servlet mappings start -->
    <!-- The Welcome File List -->
         <welcome-file-list>
              <welcome-file>test.jsp</welcome-file>
         </welcome-file-list>
         <session-config>
              <session-timeout>0</session-timeout>
         </session-config>
    <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>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- JSPC servlet mappings end -->
    </web-app>and my jsp code is
    <%@ page language="java" import="com.hsbc.lpcintex.*" import="java.io.*"%>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
    <html>
    <body>
    <logic:forward name="welcome"/>
    </body>
    </html>any help please
    thanks
    R

    its done by adding
    <load-on-startup>2</load-on-startup>to web.xml

  • How to call another action from Struts dispatch action?

    Hi all,
    there is a method in dispatch action that needs data from another chained action. How should other action determine which method in dispatch action will receive response and how should these data be returned from called action? Called action does not have associated form bean
    thanks,

    Not sure, why are there then "chained actions" is struts practice? Struts allows action without form bean to be configured and the action is a class?

  • What out-of-box actions initiated by HR go through MSS approval?

    Hello,
    I'm new to HR, and have been asked to find out what out-of-box actions are there that can be initiated by HR (not employees, but HR employees), that will go through a MSS approval process?
    For example: Retention Payments are initiated by Comp Analyst; then approved by employee’s Manager, HR Manager, Compensation Manager; then sent to Payroll.
    Are there other processes/actions like this that exist? E.g. initiating a spot bonus.
    I appreciate that we can build anything we want. What we would like to know is what's seeded?
    I also appreciate that this question is a little open ended, but if anyone can point me the right direction that would be a start. There is mountains of documentation that I have to plow through.
    Regards
    Dave

    Hi,
    Seems to me the quickest way for you to get this information is to review the AME transactions for SSHR or whichever module you are looking for.
    Regards,
    Vinayaka

  • Safari 6. What happened to the action "Email Link" ?

    Using Mountain Lion. Safari 6. What happened to the action "Email Link" ?

    option click your tool bar in Safari,   and add the icon that looks like a mail icon (letter icon) to your tool bar...
    it is also in the file menu and there is a quick key assignment...

  • What should be take action against following sql tuning report.

    Hi
    what should be take action against following sql tuning report.
    SQL ID : fn3mt5dvm7fba
    SQL Text : SELECT * FROM (select
         to_number(ow.waybl_no) waybl_no,ow.id wb_id,
         To_Number(ogp.gp_no) gp_no,
         To_Number(ots.trip_sht_no) trip_sht_no,
         otr.nm,
         ots.gty_br_mast_id,
         DECODE(otr.sign_recd,'1','YES','NO') Sign_Recd,
         DECODE(otr.stamped,'1','YES','NO') Stamped,
         otr.dlvry_dt dlvry_dt,
         otr.tel_no,
         --otr.remarks,                                                   
         Decode(otr.comments, NULL,'','Yes') remarks,
         otr.id ID,ops_safex_utl.get_br_nm(to_number(ow.bkg_br_mast_id))
    book_br,
         ow.pick_dt book_date
    from
         ops_ts_reconsile otr,
         ops_pultd_wb_dtls opuwd,
         ops_trip_sht ots,
         ops_waybl ow,
         ops_ultd_wb_dtls ouwd,
         ops_gate_pass ogp
    where
         otr.trip_sht_id=ots.id and
         otr.pultd_wb_dtls_id=opuwd.id and
         opuwd.ultd_wb_dtls_id=ouwd.id and
         ouwd.gate_pass_id=ogp.id and
         opuwd.waybl_id=ow.id and
         otr.status_lid=157 and
         ots.gty_br_mast_id = (:br_Id) and
         (otr.dlvry_dt = :searchDate OR :searchDate IS NULL) and
         otr.note_prpd = 'N' and otr.pod_recd = '1' and
         not exists (select TS_RECONSILE_ID from OPS_POD_FRWD_NOTE_DTLS
    where TS_RECONSILE_ID = otr.id)
    union
    select
         to_number(ow.waybl_no) waybl_no, ow.id wb_id,
         To_Number(ogp.gp_no) gp_no,
         null trip_sht_no,
         ogr.nm,
         ogp.dlvry_br_mast_id,
         DECODE(ogr.sign_recd,'Y','YES','NO') Sign_Recd,
         DECODE(ogr.stamped,'Y','YES','NO') Stamped,
         ogr.dlvry_dt dlvry_dt,
         ogr.tel_no,
         --ogr.remarks,                                                   
         Decode(ogr.comments, NULL,'', 'Yes') remarks,
         ogr.id ID,ops_safex_utl.get_br_nm(to_number(ow.bkg_br_mast_id))
    book_br,
         ow.pick_dt book_date
    from
         ops_gp_reconcile ogr,
         ops_gate_pass ogp,
         ops_waybl ow
    where
         ogr.gp_id=ogp.id and
         ogp.waybl_id=ow.id and
         ogp.dlvry_br_mast_id = (:br_Id) and
         (ogr.dlvry_dt = :searchDate) and
         ogr.note_prpd = 'N' and ogr.pod_recd = 'Y' and
         not exists (select GP_RECONSILE_ID from OPS_POD_FRWD_NOTE_DTLS
    where GP_RECONSILE_ID = ogr.id)) QRSLT ORDER BY trip_sht_no desc
    Bind Variables :
    1 - (VARCHAR2(32)):37069
    2 - (DATE):07/11/2011 00:00:00
    3 - (DATE):07/11/2011 00:00:00
    4 - (VARCHAR2(32)):37069
    5 - (DATE):07/11/2011 00:00:00
    FINDINGS SECTION (3 findings)
    1- SQL Profile Finding (see explain plans section below)
    2 potentially better execution plans were found for this statement. Choose
    one of the following SQL profiles to implement.
    Recommendation (estimated benefit<=10%)
    - Consider accepting the recommended SQL profile.
    execute dbms_sqltune.accept_sql_profile(task_name => 'TASK_58643',
    task_owner => 'SYS', replace => TRUE);
    Recommendation (estimated benefit: 99.15%)
    - Consider accepting the recommended SQL profile to use parallel execution
    for this statement.
    execute dbms_sqltune.accept_sql_profile(task_name => 'TASK_58643',
    task_owner => 'SYS', replace => TRUE, profile_type =>DBMS_SQLTUNE.PX_PROFILE);
    Executing this query parallel with DOP 128 will improve its response time
    99.11% over the SQL profile plan. However, there is some cost in enabling
    parallel execution. It will increase the statement's resource consumption by
    an estimated 14.56% which may result in a reduction of system throughput.
    Also, because these resources are consumed over a much smaller duration, the
    response time of concurrent statements might be negatively impacted if
    sufficient hardware capacity is not available.
    The following data shows some sampled statistics for this SQL from the past
    week and projected weekly values when parallel execution is enabled.
    Past week sampled statistics for this SQL
    Number of executions 17494
    Percent of total activity 7.2
    Percent of samples with #Active Sessions > 2*CPU .63
    Weekly DB time (in sec) 614696.04
    Projected statistics with Parallel Execution
    Weekly DB time (in sec) 704166.9
    2- Restructure SQL finding (see plan 1 in explain plans section)
    An expensive "UNION" operation was found at line ID 4 of the execution plan.
    Recommendation
    - Consider using "UNION ALL" instead of "UNION", if duplicates are allowed
    or uniqueness is guaranteed.
    3- Alternative Plan Finding
    Some alternative execution plans for this statement were found by searching
    the system's real-time and historical performance data.
    The following table lists these plans ranked by their average elapsed time.
    See section "ALTERNATIVE PLANS SECTION" for detailed information on each
    plan.
    id plan hash last seen elapsed (s) origin note
    1 209247904 2011-07-12/10:09:08 7.564 Cursor Cache
    2 4029269565 2011-07-12/10:20:21 15.374 Cursor Cache original plan
    3 4128886984 2011-07-08/11:30:25 42.426 AWR
    4 3695555639 2011-07-12/08:30:30 101.459 AWR
    Recommendation
    - Consider creating a SQL plan baseline for the plan with the best average
    elapsed time.
    execute dbms_sqltune.create_sql_plan_baseline(task_name => 'TASK_58643',
    owner_name => 'SYS', plan_hash_value => 209247904);
    ADDITIONAL INFORMATION SECTION
    - The optimizer could not merge the view at line ID 3 of the execution plan.
    The optimizer cannot merge a view that contains a set operator.
    - SQL Profile "SYS_SQLPROF_01306b26f6aa0000" exists for this statement and
    was ignored during the tuning process.

    afzal wrote:
    Hi
    what should be take action against following sql tuning report.
    <snip>Perhaps no action at all.
    You can ALWAYS produce a report that will show "top 5" issues. The question is NOT "do I have an issue reported by a tuning report". Yes you do. Everyone does. Always. Even if you slowest batch job runs in 1.3 seconds and your slowest OLTP transaction completes in 0.0001 second.
    The question is "do I have a problem that is serious enough to spend time solving?"
    If your average OLTP transaction completes in 3 seconds, how much effort is justified to get a 50% improvement?
    How much effort is justified to get that same 50% improvement on transactions that complete in 1.5 seconds? 0.2 seconds?
    Beware of Compulsive Tuning Disorder.

  • Global Exceptions in Struts

    Hi All,
    When ever there is an error I need to handle the exceptions gracefully. Since I'm using struts frame work I'm using global-exceptions declarative.
    Here is the struts-config.xml where I have included <global-exceptions>
    <global-exceptions>
    <exception handler="com.hp.chrs.action.ActionExceptionHandler"
    type="java.lang.Exception"
    key="global.error.message "
    path="/jsp/chrs_error.jsp" />
    </global-exceptions>
    I have written ActionExceptionHandler.java class which is the subclass of ExceptionHandler. In execute function of this I'm logging the error then forwarding it to chrs_error.jsp.
    public ActionForward execute(Exception ex, ExceptionConfig ae,
    ActionMapping mapping,
    ActionForm formInstance,
    HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException {
    System.out.println ("Inside execute of ActionExceptionHandler");
    logError(ex);
    //forward to the jsp
    ActionForward forward =
    super.execute(ex, ae, mapping, formInstance, request, response);
    When ever an error occurs chrs_error.jsp is displayed. But it is not going to ActionExceptionHandler.java class.
    What my unerstanding is whenever error occurs it should go to ActionExceptionHandler and then display chrs_error.jsp.
    Any inputs are welcome
    Thanks in Advance

    Most probably its the wrond struts version...you cannot use message resources in struts i.0, might want to change the head of the struts-config.xml to
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">

  • Global Exception in Struts

    Hi All,
    When ever there is an error I need to handle the exceptions gracefully. Since I'm using struts frame work I'm using global-exceptions declarative.
    Here is the struts-config.xml where I have included <global-exceptions>
    <global-exceptions>
    <exception handler="com.hp.chrs.action.ActionExceptionHandler"
    type="java.lang.Exception"
    key="global.error.message"
    path="/jsp/chrs_error.jsp" />
    </global-exceptions>
    I have written ActionExceptionHandler.java class which is the subclass of ExceptionHandler. In execute function of this I'm logging the error then forwarding it to chrs_error.jsp.
    public ActionForward execute(Exception ex, ExceptionConfig ae,
    ActionMapping mapping,
    ActionForm formInstance,
    HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException {
    System.out.println("Inside execute of ActionExceptionHandler");
    logError(ex);
    //forward to the jsp
    ActionForward forward =
    super.execute(ex, ae, mapping, formInstance, request, response);
    When ever an error occurs chrs_error.jsp is displayed. But it is not going to ActionExceptionHandler.java class.
    What my unerstanding is whenever error occurs it should go to ActionExceptionHandler and then display chrs_error.jsp.
    Any inputs are welcome
    Thanks in Advance

    No there isn't a global exception handler in JSF. At least none that I've ever heard of or run across. This is something I think JSF dropped the ball on. Maybe in a future release?
    I'm afraid you'll have to get creative with error processing. It's tricky with JSF.
    The way I did it in my application was to create error pages (as you mentioned). I configured the web.xml to redirect to these error pages if there was an uncaught exception. There are some serious limitations when you forward to a JSF page like this though. First, you need to make your error page have f:subview tags instead of f:view. Then, I couldn't get commandLink or commandButton to work right. The action method never got executed!
    You may have already seen some discussions about this. If not, dig around in the forums and you'll find a few good tips.
    CowKing

  • Passing value from JSP to Action in Struts

    Hi,
    I am populating JSP page with rows retrieved from the database and
    represented as a List of Beans in forEach loop:
    <c:forEach var="list" items="${OperationsForm.OperationsList}">
    <c:choose>
    <c:when test="${list.isCompleted =='Y'}" >
    <td width="100">Completed</td>
    <td width="100"> </td>
    </c:when>
    <c:otherwise>
    <td width="100">Pending</td>
    <td width="100"><input type="image" onclick="
    rowId=value; form.action='action.do?command=notify'"
    value="${list.OperationId}" />
    </td>
    </c:otherwise>
    </c:choose>
    </tr>
    </c:forEach>
    Have hidden field: html:hidden property="rowId" value="-1"/>
    User is clicking the button corresponding to one of the rows
    and I need to pass the value of that rowId to the Action class, so it does
    something in the database [action completed]
    Now how do I pass it , is that the right way of doing it with calling
    request.getSession().getAttribute(rowId) in the Action class ?
    As of now I am getting Javascript error "Object doesn't support this
    property or method", complaining about rowId=value;
    Using Struts 1.3
    Please help !
    TIA,
    Oleg.

    So what you are saying is that I should add rowId here:
    <input type="image" onclick="form.action='action.do?command=notify&rowId='
    ${list.OperationId}"/> , correct ?
    I am not sure that it will work, especially with Struts tag.
    I will probably try something like:
    <html:submit onclick="form.action='action.do?command=notify'" value="${list.OperationId}">
    I am relatively new to Struts, so now sure what will work or not and how to do it better. How do I catch the submitted value in the Action in either of these 2 cases, via action.getSession().getProperty("rowId") /
    action.getSession().getProperty("submit") ?
    I would probably do it as a URL rather than changing the action of the form.I will have to create a new action anyway to process that row [which is sending user e-mail regarding that row data/event].
    Is the id the only thing you have to pass in?
    Or do you need other values from the screen?Selected rowId is probably the only thing I care about, can access values from the Form in Action.
    Thank you,
    Oleg.

  • What is the exact use of STRUTS frame work??

    Hi every one,
    I'm new to this STRUTS frame work. Can any one explain me in detail (if possible with an example) about,, why we need to use STRUTS framework as we have already JSP's.
    For example if we want to move from one JSP to another JSP, it is quite easy to move to the page with out any other extra logic. Where as comes to the point of STRUTS, we need to write, JSP form, Form-bean class, Action Class, configure our STRUTS XML file, if validation needed validation xml files. Is it not looking cumbersome to process?
    Please help me to recover from this...
    Expecting reply from many of you..
    Thanx in advance.
    Sriram

    meetshriram wrote:
    Hi every one,
    I'm new to this STRUTS frame work. Can any one explain me in detail (if possible with an example) about,, why we need to use STRUTS framework as we have already JSP's. Struts is a web MVC-2 framework.
    For example if we want to move from one JSP to another JSP, it is quite easy to move to the page with out any other extra logic. No, there's logic, and it's embedded into the page.
    It's fine for one page to another, but when you have a substantial application that has tens or hundreds of JSPs it's much harder to manage.
    Where as comes to the point of STRUTS, we need to write, JSP form, Form-bean class, Action Class, configure our STRUTS XML file, if validation needed validation xml files. Is it not looking cumbersome to process?
    Extra complexity does cost you something. Ask yourself what it's buying you: better layering, more configuration and less code, validation, etc.
    %

  • Dispatch action in struts portlet

    Hi ,
    I am tryin g to call a Action which extends dispatchaction with two parameters in the query string . The version is (pdk 10.1.2.0.2)
    The values are appended in the query string but the error message in log seems to be the "actionCmd" calue is not passed to invoke the action.
    <jsp:useBean id="params" scope="session" class="java.util.HashMap"/>
    <c:set target="${params}" property="actionCmd" value="seminarDetails"/>
    <c:set target="${params}" property="Menu" value="customer"/>
    <pdk-struts-html:link action="/seminarDetails" name="params" ></pdk-struts-html:link>
    ERROR: AbstractResourceRenderer.renderBody - Resource
    "/seminarDetails.mcs;jsessionid=0ad16e5530d74f3fe75da106493cbb4dd7fbc0bb634d.e34RahmKa3mRay0Lc3aKbhiLbxaKe6fznA5Pp7ftolbGmkTy?Menu=customer&'amp;actionCmd=seminarDetails"
    returned HTTP Status: 400. Error message: Request[seminarDetails] does not contain handler parameter named actionCmd. Content returned
    follows....
    What am i doing wrong?
    Thanks
    Prem

    Still I am having the same issue. Any clues?

  • What is the correct action regarding misleading/fake reviews?

    Last year I paid $5 for the app "MyBoxing Pro Trainer By GAMMEK" based on the rating and number of reviews. However, after using the app , i realized it was a ripoff. When I went through the reviews, I realized almost all the reviews (more than 100)
    Between Dec 3, 2010 and Dec 9, 2010, this app received more than 180 4- or 5-star reviews. Any review after that is all 1-star.
    Can someone guide me in the right direction to get my money back?
    thanks

    roaminggnome wrote:
    ". did you look at the link to the people's comments on app store?"
    No.
    Just to show that I am not complaining for no reason, I like to ask you to take the time to read an investigation by FTC (link); below is a snapshot of that report for your convenience.:
    So, my claim is not without merit. This is something that officials have noticed and have taken action against, if Apple is not willing to do anything about it.
    You can look at appshopper or the website for the app/developer.  The reviews can be  left by anyone and can be written however the poster chooses.  It would certainly be tough to make a good decision if the reviews are inaccurate.  It seems based on your first post that the review are terrible " Any review after that is all 1-star.", so that should help others avoid the app.
    I think reviews and ratings on iTunes are the main, and probably the only, reference most average people will use to make decision about purchasing an app. When iTunes itself has developer's description, several screenshots, ratings, and comments sections, why should I bother checking appShopper or other third parties? Also, if I was buying a $900 TV, yes I would research it. But not for an app! I have not seen that many people who do that.
    In addition, the developer GAMMEK's website only talks about glorious functionalities of the app and how it can help any boxer.
    One last point, iTunes' comments are prioritized based on helpfulness--whatever that means in this case. One has to change the order to see the few negative reviews that handful of people have written. You really say that people go through all this trouble on day to day basis just to purchase an app?
    You may ask why I am bothering with such a long reply if it is "just to purchase an app." Well, I have already gone far and beyond what I initially intended for. But there is a legit point to what I am trying to say. What these people are doing is wrong and it hurts feeling ripped off!

  • Regarding dispatch action in struts

    how to create dispatch action uring button in struts.

    Have a hidden attribute named "method" in the Form and hardcode it with the method name which you need to post to...
    Rest is all same like regular Action...
    Thanks and regards,
    Pazhanikanthan. P

Maybe you are looking for

  • Creation of Client number (Mandt)

    I have looked into a max of documentation, and so far I did not find a answer which satisfy me. The question is : <u><i>what are the different criteria which drive/lead the decision to create several clients in Production ?</i></u> (instead of one).

  • I'm trying to simply download iTunes.  I keep getting error messages that I don't have apple support

    I have tried to download iTunes on my computer several times.  I keep getting an error message that it can't download it.  Also having issues with my iPod touch.  It is frozen and just shows:iPod is disabled connect to iTunes.  The problem is, I can'

  • HttpServletRequesr.getParameter :  Problem with double quotes

    Hi, I am having a problem in accessing "POST" parameters which have "quotes" in it. For example, If the post parameter named param contains Hello "(hw)" World, the getParameter returns Hello instead of Hello "(hw)" World. I'm not sure if this is rela

  • Clearing Rules for Defferals

    We have requirement where if the deferral date is populated in the document  or item then any incoming payment should not clear that item or document in cases where deferral date is in future, Any item with no deferral date should clear, any excess p

  • J1is screen change

    Dear Frndz is it possible to change screen of t-code j1is ?? i want to select multiple doccument number in doccument field.. however, right now, it is allowing only single mateerial doccument for excise  invoice.. plz help..