Can't See request Parmeters in Multi Page JSP

Hi,
I have a multipage portlet in which a simple JSP submits to another JSP. The JSP is submitted fine but for some reason I am unable to see the form parameter (a text box) in the 2nd JSP.
following is snippet from first JSP:
<%
     PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
     String actionString = UrlUtils.parameterizeLink(prr, UrlUtils.PAGE_LINK, HttpPortletRendererUtil.portletParameter(prr, "next_page") + "=/htdocs/testsubmit.jsp");
%>
<%= new java.util.Date() %></p>
<form name="sample" action="<%=actionString %>" method="post">
<%=UrlUtils.htmlFormHiddenFields(prr, UrlUtils.PAGE_LINK) %>
<input type="text" name="sampletext1" value="" size="20" maxlength="40">
<input type="submit" name="samplesubmit1" value="Submit">
</form>
following is the second JSP accesing the request variable "sampletext1"....I see the static string but the request parameter comes out as null..
<body>
<h2>
The submitted text is:
</h2>
<p>
<%= request.getParameter("sampletext1") %></p>
</body>
Can anyone point me to the problem here?..
Thanks,
Chirdeep.

Hi.
Trying to use this code.
<%
PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
String actionString = UrlUtils.parameterizeLink(prr, UrlUtils.PAGE_LINK, HttpPortletRendererUtil.portletParameter(prr, "next_page") + "=/htdocs/testsubmit.jsp");
String f_sampletext1 = HttpPortletRendererUtil.portletParameter(request, "sampletext1");
%>
<%= new java.util.Date() %></p>
<form name="sample" action="<%=actionString %>" method="post">
<%=UrlUtils.htmlFormHiddenFields(prr, UrlUtils.PAGE_LINK) %>
<input type="text" name="<%=f_sampletext1 %>" value="" size="20" maxlength="40">
<input type="submit" name="samplesubmit1" value="Submit">
</form>

Similar Messages

  • How can i see visitor statistics for web page hosted on osx lion server

    Hello
    how can i see visitor statistics for web page hosted on osx lion server
    Thanks
    Adrian

    Just click inside the url address bar. Full url address highlighted, will appear.
    Best.

  • Can't See New Type on My Page

    I'm having trouble with DW5.5 on Mac OS 10.6.8. I'm trying to update my resume and when I type in my new info, "Is This How I Look?" I can't see it on my design page, but it shows up on the code page. Here is the code from the top of the page and following is the line of code with the new copy in it. My url is http://www.deborahdavisdesign.com/.
    Thanks for any help.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/basic_page.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Resume</title>
    <!-- InstanceEndEditable -->
            <p><span class="subhead">2011</span><br />
                    <span class="show_name">Is This How I Look?<span class="resume_text"></span></span><br />
                    </p>

    Hi, Jtanna. I did the best I could per your instructions. Here is the link to the test page.
    http://deborahdavisdesign.com/resume_Test.html
    I noticed that all of the copy in the resume in Bold Ital does not show up on my Design View, but does in Code View and on the site. When I created this site, I used CSS and assigned a style to all text. Now, when I put in an insertion point in my text in Design View I can see the assigned style. But I cannot select just one word or a phrase, the entire line of copy is selected when I click and drag. And when I am forced to select the entire line of copy, no CSS style shows up then.
    Here is a screen shot showing the missing copy in Design View. If you compare that to the website, you will see that all the Bold Ital heads are missing.
    Not sure if this is a CSS issue, or an upgrade issue, or old code from CS2 messing it up. Thanks SO much for helping me out. Looking forward to getting this figured out.

  • When working in my photo album in iphoto my photos are replaced with a grey box and an !. I can't see the image on the page.

    Lately when I am working in my photo album in iPhoto my images are replaced with a grey box and an ! . I can't see the images on the page. All my photos are high quality.  What am I doing wrong?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • I can't see any wrote on firefox page. But when open safe mod (with shift because there is no wrote ) firefox run normally.

    i can't see any wrote on firefox page. But when open safe mod (with shift because there is no wrote ) firefox run normally.

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/

  • How can I convert digitally signed PDF's so I can combine them into a single multi-page PDF?

    We are an architectural firm and we receive drawings from consultants as PDF's that are digitally signed.  In order to combine all of our drawings into a single PDF, we currently send the PDF's to a printer, have them printed, and scan them as new PDF's.  This process reduces the clarity of the PDF and re-printing the scanned PDF's reduces the clarity even further.  Is there a way to "flatten" or otherwise convert the digitally signed PDF's so we can combine them into a single multi-page PDF?  Making a portfolio is not an option.  We need an actual multi-page PDF for a variety of reasons.  This problem is actually preventing our office from using digital signatures so any help would be greatly appreciated.

    You can't. There was a discussion on this Forum a few months ago on this subject. Look it up for more info.

  • PC's can't see all of my .html page but my mac does.

    RE: http://www.todaysipnchat.sipnchat.ca/table.html
    Can anyone help me figure out why my web page is only partially visible to PC's? I built the page with Site Studio 1.7 on my Linux Server and have a table page with the top and right bottom tables visible to PC's but the contents of the bottom right table (which is an embeded adobe.jpg/.html file) is only visible on my mac.
    {<embed src="http://www.todaysipnchat.sipnchat.ca/0901_06/page1_09_0106.html" width=850 height=1200></embed>}
    (is my HTML code correct for embeding a page within a table)?
    What throws me is why can I go to the URL with Safari on my mac and see the whole page, links and all but PC's can't see the .html file? And if I try to email myself the contents of the page it shows up blank even on my mac....below is the code to my page and my .html file> if that helps.....THANKS IN ADVANCE ANYONE!!!!
    http://www.todaysipnchat.sipnchat.ca/table.html >>>:(
    <!-- BOF: ./personal-templates/show.body -->
    <!-- BOF: ./personal-templates/simple/generic/show -->
    <!-- BOF: ./personal-templates/rtl.html -->
    <!-- Locale=enUS_ISO88591 -->
    <!-- EOF: ./personal-templates/rtl.html -->
    <!-- BOF: ./personal-templates/simple/generic/functions -->
    <!-- BOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/navbar -->
    <!-- EOF: ./personal-templates/simple/generic/functions -->
    <!-- EOF: ./personal-templates/simple/generic/show -->
    <!-- BOF: ./personal-templates/simple/generic/images -->
    <!-- EOF: ./personal-templates/simple/generic/images -->
    <!-- BOF: ./personal-templates/simple/personal/other/l15.settings.init -->
    <!-- EOF: ./personal-templates/simple/personal/other/l15.settings.init -->
    <!-- BOF: ./personal-templates/simple/personal/layout/l15.wait -->
    <!-- EOF: ./personal-templates/simple/personal/layout/l15.wait -->
    <html>
    <head>
    <meta name="description" content="">
    <meta name="Keywords" content="">
    <!-- personal -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="">
    <!-- BOF: ./personal-templates/simple/themes.show -->
    <!-- EOF: ./personal-templates/simple/themes.show -->
    <!--<BASE HREF="http://d8669406.he103.hostexcellence.com/table.html">-->
    <title>Page 1</title></head>
    <body bgcolor="#FFFFFF"
    text="#336633"
    leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"
    onLoad=""
    link="#000000"
    vlink="#000000"
    alink="#000000"
    <div class="jive-quote">
    <!-- BOF: ./personal-templates/simple/personal/layout/l15.layout -->
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="101">
    <table dir="LTR" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td align="left" width="492"></td>
    <td align="right" valign="middle" width="100%" background="widgets/gen_1.1.gif" height="79"></td>
    </tr>
    <tr>
    <td colspan="2" width="100%" bgcolor="#336633" align="left" height="16">
    </td>
    </tr>
    <tr><td colspan="2" bgcolor="#FFFFFF" height="2"></td></tr>
    <tr><td colspan="2" bgcolor="#336633" height="4"></td></tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" width="100%" height="80%">
    <!-- BOF: ./personal-templates/simple/personal/table/html -->
    <table align="left" cellspacing="0">
    <tr> <td colspan=2 rowspan=1 valign="top"><!-- BOF: ./personal-templates/simple/personal/table/cell/html -->
    Sorry Under Construction...Please return in a few [email protected]
    <!-- EOF: ./personal-templates/simple/personal/table/cell/html -->
    </td>
    </tr>
    <tr> <td colspan=1 rowspan=1 valign="top"><!-- BOF: ./personal-templates/simple/personal/table/cell/html -->
    <embed src="http://www.todaysipnchat.sipnchat.ca/0901_06/page1_09_0106.html" width=850 height=1200></embed>
    <!-- EOF: ./personal-templates/simple/personal/table/cell/html -->
    </td>
    <td colspan=1 rowspan=1 valign="top"><!-- BOF: ./personal-templates/simple/personal/table/cell/html -->
    <embed src="http://www.visionblazer.com/xp/users/mickey/movies/project1.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed><embed src="http://www.visionblazer.com/xp/users/mickey/movies/project2.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed><embed src="http://www.visionblazer.com/xp/users/mickey/movies/project3.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed><embed src="http://www.visionblazer.com/xp/users/mickey/movies/project4.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed>
    <!-- EOF: ./personal-templates/simple/personal/table/cell/html -->
    </td> </tr>
    </table>
    <!-- EOF: ./personal-templates/simple/personal/table/html -->
    <center>
    <nobr>|Today's Sip'n'Chat Online!|</nobr>
    <nobr>|Page 1|</nobr>
    <nobr>|Page 2|</nobr>
    <nobr>|Page 3|</nobr>
    <nobr>|Page 4|</nobr>
    <nobr>|Page 5|</nobr>
    <nobr>|Page 6|</nobr>
    <nobr>|Page 7|</nobr>
    <nobr>|Page 8|</nobr>
    <nobr>|Page 9|</nobr>
    <nobr>|Page 10|</nobr>
    <nobr>|Page 11|</nobr>
    <nobr>|Page 12|</nobr>
    <nobr>|Home|</nobr>
    <nobr>|Archives|</nobr>
    </center>
    <center><table border="0" cellpadding="0" cellspacing="3"><tr><td align="center">
    MtM 2006
    </td></tr></table></center>
    </td>
    </tr>
    <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td bgcolor="#336633" height="3"></td></tr>
    <tr><td align="right" valign="middle" background="widgets/gen_1.1.gif"> </td></tr>
    </table>
    </td>
    </tr>
    </table>
    <!-- EOF: ./personal-templates/simple/personal/layout/l15.layout -->
    <!-- BOF: ./personal-templates/simple/themes.show.body -->
    <!-- EOF: ./personal-templates/simple/themes.show.body -->
    </body>
    <!-- BOF: ./personal-templates/simple/themes.show.end -->
    <!-- EOF: ./personal-templates/simple/themes.show.end -->
    </html>
    <!-- EOF: ./personal-templates/show.body -->
    AND NOW THE .html file>>>>
    <html>
    <head>
    <title>page109_0106</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- ImageReady Slices (page109_0106.jpg) -->
    <table id="Table_01" width="613" height="792" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="5">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td colspan="5">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td colspan="5">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td rowspan="4">
    </td>
    <td rowspan="2">
    </td>
    <td colspan="3">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td rowspan="3">
    </td>
    <td rowspan="2">
    </td>
    <td rowspan="3">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td rowspan="2">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    </td>
    </tr>
    </table>
    <!-- End ImageReady Slices -->
    </body>
    </html>

    THANK YOU!!! I am just learning how to cut and paste; someone just gave me this solution: <iframe src="http://www.todaysipnchat.sipnchat.ca/0901_06/page1_09_0106.html" width="750" height="800"></iframe>
    I'll give this a try next...I also discovered that my mac is set at 1440 X 900 (I'm new to Macs too) and I was going more on how things looked on my (only computer) when I should have been paying attention to settings for different Browsers. Now I need to figure out what are the best overall sizes and settings to set things at...any sugestions?
    What I have been doing is: taking a .pdf sent to me originally made in Pagemaker Pro 7 --I open it in PhotoShop 8.5 X 11 300dpi I reduce to 72 dpi save for web in slices with images and HTML producing for me a 612 x 792 pixel page... I have a basic 2 col x 2 row table page produced on my hosting server(Site Studio) -in one of three cells I place the header then below left the .html and in the other cell to it's right I place several 336 x 280 flash animations all with the <embed> tags....this obviouly hasn't worked too well...but 750 + 336 is just under 1100 so shouldn't that be ok over all for most of todays Browsers? I don't mind the scroll bar vertically appearing as it makes room for more banner ads down the side (I think).
    A PC opinion of http://www.todaysipnchat.sipnchat.ca/page109_0106.html would be appreciated anyone out there as I don't have one to check things outfirsthand.... Thanks again for all your support - people like me couldn't get off the ground without you!........MtM

  • Can's see more than 10 home pages on my iPad

    Hello,
    Strange thing.. I have so many Apps that I can't see them on my iPad anymore. It seems we can only have 10 home pages on the iPad?
    If I connect the iPad to itunes, I DO see the 11th homepage. How do I get to see the 11th home page on my iPad?
    Thanks!
    Patrick

    chaznsc wrote:
    The limit is 10...
    According to p.13 of the _iPad User Guide_: +"You can create up to 11 screens."+

  • I can't access older emails on Hotamail and I can't see photos on peoples Facebook pages

    I can only see emails on the current screen of Hotmail, I cannot go to older emails. Also, I cannot view photos on Facebook pages. When it says "view album", only empty squares appear.

    Turn off restrictions

  • Can't see the bottom of itunes page

    When I open iTunes I can only see the bottom of the itunes page when I open it as a full page screen. Are there any ways I can change this?
    Many thanks.

    James,
    Try moving (click and drag) the bar at the bottom of the playlists up making that area smaller. The songs should show up under it.
    Hope this helped!
    Sam

  • How can I see 2 or more web pages on my screen at once?

    Although I can open multiple windows in Safari, I can't see them side by side.  How can I do that?  It must be possible.

    While you have 2 or more panels open, select one of them.
    Click on Window and select move Panel in a new window.

  • How can I see the URL for a page opened in the new version of safari?

    Sometimes I like to copy the URL for an article I find on the web.  The new version of Safari doesn't seem to show the URL.  How can I see it?

    Just click inside the url address bar. Full url address highlighted, will appear.
    Best.

  • I can not see some parts of web pages, some things are visible others not.

    In my mail program most of everything is viewable but the different styles that are available to use above the body of the message are not able to be seen. I can run my mouse over the different spots in the cell to see what that space is but you cant see it. On some web pages that I shop on all the details are available but the buy now button may be doubled and overlapped or just not visible. If I scroll with my mouse over the open areas I can usually find it but not see it. The screen also looks very bright, I've tried to change the colors to try to get the missing data to show but it's been no help. Oh, even now the button to submit this is not visible and the troubleshoot information box is only visible when scrolling over it. Thanks for any help

    See:
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • Can't see video on my web page, just click to play button...

    Hello!
    I just made my first video tutorial and created a Quicktime video. I also made it web ready, which created a folder with the "how to," a poster image, etc. I read the directions and viewed the code for adding it to my web site, but I am new to HTML, etc. and seem to be doing something wrong. All I get is the "Click to Play Button" when I view my page in the browser.
    I want to add a link on my blog that will open the page with the video on it in a browser window so it can be viewed. Like this one:
    http://cdn.libsyn.com/cspodcast/podcast-BR-flatview.mp4
    If anyone can help, here is the link to the page where I have the code:
    http://robenmariesmith.com/psactionstutorial.htm
    Much appreciated!!
    RM

    Here is what I did...
    1. I created the video in Snapz Pro. Then I saved it to my desktop.
    2. Next, I uploaded the image file, which is a .mov file to my web site. I put mine in a folder called img.
    3. Now this is the best part, go to this web site:
    http://cit.ucsf.edu/embedmedia/step2_qtv2.php?mediatype=QuickTime
    4. I selected Web Server and then went to the next screen. On the next screen, add the web server name and the file path. I am a newbie so I made the mistake of adding the entire file path. You only need to add the info. after the web name. Example:
    My web server is: http://www.robenmariesmith.com
    My file path is: img/tutorials/PSActionsTutorial.mov
    Select the pixel image size for your largest image for width and height.
    Make the other selections that it requests and click Submit.
    5. On the next screen you can actually test your media. If all is working, copy and paste the code into your web site.
    Let me know if you need any more help and I will help if I can!
    Cheers,
    RM

  • Desktop viewing - I can't see the bottom part of pages

    hi, when i load a program, e.g. garage band (not safari that works) it doesn't allow me to see the bottom of the screen - like the page is too big or it's been stretched, this means i can't get access to some of the major controllers. I've went through the system preferences and I can't work out how to put it back to what it was, i.e back to being able to see the whole screen or at least having a scroller. any help with this would be greatly appreciated.

    Couple things:
    If the screen is zoomed then hold down cntl and scroll down with the mouse or trackpad.
    If you've changed screen resolutions lately then in System Preferences > Displays > Display tab > scroll down the resolution list and select the bottom most entry. (the highest resolution ### x ###). Resize you apps then return it to whatever resolution you desire.
    Regards

Maybe you are looking for

  • Creation of Object Dependency (OD)

    Hi Gurus, Currently we have customized a program to create/update object dependencies. However we have a problem that sometimes the object dependency is deleted and not updated back. As we cannot simulate this all the time (especially during debuggin

  • "dynamic" String concat in Expression language

    I would like to do something like (in Java) String s = flag? "this" : value + "that";in EL it would be #{flag ? 'this' : value + 'that'} but this leads to an error because it tries to add as numbers and not concat as strings. how can I do this? thank

  • Hi, My brush tool is missing from the icons on photoshop 10, I only have Smart Brush Tool

    Hi,      My Brush Tool is missing from the icons on Photoshop 10, I only have the Smart Tool Brush. Where has it gone?

  • Bridge: ratings for photos

    Somehow I accidentally hit a key that put a "rating" on my photo (stars at the bottom) and I did this before without knowing and it said something in red letters noting it was a rejected picture, which it wasn't and each one I clicked on to view larg

  • Getting Custom LOV in SAP BW OLAP Universe

    Hi, My Requirement is to create a prompt where the end user is prompted to select a Custom group(which we have to manually put in prompt and is not available in SAP BW table) and the data should be filtered by the billing document type for that group