html:form giving me a ClassCastException
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gary_Kephart
Posted On:   Friday, April 5, 2002 12:44 PM

Here's the line in my JSP: Here's the exception: java.lang.ClassCastException: org.apache.struts.action.ActionMappings at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766) That line is: ActionMappings mappings = (ActionMappings)pageContext.getAttribute( Action.MAPPINGS_KEY, PageContext.APPLICATION_SCOPE); I was thinking that perhaps I have two versions of the Struts jar on my system, but that's not the case. Anyone have any ideas? Hopefully, it's just some config issue. Gary    More>>

Here's the line in my JSP:

			



Here's the exception:


java.lang.ClassCastException: org.apache.struts.action.ActionMappings at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766)


That line is:

			
ActionMappings mappings = (ActionMappings)pageContext.getAttribute(
Action.MAPPINGS_KEY,
PageContext.APPLICATION_SCOPE);


I was thinking that perhaps I have two versions of the Struts jar on my system, but that's not the case.


Anyone have any ideas? Hopefully, it's just some config issue.


Gary

   <<Less

Re: html:form giving me a ClassCastException

Posted By:   Gary_Kephart  
Posted On:   Friday, April 5, 2002 05:03 PM

Damn. I hate when this happens. I mucked around with my stuff and got it to work. Not sure how, though.
About | Sitemap | Contact