Hi, This might be an interesting bug. I already file a bug about this: https://crosswalk-project.org/jira/browse/XWALK-5048 The current bug level is P2. You may help to provide any comments in the above link.
Regards, Xing -----Original Message----- From: Crosswalk-help [mailto:[email protected]] On Behalf Of Paul van Hoven Sent: Monday, September 14, 2015 8:46 PM To: [email protected] Subject: [Crosswalk-help] Get-Paremters are not submitted to the server Hi Crosswalk people :) I'm using crosswalk in my android app as an internal in app browser. That is, from my app one can open a website to get additional information. However, in order to make this work, I have to pass GET-parameters to my website. I noticed that crosswalk does not submit the GET parameters that I append to my url. This is what I do: xWalkWebView = (XWalkView) findViewById(R.id.xwalkWebView); ... xWalkWebView.load("http://www.example.com/ParamsServlet?param1=value1¶m2=value2", null); So, the page starts to load but on my server side I do not get any parameters. On the server side I use Apache Tomcat with the following servlet: public class ParamsServlet extends HttpServlet { private static final long serialVersionUID = 1L; public void doPost( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { doGet( request, response ); } public void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { Enumeration<String> paramNames = request.getParameterNames(); System.out.println(" request = " + request.toString()); System.out.println("paramNames = " + paramNames.toString()); while(paramNames.hasMoreElements()) { String key = paramNames.nextElement(); System.out.println( key + " : " + request.getParameter(key)); } System.out.println("-------------------"); } } This is the output when I call the url from my android app: request = org.apache.catalina.connector.RequestFacade@5c64f2b2 paramNames = java.util.Collections$3@628fc2de ------------------- If I call the url manually in my browser I get: request = org.apache.catalina.connector.RequestFacade@5c64f2b2 paramNames = java.util.Collections$3@7ad76a41 param1 : value1 param2 : value2 ------------------- I think I did everything correct. So why are GET parameters not submitted to the servlet? _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
