<s:form action="%{doc.id==null?'doclib/doclib!save':'doclib/doclib!update'}" id="docform" theme='simple' enctype="%{doc.id==null?'multipart/form-data':'application/x-www-form-urlencoded'}" >
<s:form action="%{doc.id==null?'doclib/doclib!save':'doclib/doclib!update'}" id="docform" theme='simple' enctype="%{doc.id==null?'multipart/form-data':'application/x-www-form-urlencoded'}" >