注册 登录
编程论坛 J2EE论坛

JSP中的赋值问题??

luyihuaa5201 发布于 2008-05-09 11:56, 779 次点击
<%
        List list2=  (List)session.getAttribute("list");
    for(int i=0; i<list2.size(); i++)
        {
            
            AAccessProfile obj = (AAccessProfile)list.get(i);
        if(i == 0){
            
            String a = (String) obj.getId();
            //request.getRequestDispatcher("profileSelected.do?profileId=").forward(request,response);
            }
        }
         %>   

怎么把值传给a呀~~
1 回复
#2
glamey2008-05-09 16:13
遗憾
还真的没看懂你到底要做什么呢?
1