Navgire Parikshit

Greenhorn
+ Follow
since Jan 31, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Navgire Parikshit

Hi Jaimesh,
I checked the deployment folder and the file does get copied there. I also tried to keep resource file in the src folder. But nothing worked. Could this be the issue of STRUTS version? I checked the STRUTS.jar file. I didn't get the Message class in the package org.apache.struts.action
13 years ago
Hi all!

i have put MessageResouces.properties file in WEB-INF/classes.
My struts-config looks like following

Everything seems correct but still i get this exception : Cannot find message resources under key org.apache.struts.action.MESSAGEI am using eclipse IDE. Can anyone give me some pointers ???
13 years ago
Even I am getting the exception! I tried the <load-on-startup> thing but it didn't work. Please check the struts-config file.


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="searchForm" type="SearchForm" />
</form-beans>
<!-- global forwards -->
<global-forwards>
<forward name="search" path="/search.jsp" />
</global-forwards>

<!-- Action Mapping Configuration -->
<action-mappings>
<action path="/search" type="SearchAction" name="searchForm"
scope="request" validate="true" input="/search.jsp">
</action>
</action-mappings>
<!-- Message Resources -->
<message-resources parameter="MessageResources" />
</struts-config>
13 years ago