链接传参问题??
<meta http-equiv="refresh" content="1;url=<%=request.getContextPath()%>/profileSelected.do?profileId=<%=profile.getId()%>&profile=<%=profile%>">我传的是profile对象 我在另外一个页面用request.getParameter("profile"); 接的只是一个String类型 怎么才能接受到那个对象呀??
搜索更多相关主题的帖子:
链接
----------------解决方案--------------------------------------------------------
强制转换
强制转换 ----------------解决方案--------------------------------------------------------
你就强制类型转换了
----------------解决方案--------------------------------------------------------
看你怎么接收了,request.getParameter一般都是接收String类型的厄
----------------解决方案--------------------------------------------------------