Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 910addd768
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.544 kb
this.page = function (context){context.writeEscapedText("");
var counter = 1;
context.application.get("counter",function(value){
context.log.debug("ApplicationLOGIC.JSSP, value - " +value);
if(value == undefined){
context.application.set("counter",1);
}else{
counter = value+1;
context.application.set("counter",counter);
}
context.request.parameters.counter = counter;
context.forward("counter/view.jssp");
});
context.writeEscapedText("");
};
this.test = function(context){
return "hello ajax world";
};
Jump to Line
Something went wrong with that request. Please try again.