alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Struts example source code file (smd-1.txt)

This example Struts source code file (smd-1.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

json-rpc, json-rpc

The Struts smd-1.txt source code

{
    "methods":[
        {
            "name":"add",
            "parameters":[
                {"name":"p0"},
                {"name":"p1"}
            ]
        },
        {
            "name":"doSomething",
            "parameters":[]
        },
        {
            "name":"doSomethingObjects",
            "parameters":[
                {"name":"p0"},
                {"name":"p1"},
                {"name":"p2"}
            ]
        },
        {
            "name":"doSomethingPrimitives",
            "parameters":[
                {"name":"p0"},
                {"name":"p1"},
                {"name":"p2"},
                {"name":"p3"},
                {"name":"p4"},
                {"name":"p5"},
                {"name":"p6"},
                {"name":"p7"},
                {"name":"p8"}
             ]
        }
    ],
    "objectName":null,
    "serviceType":"JSON-RPC",
    "serviceUrl":"http:\/\/sumeruri",
    "version":".1"
}

Other Struts examples (source code examples)

Here is a short list of links related to this Struts smd-1.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.