|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
OgnlValueStack - Could not find propertyGetting 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@... |
|
|
Re: OgnlValueStack - Could not find propertyis everything working? I would say that is the value stack just being
annoying and logging to much. We added a setting to turn verbose mode on (it is on now by default) in 2.1.7, and it will be off by default. You can ignore those. musachy On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mitch@...> wrote: > 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@... > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: OgnlValueStack - Could not find propertyEverything appears to be working. How can I turn off that logging?
mitch Musachy Barroso wrote: > is everything working? I would say that is the value stack just being > annoying and logging to much. We added a setting to turn verbose mode > on (it is on now by default) in 2.1.7, and it will be off by default. > You can ignore those. > > musachy > > On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mitch@...> wrote: > >> 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@... >> >> >> > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
RE: OgnlValueStack - Could not find property/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 |
|
|
Re: OgnlValueStack - Could not find propertyI 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@... |
|
|
Re: OgnlValueStack - Could not find propertyif you are using log4j:
log4j.category.com.opensymphony.xwork.util.OgnlValueStack=ERROR musachy On Mon, Jun 29, 2009 at 9:44 AM, Mitch Claborn<mitch@...> wrote: > Everything appears to be working. How can I turn off that logging? > mitch > > Musachy Barroso wrote: >> is everything working? I would say that is the value stack just being >> annoying and logging to much. We added a setting to turn verbose mode >> on (it is on now by default) in 2.1.7, and it will be off by default. >> You can ignore those. >> >> musachy >> >> On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mitch@...> wrote: >> >>> 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@... >>> >>> >>> >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
RE: OgnlValueStack - Could not find propertyI have seen a lot on this issue.
Does anyone know how to actually correct it so that Struts does not log these warnings - without disabling the logging of warnings all together? The closest I have come is by adding getTheme and getTemplateDir directories to my Action class, but that doesn't solve these far less frequent struts.valueStack and org.apache.catalina.jsp_file the OP mentions. -----Original Message----- From: Musachy Barroso [mailto:musachy@...] Sent: Monday, June 29, 2009 1:53 PM To: Struts Users Mailing List Subject: Re: OgnlValueStack - Could not find property if you are using log4j: log4j.category.com.opensymphony.xwork.util.OgnlValueStack=ERROR musachy On Mon, Jun 29, 2009 at 9:44 AM, Mitch Claborn<mitch@...> wrote: > Everything appears to be working. How can I turn off that logging? > mitch > > Musachy Barroso wrote: >> is everything working? I would say that is the value stack just being >> annoying and logging to much. We added a setting to turn verbose mode >> on (it is on now by default) in 2.1.7, and it will be off by default. >> You can ignore those. >> >> musachy >> >> On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mitch@...> wrote: >> >>> 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@... >>> >>> >>> >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: OgnlValueStack - Could not find propertyit will be gone in 2.1.7
musachy On Mon, Jun 29, 2009 at 8:43 PM, Lee Clemens<java@...> wrote: > I have seen a lot on this issue. > > Does anyone know how to actually correct it so that Struts does not log > these warnings - without disabling the logging of warnings all together? > > The closest I have come is by adding getTheme and getTemplateDir directories > to my Action class, but that doesn't solve these far less frequent > struts.valueStack and org.apache.catalina.jsp_file the OP mentions. > > > -----Original Message----- > From: Musachy Barroso [mailto:musachy@...] > Sent: Monday, June 29, 2009 1:53 PM > To: Struts Users Mailing List > Subject: Re: OgnlValueStack - Could not find property > > if you are using log4j: > > log4j.category.com.opensymphony.xwork.util.OgnlValueStack=ERROR > > musachy > > On Mon, Jun 29, 2009 at 9:44 AM, Mitch Claborn<mitch@...> wrote: >> Everything appears to be working. How can I turn off that logging? >> mitch >> >> Musachy Barroso wrote: >>> is everything working? I would say that is the value stack just being >>> annoying and logging to much. We added a setting to turn verbose mode >>> on (it is on now by default) in 2.1.7, and it will be off by default. >>> You can ignore those. >>> >>> musachy >>> >>> On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mitch@...> wrote: >>> >>>> 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@... >>>> >>>> >>>> >>> >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@... >> For additional commands, e-mail: user-help@... >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: OgnlValueStack - Could not find propertyI meant...the next release after 2.1.6, which should be 2.1.8
On Mon, Jun 29, 2009 at 8:49 PM, Musachy Barroso<musachy@...> wrote: > it will be gone in 2.1.7 > > musachy > > On Mon, Jun 29, 2009 at 8:43 PM, Lee Clemens<java@...> wrote: >> I have seen a lot on this issue. >> >> Does anyone know how to actually correct it so that Struts does not log >> these warnings - without disabling the logging of warnings all together? >> >> The closest I have come is by adding getTheme and getTemplateDir directories >> to my Action class, but that doesn't solve these far less frequent >> struts.valueStack and org.apache.catalina.jsp_file the OP mentions. >> >> >> -----Original Message----- >> From: Musachy Barroso [mailto:musachy@...] >> Sent: Monday, June 29, 2009 1:53 PM >> To: Struts Users Mailing List >> Subject: Re: OgnlValueStack - Could not find property >> >> if you are using log4j: >> >> log4j.category.com.opensymphony.xwork.util.OgnlValueStack=ERROR >> >> musachy >> >> On Mon, Jun 29, 2009 at 9:44 AM, Mitch Claborn<mitch@...> wrote: >>> Everything appears to be working. How can I turn off that logging? >>> mitch >>> >>> Musachy Barroso wrote: >>>> is everything working? I would say that is the value stack just being >>>> annoying and logging to much. We added a setting to turn verbose mode >>>> on (it is on now by default) in 2.1.7, and it will be off by default. >>>> You can ignore those. >>>> >>>> musachy >>>> >>>> On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mitch@...> wrote: >>>> >>>>> 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@... >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@... >>> For additional commands, e-mail: user-help@... >>> >>> >> >> >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@... >> For additional commands, e-mail: user-help@... >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@... >> For additional commands, e-mail: user-help@... >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |