<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Accessing user input data from multiple external jsp includes in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760835#M220445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the http request only contains the fields from the form that was submitted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 May 2004 09:08:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-05-24T09:08:57Z</dc:date>
    <item>
      <title>Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaq-p/760829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As my jsp page is becoming a long file, due to 64kb method limit the jsp page is giving java.lang.VerifyError during jsp compilation. Due to this reason i have split the jsp page into 3 seperate jsp pages and included them using action tags. All these three page will be having their own &amp;lt;hbj:content id="a1PageContext" &amp;gt;&amp;lt;hbj:form id="form1" &amp;gt;... hbj:content id="a2PageContext" &amp;gt;&amp;lt;hbj:form id="form2" &amp;gt;...hbj:content id="a3PageContext" &amp;gt;&amp;lt;hbj:form id="form3" &amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i click a button in the 3rd jsp page , in the pageprocessor, i could able to access the controls within the current(3rd) jsp page only using method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InputField inputFld = (InputField)this.getComponentForId("input1");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is giving null for controls of jsp page1 &amp;amp; 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How cxan i access these controls data in the jspGynpage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is highly appreciable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Markandeya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2004 14:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaq-p/760829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-20T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760830#M220440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The id you give a htmlb element, is not the same which it uses in the create html. Therefore javascripts wont work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="http://devnetmedia.sap.com/html/submitted_docs/htmlbManuals/javascriptapi_dev.html" target="test_blank"&gt;http://devnetmedia.sap.com/html/submitted_docs/htmlbManuals/javascriptapi_dev.html&lt;/A&gt; for more info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the things taking up alot of space is the htmlb layout elements. If this is the reason you have such a big file you should considere using tables instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2004 07:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760830#M220440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-21T07:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760831#M220441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for giving such helpful link. This link certainly helpful to me while client side access. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is how to access all these controls in the server(Processor). I am able to access controls within the same form/jsp page from which event(button click) is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using htmlb layouts, page contains tabstrips, tableviews.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is how to access all these controls in the server(Processor). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Markandeya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2004 09:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760831#M220441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-21T09:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760832#M220442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, when you are using using multiple forms on a page, then only one of them will be posted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therfore, you cannot access all of the elements on the page from your server component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could "hack-it-up" by adding hidden inputfields to all forms which keep the information from the other forms (and their value is updated by javascripting). But this is not a good solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think you need to redesign the screen flow, or find some new way of having several jsp's on one page&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2004 09:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760832#M220442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-21T09:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760833#M220443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hidden fields concept seems to be good idea. But i am having lot of fields and tracking them using javascript on each event may be tedious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the http request/ any other way to access all fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of jsp action includes, if i use jsp static includes then also the 64 kb problem is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no solution, then i need to redisgn the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Markandeya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 May 2004 16:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760833#M220443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-22T16:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760834#M220444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we had the same problem, and maybe our solution will help :&lt;/P&gt;&lt;P&gt;our page contained a main tab strip with 5 items (tabs).&lt;/P&gt;&lt;P&gt;we broke the large JSP to 5 smaller JSPs the following way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSP1:&lt;/P&gt;&lt;P&gt;&amp;lt;some general code&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tab&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item1 title&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;item code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item2 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item3 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item4 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item5 title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSP2:&lt;/P&gt;&lt;P&gt;&amp;lt;some general code&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tab&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item1 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item2 title&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;item code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item3 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item4 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item5 title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSP3:&lt;/P&gt;&lt;P&gt;&amp;lt;some general code&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tab&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item1 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item2 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item3 title&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;item code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item4 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item5 title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSP4:&lt;/P&gt;&lt;P&gt;&amp;lt;some general code&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tab&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item1 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item2 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item3 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item4 title&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;item code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item5 title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSP5:&lt;/P&gt;&lt;P&gt;&amp;lt;some general code&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tab&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item1 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item2 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item3 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item4 title&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;item5 title&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;item code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, each of the 5 JSPs is significantly smaller than the original one we had, thus avoiding approaching the 64k limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were able to do it thanks to the fact that our user does not HAVE to see all fields at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 May 2004 07:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760834#M220444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-23T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760835#M220445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the http request only contains the fields from the form that was submitted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2004 09:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760835#M220445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-24T09:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760836#M220446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zach,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the same idea couple of days back, which solved the 64k problem.&lt;/P&gt;&lt;P&gt;Really good to see the same idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bu still i am facing jsp loading time considerbly high in comparision to external jsps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Markandeya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2004 07:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760836#M220446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-05-25T07:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760837#M220447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did face similar problem, with different circumstances,&lt;/P&gt;&lt;P&gt;though. What I did and which worked is ---&lt;/P&gt;&lt;P&gt;--Create a JSP file with all HTMLB tags and some dynamic&lt;/P&gt;&lt;P&gt;  include action tags, like &amp;lt;%@include file="xxx.jsp" %&amp;gt;.&lt;/P&gt;&lt;P&gt;  This JSP page will have content, page, form etc. tags&lt;/P&gt;&lt;P&gt;  beginning along with their closing end too.&lt;/P&gt;&lt;P&gt;--Create the xxx.jsp, yyy.jsp files which simply have &lt;/P&gt;&lt;P&gt;  normal HTMLB tags, NO content, page, form tags. In these&lt;/P&gt;&lt;P&gt;  pages you can make use of Java/JSP object references&lt;/P&gt;&lt;P&gt;  from the enclosing JSP page, since this page runs in the&lt;/P&gt;&lt;P&gt;  same context as the enclosing page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have separated a big JSP page in to several small&lt;/P&gt;&lt;P&gt;JSP pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether this answers your problem though,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2004 20:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760837#M220447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-07-29T20:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing user input data from multiple external jsp includes</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760838#M220448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution you are splitting the jsp pages in this approach is static include using &amp;lt;%@include file="xxx.jsp" %&amp;gt;. At the time of compilation main jsp will includes all its child jsps in a single  jsp/servelet. This approach we can not avoid 64K problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dymnamic include using action tag &amp;lt;jsp:include  /&amp;gt;&lt;/P&gt;&lt;P&gt;Will not incude the child jsps in Master jsp but runs as&lt;/P&gt;&lt;P&gt;separate/external servlet. (this will reduce code content of single jsp). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have any solution with Dymnamic include , pl let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Markandeya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2004 13:50:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-user-input-data-from-multiple-external-jsp-includes/qaa-p/760838#M220448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-17T13:50:00Z</dc:date>
    </item>
  </channel>
</rss>

