Forums Register Login

How to generate dynamic index.html?

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1289 times.
Similar Threads
Single WSDL, Multiple Services?
First JAX-WS webservice results in UnsupportedMediaException
compare xml files with ant or maven
WSDL to SOAP envelopes
how to generate JAX-RPC mapping file using wscompile tool
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:27:31.