Results 1 to 2 of 2

Thread: How to get server name ?

  1. #1
    Join Date
    Aug 2010
    Posts
    25

    Default How to get server name ?

    I have MailService bean and i need to inject some "server info" to that bean. How to do that? How to get serverName, port etc ?

    <bean class="services.MailService" id="mailService" scope="singleton" >
    <property name="serverInfo">
    <bean class="???">
    </property>
    </bean>

  2. #2
    Join Date
    Aug 2010
    Posts
    25

    Default

    sorry, remove this.
    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •