JSP Tag Libraries

Скачать в pdf «JSP Tag Libraries»


<%@ taglib


uri=»http://www.manning.com/jsptagsbook/simple-taglib» prefix=»simple» %>


<cond:with name=»customer»


property=»loggedOn»>


<cond:test condition=»neq true»>


<simple:redirect location=»logonForm.jsp»/> О </cond:test> o <cond:test condition=»eq true»>


<simple:nocache useHeaders=»true»/>


<HTML>


<HEAD>


<TITLE>Cosmetics</TITLE>


</HEAD>


<BODY BGCOLOR=»#FFFFFF»>


<CENTER>


<form action=»profileHandler» method=»post»>


<TABLE CELLSPACING=»0″


CELLPADDING=»0″


BORDER=»0″>


<TR>


<TD>


<j sp:include page=»userMenu.jsp» h flush=»true»/>


</TD>


</TR>


<TR>


<TD>


<P><B>Profile</B></P>


<P>Below is your profile in our system.</P>


<P>To change the profile, make the changes and press ‘Commit’.</P>


</TD>


</TR>


<TR>


<TD ALIGN=»center»>


<BR>


<TABLE CELLSPACING=»0″


CELLPADDING=»0″


BORDER=»0″


WIDTH =»100%»>


<TR>


<TH ALIGN=»LEFT»>


Username:


</TH>


<TD>


<bean:show name=»customer»


property=»username»/>


</TD>


</TR>


<TR>


<TH ALIGN=»LEFT»>


Company:


</TH>


<TD>


<input type=»text»



name=»company» value=»<bean:show name=»customer»


property=»company»/>»>


</TD>


</TR>


<TR>


<TH ALIGN=»LEFT»>


Name:


</TH>


<TD>


<input type=»text» name=»name»


value=»<bean:show name=»customer»


property=»name»/>»>


</TD>


</TR>


<TR>


<TH ALIGN=»LEFT» VALIGN=»top»>


Address:


</TH>


<TD>


<textarea name=»address


rows=»4″


cols=»40″><bean:show name=»customer»


property=»address»/></textarea>


</TD>


</TR>


<TR>


<TH ALIGN=»LEFT»> Email:


</TH>


<TD>


<input type=»text» name=»email


value=»<bean:show name=»customer»


property=»email»/>»>


<TR>


<TH ALIGN=»LEFT»>


Phone:


</TH>


<TD>


<input type=»text» name=»phone»


value=»<bean:show name=»customer»


property=»phone»/>»>


</TD>


</TR>


<TR>


<TH ALIGN=»LEFT»>


Fax:


</TH>

Скачать в pdf «JSP Tag Libraries»