Re: struts-blank on iPlanet

2001-06-19 Thread Matt Raible

So in my web.xml, I have:

action
org.apache.struts.action.ActionServlet

  application
  ApplicationResources


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  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
>
> 
>   application
>   class name of your application
> 
>
> 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




Re: struts-blank on iPlanet

2001-06-19 Thread Mike Thompson

Looks like your index.jsp? Is trying to use the  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


  application
  class name of your application


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/




Re: struts-blank on iPlanet

2001-06-19 Thread Becky Moyer


The "missing message for index.title" error message indicates that it cant 
find your ApplicationResources.properties file that should be in the 
WEB-INF/classes directory.  This file will contain index.title=Strtuts 
Starter Application and some other values necessary to build index.jsp.

-Becky-


Original Message Follows
From: Matt Raible <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: struts-blank on iPlanet
Date: Tue, 19 Jun 2001 12:53:15 -0700 (PDT)

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/

_
Get your FREE download of MSN Explorer at http://explorer.msn.com