• 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 & JavaScript

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

i created a taglib by the name <s:itemTitle> & <s:itemDescription>

and i want to display the data which is coming from them in by using Javascript..........how can i do that.....Please help me.......


i tried by doing like this........

document.write(<s:itemTitle feedId="<%=strFeedTrIndy%>"/> ;
document.write(<s:itemDescription feedId="<%=strFeedTrIndy%>"/> ;

iam able to display this
document.write(<s:itemTitle feedId="<%=strFeedTrIndy%>"/> ;

but i can't able to add this
document.write(<s:itemDescription feedId="<%=strFeedTrIndy%>"/> ;


so please let me know is there any other way that i can display the stuf by using the javascript.

this two tags will display lines of charecters.......
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have a fundamental misunderstanding of how JSP works. Please read this article for an explanation of why that could never work.
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic