• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Expression Compilation Problem.

 
MohammadYasin Shaikh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys
I am Having IRAD 7.0 with WebSpere 6.1 integrated.In IRAD 7.0 ,in one of the jsp i have used expressions in javascript like
var k='<%=MyBean.getName()%>'.It is working fine with IRAD 7.0 and WebSpehre 6.1 integrated.But if i make the EAR of project and deploy on full fledge server of Webspere 6.0 and not 6.1 which is in IRAD 7.0,then it is giving javascript error.if i do view source,then the expressions are remaining as it is i.e. expressions are not getting converted to string or object.please help

Thanks and regards
Yasin Shaikh
 
Mujeebur Rahman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before answering your stuff, one basic query.

Do any of the JSP expression work in your code?.
 
MohammadYasin Shaikh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All JSP Expressions are not working in WebSphere 6.0 server.Is we have to do any settings for that in admin console.
 
Mujeebur Rahman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think so that special settings required. debug like this,
1) Clear the cached JSP in AppServer temp folder (java file, class files etc)
2) Access this JSP
3) Check the .java file and .class file(decompile) to see weather it has really translated JSP code into java.

Eager to see your results.
 
MohammadYasin Shaikh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Problem was solved.
Actually there was commented line
//< ![CDATA[<br /> javascript code with expression used<br /> //]]>
after removing commented lines it is working fine.
Strange...
Thanks and regards
Yasin shaikh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic