开发者

Get URL Parameter in maplet?

开发者 https://www.devze.com 2023-01-08 04:50 出处:网络
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?

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

精彩评论

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

关注公众号