Creating an Estore From the Ground Up - Controlling The Page View
(Page 3 of 4 )
<%@ page import="com.sun.estore.control.Web.ScreenNames" %>
<jsp:useBean
id="screenManager"
class="com.sun.estore.control.Web.ScreenFlowManager"
scope="session"/>
<j2ee:CreateTemplate template="template"
screen="<%=screenManager.getCurrentScreen(request)%>">
<j2ee:Screen screen="<%=ScreenNames.MAIN_SCREEN%>">
<j2ee:Parameter parameter="HTML Title"
value="Welcome to Java Pet Store Demo" direct="true"/>
<j2ee:Parameter parameter="HTML Banner"
value="/banner.jsp" direct="false"/>
<j2ee:Parameter parameter="HTML Body"
value="/index.jsp" direct="false"/>
</j2ee:Screen>
<j2ee:Screen screen="<%=ScreenNames.SIGN_IN_SUCCESS_SCREEN%>">
...
</j2ee:Screen>
...
</j2ee:CreateTemplate>
Defining Page Appearance
<table border="0" cellspacing="0" width="600" >
<tr>
<td>
<%@ include file="sideindex.jsp"%>
</td>
<td bgcolor="white" height="300">
<%@ include file="splash.jsp" %>
</td>
</tr>
</table>
</HTML >
Of course this is just a base; you can customize it in any way that your skills allow. If, however, you want a no-code option, you do have a few choices. Some of these choices include:
Jimdo
- A sub-domain
- 500 MB of storage space
- Custom templates
- Photo Galleries
- SEO
- RSS and friending support
Cafe Press
- A sub-domain
- The ability to put the same image on multiple items easily.
- Custom templates
- Photo galleries
eBay
- Listings on a very large site, where many people already go to shop.
- The ability to put up images and control both pricing and shipping options easily.
Next: Setting Up the Store Front >>
More Web Development Articles
More By Katie Gatto