• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP Expression Compilation Problem.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic