Can't retrieve POST parameters...

Hi,
I have this problem: from an HTML page I call a Servlet via a form like this:
<form name="richiesta" method="post" action="servletName">
<input type="hidden" name="in_file" value="00009177.doc">
<input type="hidden" name="port" value="8787">
</form>
In the Servlet I retrieve the parameters with request.getParameter("paramName");
With Tomcat3.x everithing goes well, but with Tomcat 4.0.3 I can't retrieve the parameters in the Servlet: every getParameter returns "null", and printing all with
for (Enumeration namesList = request.getParameterNames(); namesList.hasMoreElements();)
String curName =(String)namesList.nextElement();
System.out.println("Param "+curName+" value: '"+request.getParameter(curName)+"'");
prints nothing!
I really can't figure out where to look for a solution. Any help is welcome!

All parameters are sent as Strings. You must explicitly
convery at servlet side before using them.
Is this the problem ?

Similar Messages

  • NestedRuntimeException: can not parse POST parameters of request

              Hi,
              I am using WL 4.5 service pack 11. The following error occurs when a second JSP page is forwarded to from the first page (ie 5.5):
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException: cannot parse POST parameters of request /
              Optimum/transarranger/step2_via.jsp
              - with nested exception:
              [java.net.SocketException: Connection reset by peer]
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.lang.RuntimeException.<init>(RuntimeException.java:50)
              at weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.j
              ava:23)
              at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(Compiled
              Code)
              at
              at
              at jsp_servlet._Optimum._transarranger._step2_95_via._jspService(Compile
              d Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.JSPServlet.service(JSPServlet.java:132)
              at javax.servlet.http.HttpServlet.service(Compiled Code)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
              Does any one know how to fix this problem?
              Thanks!
              Chengwei
              

              Hi
              We are using Weblogic 5.1 service pack 10. We are seeing the same error sometimes.
              Any reason/solution to this?
              thanks
              Sri
              "Chengwei" <[email protected]> wrote:
              >
              >Hi,
              >
              >I am using WL 4.5 service pack 11. The following error occurs when a
              >second JSP page is forwarded to from the first page (ie 5.5):
              >
              >--------------- nested within: ------------------
              >weblogic.utils.NestedRuntimeException: cannot parse POST parameters of
              >request /
              >Optimum/transarranger/step2_via.jsp
              > - with nested exception:
              >[java.net.SocketException: Connection reset by peer]
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.lang.RuntimeException.<init>(RuntimeException.java:50)
              > at weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.j
              >ava:23)
              > at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(Compiled
              > Code)
              > at
              > at
              > at jsp_servlet._Optimum._transarranger._step2_95_via._jspService(Compile
              >d Code)
              > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
              >Code
              >)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              >C
              >ode)
              > at weblogic.servlet.JSPServlet.service(JSPServlet.java:132)
              > at javax.servlet.http.HttpServlet.service(Compiled Code)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
              >Code
              >)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              >C
              >ode)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              >C
              >ode)
              > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              > at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
              >
              >Does any one know how to fix this problem?
              >
              >Thanks!
              >Chengwei
              

  • How to retrieve Post Parameter

    Hi All,
    I am new to JSF..I need to retrieve Post parameters from plain HTML pages.
    Once i receive the post parameter in JSF then i need to validate one of the parameter and redirect user to diffrent pages based on the parameter value.
    What is the best way doing this scenario..
    The source of the parameters are from HTML pages comes from diffrent locations..
    Any help would be highly appriciated..

    Try the following code snippet to access request parameters:
    FacesContext facesContext = getFacesContext();
    ExternalContext externalContext = facesContext.getExternalContext();
    Map requestMap = externalContext.getRequestMap();Now that you have the request map, you can retrieve any of the request parameters using:
    <ObjectType> parameter = <ObjectType>requestMap.get(<ParameterName>);where <ObjectType> is the data type of the request parameter and <ParameterName> is the name of the request parameter.

  • Help!!! What's wrong with this code. JSP page can't retrieve properties.

    I'v got a piece of code that was created to send some parameters to JSP page via POST method. But in server page I can't retrieve this parameters, please help me and try to find "main" bug in this code.
    try {
    URL url = new URL("http://localhost/index.jsp");
    HttpURLConnection httpCon = (HttpURLConnection)url.openConnection();
    httpCon.setRequestMethod( "POST" );
    httpCon.setDoOutput( true );
    String body = URLEncoder.encode("name=Oleg", "UTF-8");
    httpCon.setRequestProperty( "Content-length", Integer.toString( outBody.length() ));
    httpCon.setRequestProperty( "Content-type", "application/x-www-form-urlencoded" );
    OutputStream os = httpCon.getOutputStream();
    PrintWriter ow = new PrintWriter( os );
    ow.print( body );
    ow.flush();
    ow.close();
    } catch (....) {
    }

    Hi
    You must not encode all the body just the values of the parameters.
    You can do as following in order to send a post request with 2 parameters
    String param1 = "Co & sons";
    String param2 = "ltd.";
    String encParam1 = URLEncoder.encode(param1,"UTF-8");
    String encParam2 = URLEncoder.encode(param2,"UTF-8");
    String body = "param1="+encParam1+"&param2="+encParam2;
    OutputStream os = httpCon.getOutputStream();
    PrintWriter ow = new PrintWriter( os );
    ow.print( body );
    ow.flush();
    //read the response from the jsp
    InputStream inS = httpCon.getInputStream();
    byte[] buff = new byte[5000];
    StringBuffer sbuff = new StringBuffer();
    int nrBytes ;
    while( (nrBytes = inS.read(buff, 0, 5000))!=-1) {
      sbuff.append(new String(buff,0,nrBytes));
    inS.close();
    ow.close();
    ...This is the jsp page which gets the parameters
    <%
         String param1 = request.getParameter("param1");
         param1 = new String(param1.getBytes(),"utf-8");
         String param2 = request.getParameter("param2");
         param2 = new String(param2.getBytes(),"utf-8");
    %>I hope I helped you.
    Regards,
    BG

  • Howt to retrieve the parameters sent from an iView in WDA

    Hi,
    I´m sending some parameters form the Portal iView containign the WDA component, how can I retrieve the parameters sent in to my webdynpro ABAP development.
    Kind Regards,
    Gerardo J

    Hi Gerado,
    Go to the window in your WD ABAP component.
    Declare those parameters as importing type in HANDLEDEFAULT method.
    You will receive the values at runtime in these parameters.
    Please check this wiki also. It tells about reading URL parameters in WD ABAP but it will work the same way for iView paramters.
    [http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP]
    I hope it helps.
    Regards,
    Sumit

  • Encoding problem in call-back to hook URL (post parameters)

    Hello all,
    I'm encountering a character encoding problem while retrieving the content of the shopping basket from one of our provider.
    After the POST request is made by the provider to our system using the hook url, when debbuging I can see that some special characters are represented with the sign '#' (after the call the ITS_IMPORT_CONTEXT).
    In our case using the parameter http_content_charset with various values, including UTF-8, did not change the result.
    Inspecting the HTTP traffic has highlighted the following: the encoding received from the provider is related to UTF-8, but while we are expecting the hexadecimal values, we are receiving the "Unicode code points", which are not recognized by our SAP system. For more details look at the UTF-8 encoding table found here and compare the values under column "Unicode code point" with the one under column "UTF-8 (hex.)".
    As an example, for the character 'é', we are receiving the value "%E9" (the code point) instead of receiving the the hexa value : "%C3%A9".
    Do you have any idee if this can be corrected on our side or if the provider must addapt the way it's sending the POST parameters?
    Many thanks in advance for you help.
    Best regards,
    Jerome.

    Hi Jason,
    Indeed I had contacted the provider and informed them about the encoding problem and the fact that passing the parameter http_content_charset had no effect on the sent back encoding.
    They have taken into account my request and have changed the encoding used during the request to the HOOK_URL.
    Thanks to all of your for your help.
    Regards,
    Jerome.

  • Absolute navigation using post parameters

    Hi All
    I am navigating from WD4A iview to WD4J iview through absolute navigation and passing some parameters.
    I am expecting that these parameters size might be large. Is there is any restriction on the size of the parameters that i can pass in these method.Can i use postparameters to  overcome this restriction on size. If i use postparameters is there any restrictions on that.
    Can someone please post some helpful info or code examples to work with post parameters (Retrieving the parameters in the receiving application). Is other any other work around apart from these options.
    Thanks,
    Karthik.

    Hi,
    Check the following Threads related with retrieval of Post parameters in WD:
    How to send data from Web dynpro App to JSP or vice versa
    Re: jsp and web dynpro
    Siddharth

  • I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported.  How can I retrieve them?

    I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported.  How can I retrieve them"?

    Here is a post I assembled for another with a similar problem:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PPC software or Lion/Mt. Lion;
    3. Upgrade to an Intel compatible versions of your software, or find alternatives that will open your data files;
    3.  Install Snow Leopard (with Rosetta) into Parallels:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • How can I retrieve my account I forgot my security question?

    Please I want to make a purchase online through my iPad, but I couldn't due to some problem that is related to my ID. How can I retrieve my account? I forgot my security questions

    From an older post by King_Penguin:
    If you can't remember the answers to the security questions, then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Security' and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox).

  • How to know the Post parameters of a form?

    Hello
    I am developing an application where, I have to login to web site, etc. I am newbie in this kind of development. I can access the web page, retreive the page. So, GET part is working fine. I have problem with Post. I am using JDK 1.6 with apache's HttpClient 3.1 for communicating through the web site. After setting parameters in NameValuePair[], when i run execuseMethod(postMethod), it throws the following exception :
    i]Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: host parameter is null
    I think, I may be going wrong in providing proper headers, parameters, etc. Can anyone help me know:
    1. How can I know what parameters, I need to pass in the POST method. Along with form attributes, their may be any hidden values to be passed. How can I find out that.
    2. Their is a submit button, how do i deal with that - tell the post method to click it ?
    3. Same with headers. Which attributes needs to be set of headers and what values?
    I saw some files on net, where prg'er are adding few other parameters that are hidden - but not all hidden parameters!
    Any help is appreciative. Please it would be nice if you can help me out. I am new in this type of development. I have spend 2 days looking out for this problem, but couldn't find any help yet. Please any help at the earliest is benificial.
    Thanks
    Terry

    Ok. To check the host before executing the post methd, I gave :
            HttpConnectionManager connectMgr = client.getHttpConnectionManager();  // ************
            HostConfiguration hc = client.getHostConfiguration();                                 // *************
            if (connectMgr.getConnection(hc).isOpen() == true)                                  // EXCEPTION - hc contents r null
                System.out.println("Connection is OPEN");
            else {
                System.out.println("Connection is ******************* NOT OPEN *************** ");
            method.setRequestBody(data);
            int statusCode = 0;
            try {
                statusCode = client.executeMethod(hc, method);
                System.out.println("Register Send: " + method.getStatusLine().toString());
            }catch (HttpException e) {
                method.releaseConnection();
                System.out.println("HTTP EXception : " + e.getMessage());
            }catch (IOException ie) {
                method.releaseConnection();
                System.out.println("Error Exe Method - Post. Status Code = " + statusCode);
                ie.printStackTrace();
            }HttpConnectionManager has hostname, portNo, httpconnectin isopen -> false
    HostConfiguration has host, port, localAddress all null
    Due to the null value the exception is thrown. What do I do now? Infact, in my GEt also, I tried the same thing, their also host is null of HostConfiguration, but it works well, as it doesn't have to send anything.I have no clue to move ahead.Also, what must be the content length?
    Thanks

  • HT4007 I Just updated Apeture to 3.3.2  Now there are some photos that I receive a message..."Unsupported Image Format"  Are there lost?  can I retrieve them?  can I change the format?  Help...?!?

    I just updates Apeture to version 3.3.2 after installing Mountain Lion.  There are some photos in Apeture that now say, "Umsupported Image Format".  Are these lost?  Can I retrieve them...how?  Can I change the format so that I can see them again?  Help?!?

    Are these images "Raw" images? What is the make of your camera?
    Check the version of the Digital Camera RAW Compatibility Update that is installed.  The version of the raw support is shown in the About panel: from the main menu bar:
         Aperture > About Aperture
    Download the latest Raw Update from here:
    Digital Camera RAW Compatibility Update 3.14
    If you have the latest raw support installed, but Aperture does not recognize the format, try to register the raw support for your camera with the launch services db, see this post by Alan Roseman:
               Re: Aperture 3 preview of raw file greenish
    But also read the following post, that explain how this is supposed to work and to correct the typo in the command
    In short: Quit Aperture, open the terminal, paste the  follwing text in (all in one single line) and hit return; then reboot the system.
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -R /System/Library/CoreServices/CoreTypes.bundle/Contents/Library
    Regards
    Leonie

  • Can real estate post without a tax code?

    Hi there
    My client has a number of G/L accounts which have the flag/indicator "Posting without tax allowed".
    How can I configure the SAP REFX tax codes to post using no tax indicator.
    If you leave the tax code blank in the config, it reports that the sales tax is "inconsistent".
    Regards
    Joe

    Hi Joe,
    For Real Estate you can configure tax code  in the following customization path as given:
    Go to the t-code RECACUST:
    Accounting> FI Documents related to RE> Taxes> Assign Tax Codes.
    Here, you can maintain the combination of Country+ Tax Type + Tax Group + Valid From.
    So, you can maintain valid tax code with 0 VAT.
    The same can now be selected in the RE contract in the posting parameters tab.
    Thanks & Regards
    Shantanu

  • Hiding POSTed parameters in v2

    Hi:
    I have a portal which contains tabbed pages. My problem is that within those tabbed pages I have jsp portlets which contain forms. When I submit the form, the data gets posted correctly, but when I change to another tabbed page, all the form variables are submitted in the URL to the new page. How do I prevent POSTed form variables from being added to the URL??
    Regards
    Gareth Cantrell

    I'm using 9iAS 9.0.2
    I used an example from PDK January
    here is the JSP (bank.jsp):
    <%@page import="java.util.*, oracle.portal.provider.v2.*" %>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
    <%
    String paramAmount = "Amount";
    String paramAction = "Action";
    PortletRenderRequest portletRequest =
    (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <b>This portlet shows how to use the passUrlParams flag and
    unqualified, transient parameters to perform a portlet action.</b>
    // The account transfer is performed by submitting the following form
    <form method="POST" action="<%= HttpPortletRendererUtil.htmlFormActionLink(
    request,PortletRendererUtil.PAGE_LINK) %>">
    <%= HttpPortletRendererUtil.htmlFormHiddenFields(request,PortletRendererUtil.PAGE_LINK) %>
    <table>
    <tr>
    <td>
    <b>Amount $</b>
    </td>
    <td>
    <input type="text" size="20" name="<%= paramAmount %>" value="">
    </td>
    </tr>
    </table>
    <br>
    <INPUT TYPE=submit name="<%= paramAction %>" Value="Transfer">
    </form>
    // Parse the inputs to see if a transfer should be performed
    <%
    if (portletRequest.getParameter(paramAction) != null)
    String submittedAmount = portletRequest.getParameter(paramAmount);
    if (submittedAmount == null || submittedAmount.trim().length() == 0)
    %>
    <b>Please specify an amount!</b>
    <%
    else
    try
    double amount = Double.valueOf(submittedAmount).doubleValue();
    if (amount != 0)
    %>
    <b>Successfully transferred $<%=submittedAmount%>.</b>
    <%
    catch (NumberFormatException e)
    %>
    <b>Invalid amount.</b>
    <%
    %>
    here is my provider.xml:
    <?xml version="1.0" encoding="ISO-8859-2" standalone="yes"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>Parampass</name>
    <title>Parampass</title>
    <shortTitle>Parampass</shortTitle>
    <description>Parampass portlet.</description>
    <timeout>240</timeout>
    <timeoutMessage>Parampass portlet timed out.</timeoutMessage>
    <showLink>false</showLink>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>true</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <defaultLocale>hu.HU</defaultLocale>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>parampass.jsp</showPage>
    <pageParameterName>parampass_next_page</pageParameterName>
    </renderer>
    </portlet>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>2</id>
    <name>Paramrecv</name>
    <title>Paramrecv</title>
    <shortTitle>Paramrecv</shortTitle>
    <description>Paramrecv portlet.</description>
    <timeout>240</timeout>
    <timeoutMessage>Paramrecv portlet timed out.</timeoutMessage>
    <showLink>false</showLink>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>true</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <defaultLocale>hu.HU</defaultLocale>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>paramrecv.jsp</showPage>
    <pageParameterName>paramrecv_next_page</pageParameterName>
    </renderer>
    </portlet>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>3</id>
    <name>Bank</name>
    <title>Bank</title>
    <shortTitle>Bank</shortTitle>
    <description>Bank portlet.</description>
    <timeout>240</timeout>
    <timeoutMessage>Bank portlet timed out.</timeoutMessage>
    <showLink>false</showLink>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>true</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <defaultLocale>hu.HU</defaultLocale>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>bank.jsp</showPage>
    <pageParameterName>bank_next_page</pageParameterName>
    </renderer>
    </portlet>
    </provider>
    When I press the submit button, the transient parameters are passed, but when I refresh the page the transient parameters are also passed.
    When I make two TAB pages in the portal, and navigate between them, the behavior is the same.
    Here is my URL after opening the tab page in a new navigator window:
    http://portal2.eurotrend.hu:7777/portal/page?_pageid=73,31262,73_35033&_dad=portal&_schema=PORTAL&Amount=50&Action=Transfer
    You can see the transient parameters in the URL!
    I click the tab after submit.
    This happens in IE 5.5 and IE 6.0
    Thanks in advance!

  • JEditorPane can't handle POST from HTML form?

    I posted this before but i never got an answer so i'll try again :-)
    Im running a tomcat server were i have a jsp script that uploads files to the server. What i need to do to is to use a regular java application for the rest of the "project" im working on.
    And i can get the JSP page to be displayed properly using JEditorPane but i cant get the html FORM POST in the JSP to execute... i dont know if theres some limits in JEditorPane or if im just using the wrong type of approach on this one.
    This is the server
    http://chilly-schrimp.kicks-ass.org/uploadbean/SimpleUpload.jsp
    (only works if my computer is turned on)
    Heres the code:
    =======================================================================
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    public class JSPtest {
    public static void main(String[] args) {
    JEditorPane pane = null;
    try {
    pane = new JEditorPane("http://chilly-schrimp.kicks-ass.org/uploadbean/SimpleUpload.jsp");
    catch (IOException ex) {
    ex.printStackTrace(System.err);
    System.exit(1);
    pane.setEditable(false);
    // Add a hyperlink listener.
    final JEditorPane finalPane = pane;
    pane.addHyperlinkListener(new HyperlinkListener() {
    public void hyperlinkUpdate(HyperlinkEvent ev) {
    try {
    if (ev.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
    finalPane.setPage(ev.getURL());
    } catch (IOException ex) { ex.printStackTrace(System.err); }
    JFrame frame = new JFrame();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setContentPane(new JScrollPane(finalPane));
    frame.setSize(350,400);
    frame.setVisible(true);
    =======================================================================
    any suggestions??
    thanx
    /eric

    I am using request.getParameter(passed variable name)
    to pass data from HTML form to JSP with no problem.
    WHen I try to pass data from HTML form of
    multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm"
    method="post"
    ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
    -cts/stringsecond.jsp">
    The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
    How can I pass data successfully from this form to
    JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
    How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
    robert

  • Image Document Service Connector: Can't retrieve metadata from jpeg image

    I'm using SES 10.1.8.4 with the Image Document Service Connector.
    I've entered some metadata IPTC in a buch of images (with picasa, for instance) and added a new file datasource combined with a new pipeline as explained in the Patch Set Readme (p7514463_101840_WINNT)
    After indexing, I can't retrieve nothing of my images with a simple search.
    Did anybody make tests with this new feature ?
    Thank you in advance,
    Patrick.

    Ok, I havn't read all your code because it's quite a lot and I might have the answer for you already.
    Maybe the problem is that your Nokia is still connected to your computer.
    I had the same problem on my Nokia 6021. I installed my app through the Nokia PC Suite. And it showed all the devices, but it couldn't find any services on any of the devices. Which was strange because most devices have some standard services running. The problem was that after installing the app, the Nokia was still connected/paired with the PC. After deleting the pairing, services magically appeared.
    I hope this solves your problem (more than six months after your post ;) ).

Maybe you are looking for

  • ALV OM - keep filter while deleting lines from ALV

    Dear all, I'm using an ALV (cl_salv_table) to get a proposallist of materials and substances to be linked. When a material is linked to a substance, all lines for this material are deleted from the ALV. So far, so good. When a user sets a filter on a

  • How do I delete an email account on ipad

    I have switched internet providers and cannot seem to delete my former email address which is associated with my former acct. id.  I have changed my email address and account info in itunes and for my apple account but this is not  translating to my

  • Moved to ixwebhosting and none of my links work. Not Impressed!

    I moved over to ixwebhosting and the transition was easy but now all the links I've spent planting around the world are sent to another site. Not impressed! Unless one types in the url into the browser one get transported to generic sites that use si

  • Snc/enable parameter problems

    Hello, The basic problem that we are facing is oss connection (RFC connection?) to sap from Solution Manager. To solve this, we activated parameter snc/enable=1 accordin Activating SNC on the SAP System Application Server manual. Then we stopped solm

  • Recover standby database after primary failed

    Hi, I'm having 11g setup with 2 standby databases.  My scenario is i'm doing failover on one standby[new primary] and converting old primary as a standby.  Question is what is the status of another standby? have to create new standby or can recover u