开发者

display resource in j2ee web app by using url

i have simple j2ee web a开发者_如何学Cpp. i packed it to a war file. The structure of war file is :

/..
 images
 css
 WEB-INF
     web.xml
 wsdl
    abc.wsdl
 .....

i deployed it into ServiceMix (it uses jetty for web container). the app worked just fine.

now, my question is: How can i display abc.wsdl file by using URL like:

http://localhost:8080/simpleapp/wsdl/abc.wsdl 

I know this is not a good practice, but i just want to know how to do this.


try the following in

click here to view wsdl file

in any of the generated jsp / index.html which is rooted at the base of the webapp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜