Size limitation for a .jsp in abstract portal component

Hi all,
i am facing a problem in case of size of .jsp file in abstract portal component. if i remove some of the content from that file then it works fine,
do anybody know is there a limitation from Portal side, or any body know the solution for this .
thanks in advance
Kedar

When you say submit do you mean HTMLB submit or a normal HTML form submit?  If it's the latter, you just need an action on your form...
<form action="jspfile2.jsp">

Similar Messages

  • IPortalComponentRequest in JSP from Abstract Portal component

    Hi,
    I have an abstract portal component like this:
    import com.sapportals.portal.prt.component.*;import com.sapportals.portal.prt.resource.IResource;public class Nav2 extends AbstractPortalComponent{    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)    {          IResource jspResource = request.getResource(IResource.JSP, "jsp/Nav2.jsp");          response.include(request, jspResource);    }}
    Now in the called JSP, I want to use the request object.
    e.g.
    Hashtable env = new Hashtable();env.put("NavigationPrincipal",request.getUser());
    But, the request object is not available.
    How to I get the same object available here?

    Hi Praveen,
    Thanks for the solution but I get some error when I add
    String theCall = service2.createAbsoluteNavigateClientCall(myNavNode.getName(),IClientNavigationGenerator.SHOW_INPLACE,null,null);
    The code is like this:
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.resource.IResource;
    import java.util.*;
    import com.sapportals.portal.navigation.*;
    import com.sapportals.portal.prt.runtime.*;
    import com.sapportals.portal.prt.session.IUserContext;
    import com.sapportals.portal.prt.util.StringUtils;
    public class Nav2 extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              //IResource jspResource = request.getResource(IResource.JSP, "jsp/Nav2.jsp");
              //response.include(request, jspResource);
              response.write("hello india");
              Hashtable env = new Hashtable();
              env.put("NavigationPrincipal",request.getUser());
              INavigationService service = (INavigationService) PortalRuntime.getRuntimeResources().getService(INavigationService.KEY);
              INavigationNode myNavNode = service.getNodeByQuickLink(env,"help");
              IClientNavigationGenerator service2 = (IClientNavigationGenerator) PortalRuntime.getRuntimeResources().getService(INavigationService.KEY);
              String theCall = service2.createAbsoluteNavigateClientCall(myNavNode.getName(),IClientNavigationGenerator.SHOW_INPLACE,null,null);
    Can you please help out on this one?
    Thanks

  • Calling a JSP  from abstract portal component

    hi,
    I have included a JSP in a abstract portal component and on click of submit in 1st JSP i have to show an another JSP.How can i do this???
    Regards
    Sushanth

    When you say submit do you mean HTMLB submit or a normal HTML form submit?  If it's the latter, you just need an action on your form...
    <form action="jspfile2.jsp">

  • Hardware FAQ's - 2. Is there any size limitation for video recording?

    2. Is there any size limitation for video recording?[/b]
    Yes. The maximum file size of continuous recording is 4GB (i.e. the device will stop recording after hour for HD+, 2 hours for HD, and 4 hours for VGA). This limitation is due to the file system of the built-in memory (i.e. FAT32 has a maximum file size of 4GB).Will and can this be fix with a firmware upgrade? I would like it to last atleast 2hrs for HD+? Which is it's limit with memory and or battery?

    I've been told that the method size problem occurs
    especially with JSPs. Again, splitting is the
    solution.Is that if the code is actually "in" the jsp? What I mean is, do you still get the problem if you use <jsp:useBean ... ? (so the code is seperated from the view, like it should be)

  • Increasing Email Size Limits for some users

    Hi All,
    For some users (management) i needed to arrange that they are able to send bigger files then the default 10MB limit to each other.
    I used this procedure to do so,
    https://www.simple-talk.com/sysadmin/exchange/increasing-email-size-limits-for-your-high-profile-users-in-exchange-2010/
    In a nutshell:
    Set Global Transport Org. Config to 200MB
    Set Transport Send and Receive connector to 200MB
    Created a Distribution group adding the MT members and me (for testing)
    Created a transport Rule for the 10MB limit for all users and exception for the distribution group
    (Believe me, i am not happy with the 200MB size limit)
    All seems to work but i have one issue that i cannot tackel or maybe it is by design.
    -Managemant can also send big files to all
    users who do not have this privelige, this is not someting i want, sending 100MB+ attachments to over 150 users.
    Is this by design or do i mis something?
    Thanks,
    Ron

    Hi RonGielgens,
    Attachment size in exchange has to be set on
    Global settings
    Connectors (send and receive connectors)
    Mailbox
    The global settings will affect all the others. of course connectors will affect specific servers and mailbox one user. You have to set the global to the absolute max size you want to allow in your organization.
    after you do this you will need either to set the 10MB on each mailbox
    Get-Mailbox | Set-Mailbox -MaxSendSize 10MB -MaxReceiveSize 10MB
    Then change the limit on specific mailbox
    or another way is to create a transport rule that will reject the email if the attachment size it > 10MB unless the sender/recipient is the required user or group.
    so basically create 2 transport rules
    1. reject messages sent to anyone with attachment > 10mb unless the recipient is userX
    2. reject messages sent from anyone with attachment > 10mb unless the sender is userX
    Normal case it should not allow.
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Reading Session Variables in Abstract Portal Component/ JSP Dynpage or Java

    Hi All,
    I have a web dynpro for Java component which passes parameters in a session and also navigates to a Java application.
    Now when I try to read the session parameters in the Java application (JSPDynpage or Abstract Portal Component) I cannot retrieve the values.
    Can someone throw light on how I can achieve this within a Java application.
    Code is as enclosed below -
    WD for Java Code
      public void onActionClicked(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionClicked(ServerEvent)
    IClientSession session = Utils.getCurrentClientSession();
    IScope scope = session.getScope();
    scope.put("TestSession", wdContext.currentContextElement().getTxtValue());
    WDPortalNavigation.navigateAbsolute(
    "ROLES:portal_content/com.be.pct.cr.Test/DynProToNet",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String)null,
    (String)null,
    (String)null);
        //@@end
    Code within the Abstract Portal Component doContent method is -
    IPortalComponentSession ses;          
    ses = request.getComponentSession();
    String TestSession = new String();
    String sTest = new String();
    String sTesting = new String();
    if(ses.getValue("TestSession")!= null){
    TestSession = ses.getValue("TestSession").toString();
    if(request.getParameter("TestSession")!= null){
    sTest = request.getParameter("TestSession");
    if( request.getValue("TestSession")!= null)
    sTesting = request.getValue("TestSession").toString();
    response.write("Display"TestSessionsTest+sTesting);
    Any help is highly appreciated.
    Thanks in advance,
    Divya

    Hi,
      Why not use eventing between webdynpro and portal applications? That would be more easy. Check these documents.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d7d690-0201-0010-e581-9c4fc69cec0e
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d48eaa90-0201-0010-58a8-887fc8632c3c
    Regards,
    Harini S

  • Difference between abstract portal component ,dynpages and jsp dynpage

    Hi All,
    I am new to the SAP world.Can you help me out in finding the difference between abstract portal component ,dynpages and jsp dynpage in Portal development.Please send me  any information.

    Hi,
    Welcome to SDN Community
    This blog will brief you the differences between them,
    Java development methodologies (Part II)
    Regards
    Srinivasan T

  • Dose Adobe Export PDF has size limitation for converting?

    Dose Adobe Export PDF has size limitation for converting?

    Hi,
    Please check the article mentioned below, let me know it it helps
    http://forums.adobe.com/docs/DOC-1515
    ~Pranav

  • Please tell me if there is a size limitation for ResultSet

    Hi,
    I have a sql select * from....and the following code. If I limit the rows from the query results(rows 1 to 500), there is no problem. But if I get all the query results once , the ResultSet line get error message OutOfMemoryError. (I have large html infor. in the query result).
    So my question is if there is a size limitation for ResultSet? Do I have to break down the query results?
    PreparedStatement st = conn.prepareStatement(sql.toString());
    ResultSet rs = st.executeQuery();Thanks in advance,
    Katie

    Hi,
    Thanks for the link, but I didn't see any answers for
    my question.....my question is if there is a way that
    ResultSet hold all the query results?
    Thanks again,
    KatieDid you read this part:
    " Result Set Limitations and Downgrade Rules
    Some types of result sets are not feasible for certain kinds of queries. If you specify an unfeasible result set type or concurrency type for the query you execute, the JDBC driver follows a set of rules to determine the best feasible types to use instead.
    The actual result set type and concurrency type are determined when the statement is executed, with the driver issuing a SQLWarning on the statement object if the desired result set type or concurrency type is not feasible. The SQLWarning object will contain the reason why the requested type was not feasible. Check for warnings to verify whether you received the type of result set that you requested, or call the methods described in "Verifying Result Set Type and Concurrency Type".
    - There was a part after that that also talked about work arounds.

  • Difference between Abstract portal Component and JSPDyn page.

    Hi Experts,
    What is the difference between Abstract portal Component and JSPDyn page.
    Thanks,
    Jay.

    Hi,
    The PDK provides two methods for creating a portal component:
    Abstract Portal Component
    The Abstract Portal Component class offers a lean method for writing HTML commands to the Web client as well as for basic event handling. It is an implementation of the IPortalComponent, which is the central abstraction of the Portal Component API.
    DynPage
    The Page Processor Component, which extends the Abstract Portal Component, returns a DynPage. It provides more sophisticated event handling. Controls that produce events (such as buttons and checkboxes) have an event attribute that contains the name of the event handling method. This event handling method is invoked by the DynPage when it occurs.
    The JSPDynPage is an implementation of the DynPage and allows the use of the DynPage in combination with JSP (Java Server Pages).
    The PDK documentation and examples focus on the DynPage. Easier event handling and the separatation of content development (JSP) from application development (Java) make the DynPage a better choice for components with interaction and changing content.
    For more details, Refer thes thread,
    https://fortress.wa.gov/dop/portal/irj/portalapps/com.sap.portal.pdk.basic.portalcomponentimplementation/docs/jspdynpage.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0b3e9d5-b2af-2a10-20ba-9f6ce6b1a27f
    Hop it helps..
    GS
    Edited by: Sathishkumar GS on Apr 14, 2008 2:07 PM

  • Urgent Please help me... How to access BAPIs from abstract portal component

    I am developing an application in Abstract Portal Component (in
    PDK).
    In that application I can able to acess BAPIs from my Componets
    using the code like
    inputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Input();
    outputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Output();
    popSearchBapi = new DropBox_PortType();
    colorList = new Tjj12Type_List();
    inputPopSearchBapi.setIm_Agencyid("0010000001");
    try {
    jcoClient.connect();
    outputPopSearchBapi =
    popSearchBapi.zad_Bapi_Pop_Search_Form(inputPopSearchBapi);
    colorList = outputPopSearchBapi.get_as_listIt_Color();
    request.getComponentContext().putValue("color",colorList.iterat
    or());
    jcoClient.disconnect();
    But I am not able to Access the data that is comming from the
    BAPI in my JSP Page. Pleeeeeeease help me. If you want any
    clarification about my problem then ask for further
    clarifications

    Hi,
      You can refer this link, to connecting the BAPI from Abstract Portal Component <a href="http://www.huihoo.org/openweb/jco_api/com/sap/mw/jco/JCO.html">JCo Tutorial1</a>
    <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">JCo Tutorial2</a>
    With Regards,
    Venkatesh. K
    /* Points are Welcome */

  • How to use UI elements in abstract portal component

    hi all
    i am new to portal development..i want to use different UI elements such as textbox,buttons using abstract portal component.can anyone telme how to use them.

    Yes Asusha
    You can use JSP , JSPDyn pages in Abstract portal component.
    You can call a Jsp file from the abstract portal component.
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         com.sapportals.portal.prt.resource.IResource somePage =          
                   request.getResource("jsp", "pagelet/test.jsp");
                   response.include(request, somePage);
    Then you can made your desired UI in JSP.
    Hope this helps..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Use WebDynpro JCO Destination in Abstract Portal Component

    Hello,
    I was wondering if it is possible to use a WebDynpro JCo Destination in an Abstract Portal Component? I have a portal component that make as JCO call to run an rfc. I get the MYSAPSSO2 ticket from the cookie and pass this in to the JCO client. This works fine. Now I need to be able to run this for anonymous users as well. I was hoping to be able to retrieve a WebDynpro JCo destination that is set up as a userid/password type and use this to make the connection to run my RFC. This way I could avoid having to store the userid and password somewhere and encrypt/decrypt  it etc...
    Thanks,
    Bert

    Yes Asusha
    You can use JSP , JSPDyn pages in Abstract portal component.
    You can call a Jsp file from the abstract portal component.
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         com.sapportals.portal.prt.resource.IResource somePage =          
                   request.getResource("jsp", "pagelet/test.jsp");
                   response.include(request, somePage);
    Then you can made your desired UI in JSP.
    Hope this helps..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Adding UI elements to Abstract Portal Component??

    Hi,
    I want to create an abstract portal component in PDK with a textarea and a submit button..On clicking the submit button I want to store the textarea content in a file..So can anyone provide me the solution to this soon??
    Regards,
    Udit

    Hi Udit,
    take a look at
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/ce/e0a341354ca309e10000000a155106/frameset.htm">this</a>
    example.
    Mofify the OutputSuccessText.jsp in away, that it will not print the given text to the screen but stores it in a file. This can be done with standard java coding.
    HTH,
    Carsten
    P.S.: Please consider rewarding points for useful answers in SDN. Doing so the question will be remarked as answered and the assistance will be rewarded!
    Message was edited by:
            Carsten Buechert

  • Abstract Portal Component VS Dynpage

    Can any one explain the differences between Abstract portal component and JSP DYN PAGE?
    When to use where ?
    How can we provide communication between iViews with in the same component / different components.
    Useful answers will be rewarded with points.
    Thanks

    Mohan,
    Abstract portal component as it says its an abstract component .In portal applications we have certain requirements which include only some business logic to be implemented ,for such cases u write the function in abstractportalcomponent and use this as a single entity.It generally not used for building applications with UIs..
    So for a portalapplication wher u need to include UI,controller,and databased/Backend connectivity .JspDynpage suits here.It is the framewrk provided which has JSP view,java controller,and beans model..
    For instance if u have developed a user login form and saving it to database.
    U develop it using JSPdynpage.
    But her if u have an enhancement of including the page to be printed.
    U can create a abstractportalcomponent and use it in earlier Jspdynpage.
    So advatage is modular specific business process can done and integrated with an application..
    Future advancements is easy.
    for performance info check this
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3fbea790-0201-0010-6481-8370ebc3c17d">pdf</a>
    Thanks,
    Swathi

Maybe you are looking for

  • BAPI  BAPI_PR_CHANGE  giving error message: Enter G/L Account

    Hi Folks, I am using bapi Enter G/L Account to add new item in existing PR number. In return table, bapi is giving error mesage that, 'Enter G/L Account' . But i don't know where to pass the G/L number to this bapi and from where i can get the G/L nu

  • File/FTP adapter, outbound channel, content conversion, UTF-8 (Unicode)?

    We would like to send "delimited" files to another application (tab-delimited, CSV, ... - the other application does not support XML-based interfaces). Obviously we will have an outbound channel that uses the file/FTP adapter and the data will be sub

  • Missing "edit" menu in FCE

    Recently when using FCE 3.0 the "Edit" menu disappeared from the menu bar. I did a complete reinstall following Apple's Troubleshooting Basics for FCE, that is, I removed all traces of the application from all locations. The "Edit" menu is still not

  • Coding error

    Hi All, I am getting Dum Error in this code where i put arrow mark. Kindly please help me. Its too urgent for me. FUNCTION Z_CUSTOMER_GET_LIST_1. ""Local interface: *"  TABLES *"      CUSTOMER STRUCTURE  ZCUSTOMER_1 Tables : KNA1 ,KNB1, ADRC, CAWN. D

  • IMessages and FaceTime not working with os x update?

    i just updated my macbook to osx and now my iMessages and FaceTime will not open.  I immediately get a message that the program has quit unexpectedly and that I can submit the problem to apple. Any suggestions for ways to fix this??? My internet also