Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 2 div could not be viewed  RSS feed

Ramesh kangamuthu
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I have involved myself in a struts 2 project. In my application I got struggling when I work with s iv tags. They are not visible in one of my jap page. I have given the code below. please help me.

My jsp code

bankinghome.jsp - returned from an action

Document : index
Created on : Jul 2, 2008, 8:50:45 PM
Author : ramesh.k
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Online Banking Services Home</title>
<s:form name="bankinghomeForm">
<img src="${pageContext.request.contextPath}/images/onlinebanking1.gif"/>


<img src="${pageContext.request.contextPath}/images/logo_angler.gif"/>

<s:if test='%{#session.home=="true"}'>
<s:url id="accountInfo" action="accountInfoMain"/>
<s:a href="%{accountInfo}" theme="ajax" errorText="Url was not
formed correctly" value="Account Information"/>
<s:url id="transactions" action="accountInfo"/>
<s:a href="%{transactions}" errorText="Url was not formed correctly"
<s:url id="reports" action="reportsMain"/>
<s:a href="%{reports}" errorText="Url was not formed correctly"
<s:url id="logout" action="logout"/>
<s:a href="%{logout}" errorText="Url was not formed correctly"
value="Log out"/>


Ramesh Kangamuthu
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!