我用ExtJS4 的MVC做一个网站。再主页的上方想加上用户名等信息,所以要用到session的数据,于是我就用html引入,但是显示有问题:top.js如下: [code="java"]Ext.define('MyExtJS.view.Top', {
extend : 'Ext.Component',
alias : 'widget.top',
initComponent : function() {
Ext.applyIf(this, {
cls : 'header',
region : 'north',
height : 75,
// html: '
// />',
html : ''
});
this.callParent(arguments);
}
});[/code]
显示:
[img]http://dl2.iteye.com/upload/attachment/0092/0325/707f4da8-4c5a-33ba-aaf1-7b9c08e79721.png[/img]
top.jsp如下: [code="java"]
高校问卷调查发布管理系统
[/code]
原本打算显示session的值,但是现在已经显示不正常了,session就没写再jsp里,该怎么办呢?