File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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: 59
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: 1280

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
 
jQuery in Action, 2nd edition
 
subject: How to generate dynamic index.html?
 
Similar Threads
First JAX-WS webservice results in UnsupportedMediaException
Single WSDL, Multiple Services?
compare xml files with ant or maven
how to generate JAX-RPC mapping file using wscompile tool
WSDL to SOAP envelopes