IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

HttpServletRequest getParameter returning null

  • 1.  HttpServletRequest getParameter returning null

    Posted Wed June 27, 2012 11:38 AM

    Dear All,

    Now i’m developing web apps in WebMethod Integration server. i’m using wmTomcat as the container. The application is almost done. But now i’m facing a problem with this application and i don’t know how to solve it… The problem is i can’t get the parameter value that was thrown by the jsp file if i’m not login to the IS Console first.

    Let say i have form login in [url]http://10.24.199.21:7777/web/myPackage/apps/formLogin.jsp[/url], this form contain 2 text field that is username and password, and 1 submit button. The problem came When i filled the text field and click the submit button, it was always returning error. i try to trace it by write the HttpServletRequest getParameter(String name) method to server log, and it always returning null. But i’m not facing this problem if i do login to IS Console in http://10.24.199.21:7777 first. I mean, if log in to IS Console first and then access [url]http://10.24.199.21:7777/web/myPackage/apps/formLogin.jsp[/url] , then submit the form, the application is running well, i can retreive the parameter from jsp using HttpServletRequest getParameter(String name).

    What i want to ask is how can i run my apps without login to console first?
    Any suggestion? Thanks

    Thanks & Regards,
    gvolt


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: HttpServletRequest getParameter returning null

    Posted Mon July 02, 2012 03:51 PM

    Hi gvolt,

    You can try to set the “Package List ACL” in your package at Anonumous. It can help you.


    lskierkowski
    www.bluesoft.net.pl


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services