I did not have a standalone default.properties file, so I assume they
were being pulled from the jar file. The default.properties in the jar
did NOT have the two entires you mention. I extracted that file from
the jar and put in in the classes directory, adding those two entries,
but it did not appear to make any difference.
mitch
Martin Gainty wrote:
> /WEB-INF/classes/org/apache/struts2/default.properties should contain struts.valueStack and org.apache.catalina.jsp_file entries?
>
> struts.valueStack=com.opensymphony.xwork2.util.ValueStack.ValueStack
> org.apache.catalina.jsp_file=index_jsp.java
>
> can you confirm these entries or
> are the entries are contained by default.properties (embedded within struts2-core-2.1.6.jar)
>
> ?
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>
>> Date: Mon, 29 Jun 2009 10:35:53 -0500
>> From:
mitch@...
>> To:
user@...
>> Subject: OgnlValueStack - Could not find property
>>
>> Getting some odd messages that I don't understand, just running the
>> basic tutorial code. Any ideas what this is?
>>
>> The messages are:
>> [WARN] OgnlValueStack - Could not find property
>> [org.apache.catalina.jsp_file]
>> [WARN] OgnlValueStack - Could not find property [struts.valueStack]
>> [WARN] OgnlValueStack - Could not find property
>> [org.apache.catalina.jsp_file]
>>
>>
>> My JSP, struts.xml and action are below.
>>
>> <%@ taglib prefix="s" uri="/struts-tags" %>
>> <html>
>> <head>
>> <title>Hello World!</title>
>> </head>
>> <body>
>> <h2><s:property value="message" /></h2>
>> </body>
>> </html>
>>
>>
>> <struts>
>> <constant name="struts.enable.DynamicMethodInvocation" value="false" />
>> <constant name="struts.devMode" value="true" />
>> <package name="default" namespace="/" extends="struts-default">
>> <action name="HelloWorld" class="tutorial.HelloWorld">
>> <result>/HelloWorld.jsp</result>
>> </action>
>> </package>
>> </struts>
>>
>> package tutorial;
>> import com.opensymphony.xwork2.ActionSupport;
>> public class HelloWorld extends ActionSupport {
>>
>> public static final String MESSAGE = "Struts is up and running ...";
>>
>> @Override
>> public String execute() throws Exception {
>> setMessage(MESSAGE);
>> return SUCCESS;
>> }
>>
>> private String message;
>>
>> public void setMessage(String message){
>> this.message = message;
>> }
>>
>> public String getMessage() {
>> return message;
>> }
>> }
>>
>>
>> Mitch
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
user-unsubscribe@...
>> For additional commands, e-mail:
user-help@...
>>
>>
>
> _________________________________________________________________
> Windows Live™ SkyDrive™: Get 25 GB of free online storage.
>
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009>
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...