aspose file tools*
The moose likes JSP and the fly likes Problem While using EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem While using EL" Watch "Problem While using EL" New topic
Author

Problem While using EL

vinoth subramaniam
Ranch Hand

Joined: Jul 05, 2008
Posts: 47
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
Devi Taruni
Greenhorn

Joined: Sep 03, 2008
Posts: 11
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

Joined: Jul 05, 2008
Posts: 47
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

Joined: Sep 03, 2008
Posts: 11
You are welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem While using EL