日期:2014-05-18  浏览次数:20606 次

传值问题,求教
页面代码:
<%@   page   language= "java "   pageEncoding= "GBK "%>

<%@   taglib   uri= "http://jakarta.apache.org/struts/tags-bean "   prefix= "bean "   %>
<%@   taglib   uri= "http://jakarta.apache.org/struts/tags-html "   prefix= "html "   %>
<%@   taglib   uri= "http://jakarta.apache.org/struts/tags-logic "   prefix= "logic "   %>
<%@   taglib   uri= "http://jakarta.apache.org/struts/tags-tiles "   prefix= "tiles "   %>
<%@   taglib   uri= "http://jakarta.apache.org/struts/tags-template "   prefix= "template "   %>
<%@   taglib   uri= "http://jakarta.apache.org/struts/tags-nested "   prefix= "nested "   %>

<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.01   Transitional//EN ">
<html:html   locale= "true ">
    <head>
        <html:base   />
       
        <title> <bean:write   name= "photoInfo "   property= "phototitle "/> </title>

<meta   http-equiv= "pragma "   content= "no-cache ">
<meta   http-equiv= "cache-control "   content= "no-cache ">
<meta   http-equiv= "expires "   content= "0 ">        
<meta   http-equiv= "keywords "   content= "keyword1,keyword2,keyword3 ">
<meta   http-equiv= "description "   content= "This   is   my   page ">
<link   rel= "stylesheet "   type= "text/css "   href= "style.css ">
<script   type= "text/javascript ">
<!--
var   flag=false;
function   DrawImage(ImgD){
var   image=new   Image();
image.src=ImgD.src;
if(image.width> 0   &&   image.height> 0){
flag=true;
if(image.width/image.height> =   164/112){
if(image.width> 164){  
ImgD.width=164;
ImgD.height=(image.height*164)/image.width;
}else{
ImgD.width=image.width;  
ImgD.height=image.height;
}
ImgD.alt=image.width+ "× "+image.height;
}else{
if(image.height> 450){  
ImgD.height=570;
ImgD.width=(image.width*570)/image.height;  
}else{
ImgD.width=image.width;  
ImgD.height=image.height;
}
ImgD.alt=image.width+ "× "+image.height;
}
}
}  
function   submit(){
document.all.form1.submit();
}
function   firm(id){//利用对话框返回的值   (true   或者   false)
        if(confirm( "你确要删除这张照片吗? "))
        {//如果是true   ,那么就把页面转向thcjp.cnblogs.com
                location.href= "/blog/photoad.do?action=del&photoid= "   +   id;
        }
        else
        {//否则说明下了,赫赫
            &n