• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problem While using EL

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
i am using JSTL 1.1 , I created an custom tag called "advice" and it have a attribute named "user". Through a form i am getting the username parameter.
I am sure that, there is some problem while passing the "user" attribute. Since i am using EL in the attribute. So whats the reason behind this error?

If i want to use the parameter in the "user" attribute section, what should i do?

here is my TLD



Then here is the java class file supports the custom tag



Here is the jsp


i am facing the problem at line no 9 here. I am getting the following

"This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying."

Thanks in advance
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey did you copy the tld as it is??
I could see the problem with your tld file to be

<rtexprevalue>true</rtexprevalue>, whereas the available tag is <rtexprvalue>

check the spelling!!!
 
vinoth subramaniam
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sch�n Sinn, You are right, it is the problem.

It should be <rtexprvalue>... i did a mistake. Thankyou very much


Thankyou for your valuable time.
 
Devi Taruni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome
 
reply
    Bookmark Topic Watch Topic
  • New Topic