J2EE 711
2006-12-29
2006-12-28
2006-12-27
bugs: ccording to TLD, tag bean:message must be empty, but is not
Questoin:
2006 11:25:09 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: ServletException in '/jsp/printerdoc/printbp.jsp': /jsp/printerdoc/printbp.jsp(6,9) According to TLD, tag bean:message must be empty, but is not
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
at org.apache.jsp.jsp.common.mainLayout_jsp._jspx_meth_tiles_005finsert_005f0(mainLayout_jsp.java:116)
at org.apache.jsp.jsp.common.mainLayout_jsp._jspService(mainLayout_jsp.java:89)
at org.apache.jasper.runtime.Htt
Solution:
bean:message /
2006-12-22
JavaRanch Big Moose Saloon: I need help, with logic:iterate in HashMap
JavaRanch Big Moose Saloon: I need help, with logic:iterate in HashMap
key:
value:
2006-12-21
Object Reflection: get field value : Reflection : Language Basics : Java examples (example source code)
Object Reflection: get field value : Reflection : Language Basics : Java examples (example source code) Organized by topic: "
import java.awt.Rectangle;
import java.lang.reflect.Field;
public class SampleGet {
public static void main(String[] args) {
Rectangle r = new Rectangle(100, 325);
printHeight(r);
}
static void printHeight(Rectangle r) {
Field heightField;
Integer heightValue;
Class c = r.getClass();
try {
heightField = c.getField('height');
heightValue = (Integer) heightField.get(r);
System.out.println('Height: ' + heightValue.toString());
} catch (NoSuchFieldException e) {
System.out.println(e);
} catch (SecurityException e) {
System.out.println(e);
} catch (IllegalAccessException e) {
System.out.println(e);
}
}
}"
4.struts and js
Mailing list archives: "As I said, you're not getting an ActionForm (or even a DynaActionForm), you're getting a FormBeanConfig. http://jakarta.apache.org/struts/api/org/apache/struts/config/FormBeanConfig.html FormBeanConfig doesn't have a 'description' property, hence your error. Even if it did, you'd likely get a different error since configuration information is frozen once it's loaded. If you need to get at the form bean associated with an action mapping, I think you can do:
5.struts and js
Re: is there a way to get struts to interact well w/ scriptlets: "
<bean :struts mapping ="/crApplicationRouter" id="mapping " />
function setDataChanged(){
document.<bean :write name="mapping " property="name"/>.dataChanged.value = '<%=
WebConstants.TRUE %>';
}
2006-12-20
2006-12-19
2006-12-17
2006-12-16
2006-12-15
2006-12-14
2006-12-13
2006-12-12
2006-12-07
2006-12-06
2006-12-05
2006-12-04
2006-12-03
3.Bugzilla
Installing Bugzilla on Microsoft Windows :: Bugzilla :: bugzilla.org: "Installing Bugzilla on Microsoft Windows"
