In your configuration file, you are pointing to an
ApplicationResources.properties file and it looks like you named your own
properties file called App.props

so your path would be:

org.apache.struts.webapp.example.App

Steven



----- Original Message -----
From: "Wes Bramhall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 10:07 AM
Subject: No clue what is wrong...


> Thanks for all your help.  You've verified, as far as I can tell, that I
> have everything in the right places and saying the right stuff.  Here's
all
> the information I have and maybe you can see what I'm doing wrong... (any
> other information I need to supply?  Windows2k box running JRUN.
Struts.jar
> is in JRUN's classpath for compiliing.)
>
> Thanks in advance,
> -Wes
>
> The error:
> /struts-example/index.jsp:
>
> Exception thrown processing JSP page.
> javax.servlet.jsp.JspException: Missing message for key index.title
> at
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
> at jrun__index2ejspa._jspService(jrun__index2ejspa.java:57)
> at
> allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:39)
> at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:228)
> at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:196)
> at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
> at
>
allaire.jrun.session.JRunSessionService.service(../session/JRunSessionServic
> e.java:1082)
> at
> allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
> at
>
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
> patcher.java:89)
> at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
> at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
> at
> allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
> at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
> at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
> at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
>
> My web.xml (located in WEB-INF):
> <web-app>
>
>   <servlet>
>     <servlet-name>database</servlet-name>
>
>
<servlet-class>org.apache.struts.webapp.example.DatabaseServlet</servlet-cla
> ss>
>     <init-param>
>       <param-name>debug</param-name>
>       <param-value>2</param-value>
>     </init-param>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <servlet>
>     <servlet-name>action</servlet-name>
>     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <init-param>
>       <param-name>application</param-name>
>
>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-va
> lue>
>     </init-param>
>     <init-param>
>       <param-name>config</param-name>
>       <param-value>/WEB-INF/struts-config.xml</param-value>
>     </init-param>
>     <init-param>
>       <param-name>debug</param-name>
>       <param-value>2</param-value>
>     </init-param>
>     <init-param>
>       <param-name>detail</param-name>
>       <param-value>2</param-value>
>     </init-param>
>     <init-param>
>       <param-name>validate</param-name>
>       <param-value>true</param-value>
>     </init-param>
>     <load-on-startup>2</load-on-startup>
>   </servlet>
>
>   <servlet-mapping>
>     <servlet-name>action</servlet-name>
>     <url-pattern>*.do</url-pattern>
>   </servlet-mapping>
>
>
>
<welcome-file-list><welcome-file>index.jsp</welcome-file></welcome-file-list
> >
>
>   <taglib>
>     <taglib-uri>/WEB-INF/app.tld</taglib-uri>
>     <taglib-location>/WEB-INF/app.tld</taglib-location>
>   </taglib>
>
>   <taglib>
>     <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
>     <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
>   </taglib>
>
>   <taglib>
>     <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
>     <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
>   </taglib>
>
>   <taglib>
>     <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
>     <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
>   </taglib>
>
> </web-app>
>
> My App.props (located in
WEB-INF\classes\org\apache\struts\webapp\example):
> button.cancel=Cancel
> button.confirm=Confirm
> button.reset=Reset
> button.save=Save
> database.load=Cannot load database from {0}
> error.database.missing=<li>User database is missing, cannot validate logon
> credentials</li>
> error.fromAddress.format=<li>Invalid format for From Address</li>
> error.fromAddress.required=<li>From Address is required</li>
> error.fullName.required=<li>Full Name is required</li>
> error.host.required=<li>Mail Server is required</li>
> error.noSubscription=<li>No Subscription bean in user session</li>
> error.password.required=<li>Password is required</li>
> error.password2.required=<li>Confirmation password is required</li>
> error.password.match=<li>Password and confirmation password must
match</li>
> error.password.mismatch=<li>Invalid username and/or password, please try
> again</li>
> error.replyToAddress.format=<li>Invalid format for Reply To Address</li>
> error.transaction.token=<li>Cannot submit this form out of order</li>
> error.type.invalid=<li>Server Type must be 'imap' or 'pop3'</li>
> error.type.required=<li>Server Type is required</li>
> error.username.required=<li>Username is required</li>
> error.username.unique=<li>That username is already in use - please select
> another</li>
> errors.footer=</ul><hr>
> errors.header=<h3><font color="red">Validation Error</font></h3>You must
> correct the following error(s) before proceeding:<ul>
> errors.ioException=I/O exception rendering error messages: {0}
> heading.autoConnect=Auto
> heading.subscriptions=Current Subscriptions
> heading.host=Host Name
> heading.user=User Name
> heading.type=Server Type
> heading.action=Action
> index.heading=MailReader Demonstration Application Options
> index.logon=Log on to the MailReader Demonstration Application
> index.registration=Register with the MailReader Demonstration Application
> index.title=MailReader Demonstration Application (Struts 1.0-b1)
> index.tour=A Walking Tour of the Example Application
> linkSubscription.io=I/O Error: {0}
> linkSubscription.noSubscription=No subscription under attribute {0}
> linkUser.io=I/O Error: {0}
> linkUser.noUser=No user under attribute {0}
> logon.title=MailReader Demonstration Application - Logon
> mainMenu.heading=Main Menu Options for
> mainMenu.logoff=Log off MailReader Demonstration Application
> mainMenu.registration=Edit your user registration profile
> mainMenu.title=MailReader Demonstration Application - Main Menu
> option.imap=IMAP Protocol
> option.pop3=POP3 Protocol
> prompt.autoConnect=Auto Connect:
> prompt.fromAddress=From Address:
> prompt.fullName=Full Name:
> prompt.mailHostname=Mail Server:
> prompt.mailPassword=Mail Password:
> prompt.mailServerType=Server Type:
> prompt.mailUsername=Mail Username:
> prompt.password=Password:
> prompt.password2=(Repeat) Password:
> prompt.replyToAddress=Reply To Address:
> prompt.username=Username:
> registration.addSubscription=Add
> registration.deleteSubscription=Delete
> registration.editSubscription=Edit
> registration.title.create=Register for the MailReader Demostration
> Application
> registration.title.edit=Edit Registration for the MailReader Demonstration
> Application
> subscription.title.create=Create New Mail Subscription
> subscription.title.delete=Delete Existing Mail Subscription
> subscription.title.edit=Edit Existing Mail Subscription
>

Reply via email to