Forum Replies Created
-
AuthorPosts
-
in reply to: pdf generated empty November 15, 2014 at 15:05#29599
I have similar problem: Lotus Domino server, if I try to convert http://www.mydomain.com/database.nsf/viewname/document I get an empty PDF. If I set url to http://www.google.com it works.
I tried adding authentication, just in case, but it still does not work.in reply to: [CSS Issue] Border-style : dashed. November 14, 2014 at 17:20#27440not yet implemented?
in reply to: Colspan/Rowspan not rendering November 14, 2014 at 10:50#28239Hello,
I have a similar issue.
My company bought PD4ML v3.93. We still use v.3.85 before.
I changed the version in our application and compared the generated PDFs with v3.85 and v3.93.
The test results were very good expect of two tables. Some rows were positioned in a different way with v3.93 as it was with v3.85.
My HTML analyze showed that these tables with the wrong rendering use the Attribute rowspan extensively compared to the tables showing no rendering problem.
I have a made test cases for you to reproduce this error.
Unfortunately, the email form of the Support Forum does not allow to attach files to this message (or I do not see where I can do this).
Please tell me where I can put these artifacts for you to reproduce.
The following artifacts can be sent from my side:
1. A ZIP file containing the HTML and all referenced files
2. A PDF file rendered by v3.93
3. A PDF file rendered by v3.85With kind regards,
Walterin reply to: can PD4ML display table <caption> tags? October 21, 2014 at 08:28#29586Try looking at https://pd4ml.com/html.htm for a list of supported tags – caption tags are one of the tags that are not supported by pd4ml.
in reply to: can PD4ML display table <caption> tags? October 17, 2014 at 14:22#29585I’ve just re-read my post and should confirm that we don’t see the contents of the
<caption>tags displaying in the PDF, obviously we don’t want to see the tags themselves! 🙂in reply to: Chinese font handling October 16, 2014 at 05:50#29579Thank you for your reply. It worked after updating to remove ‘()’ from the font name in the input html and mapping file. With this, will the PD4ML library be updated such cases? Thanks.
in reply to: pd4ml in a .jspx file used with success – up to a point …. August 26, 2014 at 09:32#28761Was this ever fixed?
I had hoped to get an email advice, but never got one.I suppose I shall have to buy 3.9, but if I do, can you confirm that the enabled parameter will work?
Thanks
in reply to: Custom Fonts July 18, 2014 at 08:50#27412on Win8.1 in cmd:
I:xampphtdocspd4mlprobe>java -Xmx512m -Djava.awt.headless=true -cp I:xampphtdocspd4mlpd4ml_demo.jar Pd4Cmd "file:123.html" -ttf I:xampphtdocspd4mlfonts 800 A4 -debug -out pd4ml.pdf version: PD4ML 385fx6 Pro (eval) not yet in cache: file:I:xampphtdocspd4mlfonts/pd4fonts.properties 'times' is not in pd4fonts.properties file reject TTF lookup for: 'times' not yet in cache: file:I:xampphtdocspd4mlfonts/times.ttf read 'times new roman' from file:I:xampphtdocspd4mlfonts/times.ttf 'times bold' is not in pd4fonts.properties file reject TTF lookup for: 'times bold' not yet in cache: file:I:xampphtdocspd4mlfonts/timesbd.ttf read 'times new roman bold' from file:I:xampphtdocspd4mlfonts/timesbd.ttf ...
I:xampphtdocspd4mlfonts/pd4fonts.properties
or
I:xampphtdocspd4mlfonts/times.ttf
is the right path in windows system?in reply to: need servlet code for converting html string to pdf June 23, 2014 at 08:21#29038Hi,
I have been using the below sample code in my application. I have been using the demo jar.
PD4ML html = new PD4ML(); html.setPageSize(new java.awt.Dimension(450, 450)); html.setPageInsets(new java.awt.Insets(20, 50, 10, 10)); html.setHtmlWidth(750); html.enableImgSplit(false); response.setHeader("Content-Disposition", "attachment; filename=test.pdf"); URL base = new URL("file:D:/home.jsp"); html.render(url, baos);Is this feature available in PD4ML library or in PD4Ml library PRO? I have to give this info to my procurement team.
in reply to: TTF embedding June 5, 2014 at 05:38#27316Any solution to display arabic text. I am facing the same problem. The characters are coming as ????. Although in my case the data I am passing through the StringReader as I am receiving the data from a WebService.
in reply to: Issue with TTF embedding. April 24, 2014 at 05:40#29528Can anyone please answer above query!!.
Also Is there any specific criteria for a TTF file to be compatible with PD4ML pro version. Is there a way to confirm that a TTF is compatible with PD4ML.in reply to: Is it possible to set header/footer scope via the API? April 23, 2014 at 19:03#27839I am also looking to compute the header height dynamically based on header size. Does anyone know how to do this using the API?
in reply to: Resizing content on web page results in extra white space April 17, 2014 at 19:01#29527Thanks again for your help, we were able to resolve our issue via CSS. The servlet test was not needed.
in reply to: Resizing content on web page results in extra white space April 15, 2014 at 18:26#29526Thanks for the quick reply. Based on your response, we are going to test a scenario where we are intentionally delaying the page layouting by asking for an image after the page is fully loaded. This image will be a dummy image, and we’ll give it a 5-10 second timeout, upon which the page should definitely be ready to be rendered. We could put together a servlet to test this with.
We will let you know the result. Thanks again for your promptness.
in reply to: css @media parsing March 18, 2014 at 07:52#28344Hello All,
I want to include external css files in jsp which is to be transform to pdf.
How do i fix this below issue :
org.w3c.css.sac.CSSException: Encountered " <IDENT> "screen "" at line 59, column 13. 12:49:42,111 ERROR [stderr] (default task-60) Was expecting one of: 12:49:42,111 ERROR [stderr] (default task-60) <S> ... 12:49:42,111 ERROR [stderr] (default task-60) "{" ... 12:49:42,111 ERROR [stderr] (default task-60) "," ... 12:49:42,111 ERROR [stderr] (default task-60) 12:49:42,112 ERROR [stderr] (default task-60) at com.steadystate.css.parser.SACParser.parseStyleSheet(SACParser.java:60) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.html.doc.css.d.Ò00000(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.html.doc.css.c.super(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.pd4ml.PD4ML.super(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.pd4ml.PD4ML.render(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.pd4ml.PD4ML.render(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.pd4ml.PD4ML.render(Unknown Source) 12:49:42,112 ERROR [stderr] (default task-60) at org.zefer.pd4ml.taglib.PD4MLTransformerTag.render(Unknown Source) 12:49:42,113 ERROR [stderr] (default task-60) at org.zefer.pd4ml.taglib.PD4MLTransformerTag.doEndTag(Unknown Source) 12:49:42,113 ERROR [stderr] (default task-60) at org.apache.jsp.WEB_002dINF.Jsp.itembank.SummaryPDF_jsp._jspService(SummaryPDF_jsp.java:494) 12:49:42,113 ERROR [stderr] (default task-60) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69) 12:49:42,113 ERROR [stderr] (default task-60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 12:49:42,113 ERROR [stderr] (default task-60) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365) 12:49:42,113 ERROR [stderr] (default task-60) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321) 12:49:42,113 ERROR [stderr] (default task-60) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:254) 12:49:42,113 ERROR [stderr] (default task-60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 12:49:42,114 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) 12:49:42,114 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) 12:49:42,114 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) 12:49:42,114 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) 12:49:42,114 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) 12:49:42,114 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) 12:49:42,114 ERROR [stderr] (default task-60) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) 12:49:42,114 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:57) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) 12:49:42,115 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:207) 12:49:42,116 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:150) 12:49:42,116 ERROR [stderr] (default task-60) at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:157) 12:49:42,116 ERROR [stderr] (default task-60) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) 12:49:42,116 ERROR [stderr] (default task-60) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:263) 12:49:42,116 ERROR [stderr] (default task-60) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208) 12:49:42,116 ERROR [stderr] (default task-60) at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992) 12:49:42,116 ERROR [stderr] (default task-60) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939) 12:49:42,117 ERROR [stderr] (default task-60) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) 12:49:42,117 ERROR [stderr] (default task-60) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) 12:49:42,117 ERROR [stderr] (default task-60) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) 12:49:42,117 ERROR [stderr] (default task-60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 12:49:42,117 ERROR [stderr] (default task-60) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) 12:49:42,117 ERROR [stderr] (default task-60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 12:49:42,117 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) 12:49:42,117 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) 12:49:42,118 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) 12:49:42,118 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) 12:49:42,118 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) 12:49:42,118 ERROR [stderr] (default task-60) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) 12:49:42,118 ERROR [stderr] (default task-60) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) 12:49:42,118 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:59) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) 12:49:42,119 ERROR [stderr] (default task-60) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:81) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) 12:49:42,119 ERROR [stderr] (default task-60) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:218) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:205) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:69) 12:49:42,120 ERROR [stderr] (default task-60) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:134) 12:49:42,121 ERROR [stderr] (default task-60) at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36) 12:49:42,121 ERROR [stderr] (default task-60) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:619) 12:49:42,121 ERROR [stderr] (default task-60) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 12:49:42,121 ERROR [stderr] (default task-60) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 12:49:42,121 ERROR [stderr] (default task-60) at java.lang.Thread.run(Thread.java:744) 12:49:42,747 INFO [stdout] (default task-60) done in 1648ms.my Jsp contains:
<%@page import="com.schoolcity.stars.controller.itembank.ItemBankController"%> <%@ page import="java.util.Map"%><%@ page import="java.util.List"%><%@ page import="java.util.ArrayList"%><%@ page import="java.util.HashMap"%><%@ page import="com.schoolcity.stars.dto.itembank.ItemSummary"%><%@ page import="com.schoolcity.stars.entity.assessment.Assessment"%><%@ page import="com.schoolcity.stars.entity.assessment.AssessmentForm"%><%@ page import="com.schoolcity.stars.entity.common.InstanceSubject"%><%@ page import="com.schoolcity.stars.entity.itembank.ItemChoice"%><%@ page import="com.schoolcity.stars.entity.itembank.Item"%> <% Map<String, ItemSummary> mpItemSummary = (Map<String, ItemSummary> ) request.getAttribute("SUMMARY_PDF"); Map<String, Item> mpItemDetail = (Map<String, Item>) request.getAttribute("ITEM_SELECTED_DETAILS"); List<String> lstDifficultyCode = (List<String>) request.getAttribute("DIFFICULTY_CODE"); List<String> lstBloomsCode = (List<String>) request.getAttribute("BLOOMS_CODE"); Assessment objAssessmentData = (Assessment) request.getAttribute("ASSESSMENT_DATA"); Map<Integer, String> mpTotalPoints = (Map<Integer, String>) request.getAttribute("TOTAL_POINTS"); String strContextPath = request.getContextPath(); System.out.println(">>>>>>>>>>>>>>> <hr class="bbcode_rule" /> >>>>>>>>>>>>>>>>>>>>" + strContextPath); System.out.println("I m in summary PDF"); %> <%@ taglib uri="/WEB-INF/tlds/pd4ml.tld" prefix="pd4ml"%><%@ page contentType="text/html; charset=ISO8859_1"%><pd4ml:transform screenWidth="800" pageFormat="LETTER" pageOrientation="portrait" pageInsets="15,15,15,15,points" enableImageSplit="false" adjustScreenWidth="true" enableTableBreaks="true" inline="true" interpolateImages="false" debug="true"> <pd4ml:header titleAlignment="center" titleTemplate="Summary PDF" color="#330000" fontSize="11" fontFace="verdana" fontStyle="bold" areaHeight="18" /> <pd4ml:footer pageNumberTemplate=" " titleAlignment="right" titleTemplate="SchoolCity Inc." pageNumberAlignment="center" color="#330000" initialPageNumber="1" pagesToSkip="0" fontSize="8" fontFace="verdana" fontStyle="bold" areaHeight="25" /> PD4ML pd4ml = new PD4ML(); pd4ml.enableDebugInfo(); <html> <head> <link rel="stylesheet" media="screen" href="<%=strContextPath%>/sc/Style/external/styles-main.css"></link> </head> <body> <div class="span2 details-1"> <b>Assessment Name:</b> <label> <%=objAssessmentData.getName()%></label> <hr> <b>Year:</b> <label> <%=objAssessmentData.getSchoolYear().getLongName()%></label> <b>Subject:</b> <label><%=objAssessmentData.getAssessmentForm().get(0).getSubject().getLongName()%></label> </div> <br><br> <div> <table class="table"> <thead> <tr> <th>Item #</th> <th>Standard</th> <th>Item ID</th> <th>Correct Answer</th> <th>Points</th> <th>Passage Name</th> <th>Difficulty Level</th> <th>DOK</th> </tr> </thead> <tbody> <% int index = 1; for(Map.Entry<String, ItemSummary> mpeItemSummary : mpItemSummary.entrySet()) { %> <tr> <td><%=index++%></td> <td><%=mpeItemSummary.getValue().getFullNumber()%></td> <td><%=mpeItemSummary.getValue().getPublisherExtId()%></td> <td><%=mpeItemSummary.getValue().getCorrectAnswer()%></td> <td><%=mpeItemSummary.getValue().getPoints()%></td> <td><%=mpeItemSummary.getValue().getPassageTitle()%></td> <td><%=mpeItemSummary.getValue().getDifficultyCode()%></td> <td><%=mpeItemSummary.getValue().getDepthOfKnowledgeCode()%></td> </tr> <% } %> </tbody> </table> </div> <br> <br> <div> <table class="table"> <thead> <tr> <th rowspan="2">STANDARD</th> <th colspan="4">DIFFICULTY LEVEL</th> <th colspan="7">BLOOM'S TAXONOMY</th> <th rowspan="2">Total</th> </tr> <tr> <% for(String strDC : lstDifficultyCode){ %> <th><%=strDC%></th> <% } %> <% for(String strBC : lstBloomsCode){ %> <th><%=strBC%></th> <% } %> </tr> </thead> <tbody> <% int iDLC = 0, iDMC = 0, iDHC = 0, iDNC = 0, iBCr = 0, iBEv = 0, iBAn = 0, iBAp = 0, iBUn = 0, iBRe = 0, iBNa = 0; for(Map.Entry<String, ItemSummary> mpeItemSummary : mpItemSummary.entrySet()) { %> <tr> <td><%=mpeItemSummary.getValue().getFullNumber()%></td> <% for(String strDC : lstDifficultyCode){ %> <% if(strDC.equals(mpeItemSummary.getValue().getDifficultyCode())) { if(mpeItemSummary.getValue().getDifficultyCode().equals("Low")) iDLC++; if(mpeItemSummary.getValue().getDifficultyCode().equals("Medium")) iDMC++; if(mpeItemSummary.getValue().getDifficultyCode().equals("High")) iDHC++; if(mpeItemSummary.getValue().getDifficultyCode().equals("N/A")) iDNC++; %> <td>1</td> <% } else { %> <td></td> <% } %> <% } %> <% for(String strBC : lstBloomsCode){ %> <% if(strBC.equals("N/A") && mpeItemSummary.getValue().getBloomsCode().equals("-")) { iBNa++; %> <td>N/A</td> <% } else { if(mpeItemSummary.getValue().getBloomsCode().equals("Create")) iBCr++; if(mpeItemSummary.getValue().getBloomsCode().equals("Evaluate")) iBEv++; if(mpeItemSummary.getValue().getBloomsCode().equals("Analyze")) iBAn++; if(mpeItemSummary.getValue().getBloomsCode().equals("Apply")) iBAp++; if(mpeItemSummary.getValue().getBloomsCode().equals("Understand")) iBUn++; if(mpeItemSummary.getValue().getBloomsCode().equals("Remember")) iBRe++; %> <td><%=mpeItemSummary.getValue().getBloomsCode()%></td> <% } %> <% } %> </tr> <% } %> <tr> <td>Total:</td> <td><%=iDLC%></td> <td><%=iDMC%></td> <td><%=iDHC%></td> <td><%=iDNC%></td> <td><%=iBCr%></td> <td><%=iBEv%></td> <td><%=iBAn%></td> <td><%=iBAp%></td> <td><%=iBUn%></td> <td><%=iBRe%></td> <td><%=iBNa%></td> </tr> </tbody> </table> </div> <br> <br> <div> <% int count = 1; %> <% for(Map.Entry<String, Item> mpeItems : mpItemDetail.entrySet()) { %> <table class="table"> <thead> <tr> <th>Question #<%=count++%> (<%=mpeItems.getValue().getName()%>) </th> </tr> </thead> <% List<ItemChoice> lstItemChoice= mpeItems.getValue().getItemChoices(); %> <tr> <td><%=mpeItems.getValue().getStem()%> <table> <% for(int i = 0 ; i < lstItemChoice.size() ; i++){ %> <tr> <td>(<%=lstItemChoice.get(i).getChoice()%>). <%=lstItemChoice.get(i).getBody()%></td> </tr> <% } %> </table></td> <% String st[] = new String[mpeItems.getValue().getStandards().size()]; StringBuilder sbfullname = null; StringBuilder sbdesc = null; for(Map.Entry<Integer,String> mpeStandard : mpeItems.getValue().getStandards().entrySet()){ sbfullname = new StringBuilder(); sbdesc = new StringBuilder(); st = mpeStandard.getValue().split("~"); sbfullname.append(st[0]); sbdesc.append(st[1]); %> <td><b><%=sbfullname.toString()%></b> <% }and i am using bellow jars:
pd4ml_demo.jar ,
pd4ml_tl_demo.jar ,
ss_css2.jar and
w3c.jar files in lib of web-inf folder and have included the respective tlds. -
AuthorPosts
