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

custom Tags & javascriptlet in jsp

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

I want to store the data in to a string variable which is displaying from jsp custom tags.

what i want to do is

<% String s="%><s escription feedId="<%=string%>"/><%";%>

I want to do like this but it is not working is there any other way so that i can store the data in to a string which is coming from jsp custom tags
 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,
It looks like you are mixing HTML and java (JSP) code in example given by you, try revisit what you have written.

What I can think of with the data given by you towards your solution is something like this.
You are trying to utilize the functionality return in some tag lib, thus you want to return value to future process.

Try this one out.

Tag libs are noting but java code, hence identifies which java class it calls (you can get this info from tag lib config details).
Instance this object pass the required value and try to assign the return value to string just like using other object.

I am not sure if it works, just give a try if you have not got other proven solutions�

-Arun
 
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:
  • Report post to moderator
Continue here.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic