Search the web
Sign In
New User? Sign Up
struts-xsl · Struts for Transforming XML with XSL
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to set index.do as welcome-file   Message List  
Reply | Forward Message #2648 of 2669 |
Re: How to set index.do as welcome-file

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 "&#160;">
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="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



--- In struts-xsl@yahoogroups.com, "Ankit Verma" <ankitverma_mca@...>
wrote:
>
> --- In struts-xsl@yahoogroups.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
>








Wed Jul 5, 2006 4:46 am

joe_bashir
Offline Offline
Send Email Send Email

Forward
Message #2648 of 2669 |
Expand Messages Author Sort by Date

I want to set index.do as welcome-file. I have defined it in web.xml as <welcome-file-list> <welcome-file>index.do</welcome-file> </welcome-file-list> but it...
joe_bashir
Offline Send Email
May 4, 2006
9:28 am

This is a known issue with many web containers, particularly older ones: http://sunsolve.sun.com/search/document.do?assetkey=1-9-83094 HTH, Don...
Don Brown
mrdon42
Offline Send Email
May 4, 2006
5:52 pm

... 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...
Ankit Verma
ankitverma_mca
Offline Send Email
Jun 28, 2006
4:36 am

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...
joe_bashir
Offline Send Email
Jul 5, 2006
4:48 am

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...
Don Brown
mrdon42
Offline Send Email
Jul 5, 2006
6:17 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help