So in my web.xml, I have:

<servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>
    </init-param>

And in my deployed app, I have
WEB-INF\classes\ApplicationResources.properties

In this file, there is:

index.title=Struts Starter Application
index.heading=Hello World!
index.message=To get started on your own application, copy the
struts-blank.war to a new WAR file using the name for your application.
Place it in your container's "webapp" folder (or equivalent), and let your
container auto-deploy the application. Edit the skeleton configuration files
as needed, reload Struts or restart your container, and you are on your way!
(You can find the ApplicationResources file with this message in the classes
folder.)

Does this mean that it "should" be working?

Thanks,

Matt

----- Original Message -----
From: "Mike Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 2:04 PM
Subject: Re: struts-blank on iPlanet


> Looks like your index.jsp? Is trying to use the <bean:message key=?/> tag
> and the key does not exist in your message props file or your message prop
> file can not be found.  In your web.xml you should have an entry
>
>     <init-param>
>       <param-name>application</param-name>
>       <param-value>class name of your application</param-value>
>     </init-param>
>
> under the servlet entry for the struts ActionServlet.  Not you really
don't
> have to have a real class for your application, it just looks up the
> ResourceBundle with this key.  So if you had something like
> foo.bar.package.MyApplication
> for the param-value
>
> you  would need a file
> \classes\foo\bar\package\MyApplication.properties
>
> that has all your message keys in it like
> index.title = My Title
>
>     --m
>
>
> ----- Original Message -----
> From: "Matt Raible" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 19, 2001 2:53 PM
> Subject: struts-blank on iPlanet
>
>
> > I am trying to get a bare-bones, blank application to
> > work on iPlanet Application Server, SP2, and I get the
> > following error:
> >
> > Any ideas?
> >
> > directory structure is as follows:
> >
> > uiframework
> >     index.jsp
> >     WEB-INF
> >         *.tld
> >         *.xml
> >         lib
> >             struts.jar
> >
> >
> > [19/Jun/2001 13:46:26:7] info:
> > --------------------------------------
> > javax.servlet.jsp.JspException: Missing message for
> > key index.title
> >         at
> > org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
> >         at
> > jsp.APPS.uiframework.index._jspService(index.java:73)
> >         at
> > jsp.APPS.uiframework.index.service(index.java:35)
> >         at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >         at
> > com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
> > Source)
> >         at
> > com.netscape.server.servlet.servletrunner.ServletRunner.callJSP(Unknown
> > Source)
> >         at
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Spot the hottest trends in music, movies, and more.
> > http://buzz.yahoo.com/


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to