post « playframework « Java Enterprise Q&A

Home
Java Enterprise Q&A
1.activemq
2.Ant
3.aspectj
4.axis
5.cxf
6.deploy
7.Development
8.ear
9.eclipse
10.ehcache
11.ejb
12.flex
13.grails
14.jax
15.jaxb
16.JBoss
17.jbpm
18.jdo
19.jersey
20.jetty
21.jms
22.jmx
23.jndi
24.junit
25.ldap
26.Library
27.log4j
28.netbeans
29.osgi
30.playframework
31.portlet
32.quartz
33.rabbitmq
34.restful
35.security
36.Session
37.soap
38.tapestry
39.Web Service
40.weblogic
41.websphere
42.wicket
43.workflow
44.wsdl
Java Enterprise Q&A » playframework » post 

1. How can I post a form and show the result on the same page with Play framework?    stackoverflow.com

I've been playing around with Play framework for a few days, and it seems really cool. However, I ran into some problems when I wanted to have a form on a ...

2. Passing variables to a POST request from an outside controller    stackoverflow.com

Since you guys have been very helpful in my early steps into the Play Framework (thanks for that), here it goes again: We have a working registration controller, that POSTS all credentials ...

3. How to handle in Play! framework a form post with jsAction?    stackoverflow.com

I'm struggling with it for some time with no results. I want data entered in a form and submitted to be rendered as a new row of a table being on ...

4. testing POST request in playframework    stackoverflow.com

My controller method is something like this

public static void addItem(byte[] xmlFile) {
   ... //process file
}
and my ApplicationTest file
@Test
public void addItem() {
  Request request = newRequest();
  request.url = ...

5. WSRequest POST a JSON object in FunctionalTest would end up getting 404    stackoverflow.com

I have the following test case that I want to post a piece of json data, but I am getting 404 now, am I doing something wrong here?

@Test
public void testIndex() ...

6. Problem with Posting JSON object with WSRequest    stackoverflow.com

I want Play to call a webservice. The webservice accepts application/json and returns this as well. With the following code I'm trying to achieve this. (Note, the headers.put(xxx) are added later ...

7. Can I mark a controller method as POST in Play using annotations?    stackoverflow.com

I didn't find this anywhere - can i tell Play! that a specific controller method should (only) be accessed via HTTP POST? Something like the HttpPost attribute in C#'s Asp.Net ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.