开发者

Get URL Parameter in maplet?

I m working with maplet and wanted to get the parameter value of my URL. I know that in maplet if we have a same-named variable in my maplet class but it didnt fill automat开发者_如何学Cically? what I have done wrong? I add my maplet class code here. please help me.

package Model;
import org.j2os.shine.maplet;
import org.j2os.shine.jconnection.JDBC;
import java.sql.*;
public class Controller extends Maplet {
String MyURLParameter;

public void initialize() throws Exception{  //change MyURLParameter  }
public void request_method() throws Exception{ //add MyURLParameter to db   }
public void rater() throws Exception{  //close db  }


change your code like this :

public String MyURKParameter

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜