[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

12/31/2008 at 05:59PM PST, ID: 24018919
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Formatting issues in JSP

Asked by williampeck in Java Standard Tag Library (JSTL) & Server Tags, Hypertext Markup Language (HTML), Cascading Style Sheets (CSS)

Tags: JSP, HTML, JSTL

need help formatting a web page with a simple list of data returned from Oracle.

everything is in  the attachment, too hard to explain in words.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
 
 
<sql:query var="load_status" dataSource="jdbc/EDW">
 select s1.subj_area_cd as Subj, s1.srce_sys_nm ||' - '||s1.srce_sys_cd as Source_Nm,  s1.freq as Freq, to_char(s1.mth_last_load_dt,'Mon dd, yyyy') as Exp_Last_Load,
        initcap(s1.last_step_run_nm) as CDR_Step, s1.cdr_rpt_mth as CDR_Month, initcap(s1.ods_last_step_run_nm) as ODS_Step, s1.ods_rpt_mth as ODS_Month,
        case s1.subj_area_cd
             when 'PRV' then 7
             when 'PRD' then 1
             when 'CLI' then 2
             when 'MEM' then 3
             when 'IDM' then 4
             when 'CLM' then 5
             when 'PCLM' then 6
             when 'PRV' then 7
             else 9
        end as Sort_Order
from ods.subj_area_srce_load_stus s1 
where s1.stus_nm = 'active' 
 and  s1.subj_area_cd in ('PRV','PRD','CLI','MEM','IDM','CLM','PCLM')
order by 9, 2
</sql:query>
 
<html>
<head>
	<title>EDW Load Status</title>
	
    	<style type="text/css">
       		td { font-family: Arial, Helvetica, sans-serif;	font-size: 12px; }
       		th { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 12px; }
		caption {font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 16px;}
    	</style>
	
</head>
<body bgcolor="#99ffff">
<table align="center" cellpadding="5">
 
	<caption>EDW Load Status</br>
	</caption>
 
	<th>Subject<br> Area</th>
	<th>Source</th>
	<th>Freq.</th>
	<th>Exp. Last File</th>
	<th>CDR Step</th>
	<th>CDR Month</th>
	<th>ODS Step</th>
	<th>ODS Month</th>
 
<c:forEach var="ls" items="${load_status.rows}">
 
<tr>
	<td>${ls.Subj}</td>
	<td>${ls.Source_Nm}</td>
	<td>${ls.Freq}</td>
	<td>${ls.Source_Cd}</td>
	<td>${ls.Exp_Last_Load}</td>
	<td>${ls.CDR_Step}</td>
	<td>${ls.CDR_Month}</td>
	<td>${ls.ODS_Step}</td>
	<td>${ls.ODS_Month}</td>
</tr>
</c:forEach>
</table>
 
</body>
</html>
Attachments:
 
web formatting issue explanation
 
 
 
[+][-]12/31/08 06:08 PM, ID: 23273950

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/01/09 07:54 AM, ID: 23275183

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/01/09 01:55 PM, ID: 23276520

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Standard Tag Library (JSTL) & Server Tags, Hypertext Markup Language (HTML), Cascading Style Sheets (CSS)
Tags: JSP, HTML, JSTL
Sign Up Now!
Solution Provided By: williampeck
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01/02/09 12:04 AM, ID: 23277964

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091028-EE-VQP-88 - Hierarchy / EE_QW_3_20080625