• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate dynamic index.html?

 
Henrik Krievs
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic