This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes How to generate dynamic index.html? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to generate dynamic index.html?" Watch "How to generate dynamic index.html?" New topic
Author

How to generate dynamic index.html?

Henrik Krievs
Ranch Hand

Joined: Jan 05, 2004
Posts: 60
Howdy!

Is it possible to make a JSP page generate it's own contents based on files on the App Server?

Meaning: I have a lot of .wsdl files deploye in a webapp on my Tomcat. For each new .wsdl file being created I have to manually edit the index.html to reflect this. But it would be nice if the index.html could traverse the directory and make links to all the .wsdl files. Is this possible?

Regards, Henrik
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1294

Hi Henrik,

of course it's possible to do this task automatically. You have the full functionality of Java in a JSP or Servlet. The only difference to a "normal" Java application will be the output format HTML.

Marco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate dynamic index.html?
 
It's not a secret anymore!