Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes Error 500 from struts-el tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error 500 from struts-el tags" Watch "Error 500 from struts-el tags" New topic

Error 500 from struts-el tags

Aaron Wilt
Ranch Hand

Joined: Sep 26, 2001
Posts: 49
I don't know if this is a problem with my IDE or what... I'm using WSSD 5.1.2 with Tomcat 4.1 and I'm trying to create a very simple page using struts-el tags.

I have the struts-el.jar, struts.jar, standard.jar, and jstl.jar in my buildpath.

Here's the very simple code that bombs out. It's not compiling because when I look in the cache in the Tomcat directory, there's no related .class file to this jsp.

Here's the code. I don't know what else to check. I'm accessing this page directly.

If I take out the <html:button> tag, it works fine. It seems to bomb anytime I access tags-html-el.

Thanks for the help.

Edit: The exact error I get in my console is:

"ERROR - An HTTP 500 (Internal Server Error) error occurred when the user attempted to access paul.jsp."

[ June 09, 2005: Message edited by: Aaron Wilt ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

There is a Struts specific forum on this site.
You'll find a lot more Struts Gurus there..

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63867

Moved to the Struts forum.

[Asking smart questions] [About Bear] [Books by Bear]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Is the struts-el.jar file and it's associated jar files in the WEB-INF/lib directory in your WAR file?

Putting jar files in your build path makes it so they compile in WSAD, bit this does not make them available at run time. The jar files have to be in the proper location in the WAR file in order for the code to work when it is deployed.

Consultant, Sima Solutions
Aaron Wilt
Ranch Hand

Joined: Sep 26, 2001
Posts: 49
Thanks for the reply.

Yes, all of the struts jars are in my Web-Inf/lib directory.

I agree. Here's the link:
subject: Error 500 from struts-el tags
It's not a secret anymore!