Not all servlet containers support a servlet as the index file. Search the
Struts documentation and user list archives as this is a common problem.
Don
joe_bashir wrote:
>
>
> I have dont the following way and it works now.
>
> I have imported "index.xsl" in "index.do" file as:
>
> <!-- index.do -->
> <?xml version='1.0' ?>
> <!DOCTYPE xsl:stylesheet [
> <!ENTITY nbsp " ">
> ]>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform
> <http://www.w3.org/1999/XSL/Transform>">
> <xsl:import href="index.xsl"/>
> </xsl:stylesheet>
> <!-- end of index.do -->
>
> and then set the welcome-file as:
>
> <welcome-file-list>
> <welcome-file>index.do</welcome-file>
> </welcome-file-list>
>
> Joseph Bashir
> Ufnasoft
> http://ufnasoft.com <http://ufnasoft.com>
>
> --- In struts-xsl@yahoogroups.com <mailto:struts-xsl%40yahoogroups.com>,
> "Ankit Verma" <ankitverma_mca@...>
> wrote:
> >
> > --- In struts-xsl@yahoogroups.com
> <mailto:struts-xsl%40yahoogroups.com>, "joe_bashir" <joe_bashir@> wrote:
> > >
> > >
> > are you using netbeans ide for struts.If yes then its easy to set
> the
> > welcome page from it.Just right click on project name, select
> > properties.Then goto "run" option and type the name of ur welcome
> page
> > in the textbox provided and you r ready to rock and roll
> >
>
>