Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 30th, 2011, 06:11 PM
Registered User
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent Plz

Good Evening
I am facing very serious problem
i am trying to display image using<bean:write> inside <img/> it worked for the first time but after integration process it stopped working
i throw object on session and i am sure that it retrieve the path of the image well

so plz check this code with me

<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix='c'%>

<title>User Profile</title>
<link rel="stylesheet" type="text/css" href="style.css" />

<div id="wrap">

<div id="header">
<div id="logo">
<h1>No Limit Forums</h1>
<div>Like No Any Other </div>
<ul id="nav">
<li class="first"><a href="#">Home</a></li>
<li><a href="login.jsp">Login</a></li>
<li><a href="RegisterationForm.jsp">Register</a></li>
<li><a href="#">Forums</a></li>
<!-- /header -->
<div id="content">
<div class="side fl">
<div class="sideinner">
<img src="images/jets.gif" alt="" width="70%" />
<h3><a href="#">PhotoAlbum</a></h3>
<div class="main fr">
<div id="text">
<h2>Welcome to User Profile</h2>

<p><img border="0" src="<bean:write name="userBean" property="avatar"/>" alt="Pulpit rock" />
<TABLE CELLPADDING=4 align="center">
<bean:write name="userBean" property="avatar"/>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">Username:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><bean:write name="userBean" property="username"/></font></TD></TR>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">Password:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><bean:write name="userBean" property="password"/></font></TD></TR>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">First Name:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><bean:write name="userBean" property="FName"/></font></TD></TR>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">Last Name:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><bean:write name="userBean" property="LName"/></font></TD></TR>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">Gender:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><bean:write name="userBean" property="gender"/></font></TD></TR>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">Country:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><bean:write name="userBean" property="country"/></font></TD></TR>
<TR><TD><font face="Placard MT Condensed" size="5" color="yellow">Email:</font></TD><TD></TD><TD><font face="Placard MT Condensed" size="4"><font face="Placard MT Condensed" size="5"></font><bean:write name="userBean" property="EMail"/></font></TD></TR>
<TR><TD><button value="Edit Profile" onClick="location.href='Profile.jsp'">Edit Profile</button></TD></TR>

<div class="clearfix"></div>
<div id="col">
<div class="first fl">
<li><a href="http://jets.iti.gov.eg/JETS/CourseOperationController?operation=showCourseUser ">Courses</a></li>
<li><a href="http://jets.iti.gov.eg/JETS/ViewTechnicalTrackServlet">Tracks</a></li>
<li><a href="http://jets.iti.gov.eg/JETS/ViewCertificationServlet">Certificates </a></li>
<li><a href="http://jets.iti.gov.eg/JETS/CorporateTraining.jsp">Coroporate Courses</a></li>
<li><a href="http://jets.iti.gov.eg/JETS/IndividualTraining.jsp">Individual training</a></li>
<li><a href="http://jets.iti.gov.eg/JETS/CourseOperationController?operation=UserSearch">Co urse Search</a></li>
<div class=" fl ">
<li><a href="http://jets.iti.gov.eg/JETS/AllNews.jsp">News & Events </a></li>
<li><a href="http://jets.iti.gov.eg/JETS/AllSeminars.jsp">Seminars and Workshops </a></li>
<li><a href="http://jets.iti.gov.eg/JETS/Training.jsp">Trainning </a></li>
<li><a href="http://jets.iti.gov.eg/JETS/contactUs.jsp">Contact us </a></li>
<li><a href="http://jets.iti.gov.eg/JETS/JoinMalingListServlet?submit=joinMailngList">Join Mailing List </a></li>
<!-- /content -->
<div class="clearfix"></div>
<div id="footer">
<div id="ftinner">
<div class="ftlink fl"> <a href="#">Home</a> | <a href="#">About Us</a> | <a href="#">Production</a> | <a href="#">Submission</a> | <a href="#">Contact</a>
<p id="copyright">© 2011. All Rights Reserved To <br/><a href="http://jets.iti.gov.eg/JETS/HomePage.jsp" target="_blank"> JETS</a> by No Limit Team</p>



Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent ..Plz...Help bluemoon988 ASP.NET 1.0 and 1.1 Basics 0 January 4th, 2008 06:08 AM
urgent plz, SachinMalge ASP.NET 2.0 Basics 2 January 16th, 2007 08:37 AM
Very urgent(plz solve) jagathucsc BOOK: Professional Crystal Reports for VS.NET 0 August 22nd, 2006 02:44 AM
Very urgent(plz solve) Swati_Jain BOOK: Professional Crystal Reports for VS.NET 2 May 30th, 2006 07:12 AM
urgent ....plz............[:)] noor ASP.NET 1.0 and 1.1 Basics 4 January 20th, 2005 01:24 PM

All times are GMT -4. The time now is 04:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.