Results 1 to 3 of 3

Thread: struts to spring conversion

  1. #1
    Join Date
    Oct 2010
    Location
    Chennai,Tamilnadu,India
    Posts
    5

    Question struts to spring conversion

    hi all,
    actually i dont know where to put this, so i have given here itself.
    My project is to convert the struts framework to spring framework. The problem i am facing is while converting jsp pages from struts to spring, i dono how to replace logic tags in it. Like logic:equal and logic:messages. i have mentioned the code using these two tags. please help me to use it in spring.

    Code:
    <logic:messagesPresent>							<html:messages id="errors">						       <span style="color: #db0000;">
                        <c:out value="${errors}"/></span>
    	</html:messages>			
    </logic:messagesPresent>
    <logic:messagesNotPresent>
                  <fmt:message key="login.message"/>
    </logic:messagesNotPresent>
    <logic:equal name="Link" value="FIRE_STATION"  scope="session" >
             <li><a class="selected" href="../fireStation/getFireStations.htm" title="Manage Fire Station">Fire Stations</a></li>
    </logic:equal>
    <logic:notEqual name="Link" value="FIRE_STATION"  scope="session" >
    <li><a href="../fireStation/getFireStations.htm" title="Manage Fire Station">Fire Stations</a></li>
    </logic:notEqual>
    Thanks in advance

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    There is a web related forum http://forum.springsource.org/forumdisplay.php?f=25
    This forum is for Spring Integration project.

  3. #3
    Join Date
    Oct 2010
    Location
    Chennai,Tamilnadu,India
    Posts
    5

    Default

    I have posted in that.. please help me..

Posting Permissions

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