instance

jrun cannot run multiple jsp instances

First off, my code works perfectly on all app servers except jrun. I have a jsp named trends.jsp. In my web.xml I create multiple instances. <servlet-name>trendsA</servlet-name> <jsp-file>/trends.jsp</jsp-file> <init-param> <param-name>server</param-name> <param-value>serverA</param-value> </init-param> <servlet-name...

Sending a pointer to an interface property in Objective-C

Ok so I -roughly- want this code: test1.m: Foo *foo = [[Foo alloc] init]; foo.x = 1.0f; [staticClass bar:*foo.x]; staticClass.m: -(void)bar:(float *)argVar { *argVar += 1.0f; } So I'm pointing the argVar to a property of the Foo class. Obivously the current code doesn't work. What's the proper syntax for/way to do this? ...