• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to include XML file in JSP?  RSS feed

 
Jano Balakrishnan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to include ant (build.xml) file in JSP.Can anyone help me to do this?
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bala,

Welcome to Java Ranch why do you need to include your build.xml to a JSP. Can you give us more details?

Regards
Ananth Chellathurai
 
Jano Balakrishnan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a project for Testing Automated Test.I am using selenium server for running the test.So when i upload a test(say for example ,login.java)file and click Run button,through request parameter i get the action and need to invoke Ant build.xml file because selenium make use of Ant to run the test.So i need to know how to do this?
 
Jano Balakrishnan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody please help me or if i am wrong please give me suggestions
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, please read this.

Second, that doesn't make much sense. A JSP is used to display an HTML page on the browser with dynamic content. That doesn't match what you are trying to do well.

Are you trying to trigger the ant build on the server?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!