注册 登录
编程论坛 J2EE论坛

链接传参问题??

luyihuaa5201 发布于 2008-05-07 16:20, 780 次点击
<meta http-equiv="refresh" content="1;url=<%=request.getContextPath()%>/profileSelected.do?profileId=<%=profile.getId()%>&profile=<%=profile%>">
   我传的是profile对象  我在另外一个页面用request.getParameter("profile"); 接的只是一个String类型  怎么才能接受到那个对象呀??
3 回复
#2
fty1232008-05-08 09:45
强制转换
强制转换
#3
glamey2008-05-09 16:20
你就强制类型转换了
#4
glamey2008-05-09 16:21
看你怎么接收了,request.getParameter一般都是接收String类型的厄
1