Using sjsws to host many small servlet/jsp sites on one server

Hello. I visited the web page at http://www.sun.com/software/products/web_srvr/features.xml, which mentions that sjsws supports mass hosting of thousands of domains. Anyone knows more information about this feature? I want to find out whether sjsws is a good choice for hosting many small servlet/jsp sites on one server.
Some time ago, I tried using apache+tomcat to host many small servlet/jsp sites on one server. But the result was not satisfactory. If a private tomcat/jvm is used for each site, too many resources are consumed and as a result, not many sites can be hosted on one server. If a shared tomcat/jvm is used for all sites, the resources consumed are reduced, but it becomes very difficult to isolate the sites. Is it possible to overcome such problems with sjsws?
Thx.

Of course you dont have to use multiple VMs to host multiple applications.
You can either choose to have multiple Virtual Servers, all in one instance of the web server, serving multiple applications. In this case only one java VM is used.
Or you can go in the route posted in the link above, in which there is only one "physical" virtual server, with many dynamic virtual servers.
Whether you chose to have many multiple web applications, or do the server division in a similar way to what is described in the blog, it is up to you.
Many different web applications will give you more fine level control on the application separation, but it will probably also mean greater resource consumption associated to the web application managing.
Less web applications, but with dynamic separation, in a similar way to what is described in the blog, will give a lesser control on the applications, but will save you a good number of resources.
SJS Web Server is known to work in massive web sites, with very high number of JSPs and Servlets. There is some real life examples of this massive hosting. Maybe others can provide some numbers here :P

Similar Messages

  • How To Use A .dll Object in Java Servlet/JSP

    I need the Solution, Is there any API's Available to do so.
    Ofcourse The .dll is a Microsoft Visual Basic Product.

    You need to use JNI to wrap C/C++ function provided by the .dll library. and then call it from JNI implementation class.
    [email protected]
    http://www.sinotar.com/

  • Can I use InDesign to format several small multiple-page PDFs into one large multiple-page PDF?  I want to stack 6 identical 3"x4" PDFs (50 pages long) onto one 8.5"x11" PDF (50 pages long) without having to align each image on each page individually.

    This seems like a standard thing that professional printers would have to do to efficiently maximize paper usage.  Can it be done with InDesign?

    Okay, thanks!  However, just to make sure, can I place a multi-page PDF (or InDesign document) onto a larger InDesign document that will automatically align each page in the same place all the way down the InDesign document? I am not looking to place single PDF pages one at a time because that will be highly inefficient for my purposes (I am going to have over 400 different 50-page 3"x4" PDFs that I wish to stack up 6 times on to a 50-page 8.5"x11" InDesign document).  How do I acquire/use the scripts that automate placing multi-page PDFs? Thanks!

  • Io Exception: Unknown host specified; fails for cluster, OK for one server

    SQL Developer 1.2.1.3213, BUILD MAIN-32.13, downloaded today, fails to connect to a remote two server Oracle cluster, until one of the two server DNS names and the comma between them is removed.
    FYI: The known host value looks like: devrac1.mydomain.ca,devrac2.mydomain.ca
    Change it to: devrac1.mydomain.ca and the connection will work as expected in 1.2.1
    Error dialog: "Error Connecting" An error was encountered performing the requested operation.
    "Io Exception: Unknown host specified"
    "Vendor code 17002"
    On SQL Developer version 1.1.0.15, build MAIN-15.57 all databases connect normally.
    The correct operation or failure apply to either Oracle 9i or 10g, on Windows XP Professional, SP 2, with JDK 6 update 3.
    Yours truly,
    Mike Rainville
    Version details:
    Oracle 9i, 9.2.0.0.0. or
    Oracle 10g, Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    Microsoft Windows XP [Version 5.1.2600]
    java version "1.6.0_03"
    Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
    Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
    (original post in thread: Re: Connecting to a remote database recreated here per your request)
    Mike Rainville
    Montreal, Canada

    You can also address both RAC nodes in your SQLDeveloper connection.
    Open the connection properties and select "Advanced" as "Connection Type".
    Use the following type of JDBC URL:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=devrac1.mydomain.ca)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=devrac2.mydomain.ca)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=devrac.mydomain.ca)))
    Best,
    Manfred

  • Jsp (executing in one server not in other)

    hi,
    my jsp page is running in tomcat server but not in iplanet server, i am getting problem as below.can somebody help me. thanks in advance.
    There was some problem with the jsp as it was not running on the server. I kept on getting the error
    Server Error
    This server has encountered an internal error which prevents it from
    fulfilling the request. The most likely cause is a misconfiguration.
    In the log I could find this
    [30/Jun/2003:19:08:09] info ( 5253): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Invalid jsp:include tag
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at javax.servlet.ServletException.<init>(ServletException.java:68)
    at org.apache.jasper.JasperException.<init>(JasperException.java:73)
    at
    org.apache.jasper.compiler.IncludeGenerator.<init>(IncludeGenerator.java:95)
    at
    org.apache.jasper.compiler.JspParseEventListener.handleInclude(JspParseEventListener.java:879)
    at
    org.apache.jasper.compiler.DelegatingListener.handleInclude(Compiled Code)
    at org.apache.jasper.compiler.Parser$Include.accept(Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Compiled Code)
    at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
    at com.netscape.server.http.servlet.NSServletEntity.load(Compiled
    Code)
    at com.netscape.server.http.servlet.NSServletEntity.update(Compiled
    Code)
    at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled
    Code)
    [30/Jun/2003:19:08:09] warning ( 5253): Internal error: Failed to get
    GenericServlet.
    (uri=/crux/compute_300603.jsp,SCRIPT_NAME=/crux/compute_300603.jsp)
    my code is like this
    (compute_300603.jsp)
    <%@page contentType="text/html"%>
    <html>
    <head><title>JSP Page</title></head>
    <SCRIPT>
    </SCRIPT>
    <body >
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    <%boolean flag=true;%>
    <% if (request.getParameter("fno")==
    null && request.getParameter("sno")
    == null) { %>
    <CENTER>
    <jsp:include page='top.jsp' />
    <H2>Please enter two numbers</H2>
    <FORM METHOD="POST" ACTION="compute_300603.jsp">
    <table bgcolor='snow'>
    <P>
    Your First no: <input type="text" name=
    "fno" size=10>
    <P>
    Your Second no: <input type="text" name=
    "sno" size=10>
    <P>
    </TABLE>
    </FORM>
    </CENTER>
    <% } else { %>
    <CENTER><jsp:include page='top.jsp' /> </CENTER>
    <%! int fno, sno ,total; String opr;%>
    <%
    try{
    fno = Integer.parseInt(request.getParameter("fno"));
    sno= Integer.parseInt(request.getParameter("sno"));
    if(Integer.parseInt(request.getParameter("pro"))==1){
    opr="Addition";
    total= fno + sno;
    else if(Integer.parseInt(request.getParameter("pro"))==2){
    opr="Subtraction";
    total= fno - sno;
    else if(Integer.parseInt(request.getParameter("pro"))==3){
    opr="Multiplication";
    total= fno * sno;
    else if(Integer.parseInt(request.getParameter("pro"))==4){
    opr="Division";
    try{
    total= fno/sno;
    }catch(ArithmeticException e){flag=false;%>
    <center>
    <b> <%= "Invalid Data entered" %> </b> <br>
    <br> <b> Click here to reenter </b>
    </center>
    <%}
    }catch(NumberFormatException e) {
    System.out.println("NumberFormatException occured");
    flag=false;%>
    <center>
    <b> <%= "Invalid Data entered" %> </b> <br>
    <br> <b> Click here to reenter </b>
    </center>
    <%}%>
    <%if(flag){ %>
    <CENTER>
    <H2>Please enter two numbers</H2>
    <FORM>
    <table bgcolor='snow'>
    <P>
    Your First no: <input ="text" name=
    "fno" size=10 value="<%= fno %>">
    <P>
    Your Second no: <input type="text" name=
    "sno" size=10 value="<%= sno %>">
    <P>
    </TABLE>
    </FORM>
    </CENTER>
    <P>
    <B>You have provided the following info</B>:
    <P>
    <B>First</B>: <%= fno %><P>
    <B>Second</B>: <%= sno %><p>
    <B>Operation Done</B>: <%= opr %><p>
    <B>Your Total Is</B>:<%= total%>
    <% }} %>
    </body>
    </html>
    (top.jsp)
    <html>
    <head><title>JSP Page</title></head>
    <script>
    function formSubmitAdd(){
    document.topForm.submit();
    function formSubmitSub(){
    document.topForm.pro.value=2;
    document.topForm.submit();
    function formSubmitMulty(){
    document.topForm.pro.value=3;
    document.topForm.submit();
    function formSubmitDiv(){
    document.topForm.pro.value=4;
    document.topForm.submit();
    </script>
    <body>
    <FORM name='topForm' action='compute_300603.jsp'>
    <INPUT type=hidden name=pro value=1>
    <input type=BUTTON value=Add onclick=formSubmitAdd();>
    <input type=BUTTON value=Multiply onclick=formSubmitMulty();>
    <input type=BUTTON value=Substract onclick=formSubmitSub();>
    <INPUT type=BUTTON value=Divide onclick=formSubmitDiv();>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    </body>
    </html>

    It seems that the server detected an error on the
    <jsp:include ..> tag.
    Try replacing <jsp:include page='top.jsp' /> by
    <jsp:include page="top.jsp" /> I have the same problem.. and this didnt work.. I also added flush="true". It works fine on tomcat but not on NES (netscape)
    Any suggestions..?
    Thanks..
    Kamala

  • Hosting a Servlet-JSP application onto Portal

    Hi,
    I have a scenario where I need to host a pure Servlet-JSP based application onto portal.
    This application is not developed using Web Dynpro. It is a pure java based application having two separate URLs for Dev and for Production.
    Now I want to give access point to this application via SAP Portal. How can I achieve it?
    Thanks and regards,
    Amey Mogare

    Thank you for reply Michael.
    Actually, this TestApp is already deployed on its Dev as well as Prod server as ear file. So we can use same ear file? If yes, then how? If not, then how do I go about?
    But I have one question here. How will we manage the different URLs of this application on portal?
    I mean, how would Production portal will know to point to production URL of this application???
    Thanks and regards,
    Amey Mogare
    Edited by: Amey Mogare on May 22, 2009 8:29 AM

  • Servlet / JSP hosting

    Hi!
    I need FREE servlet / jsp hosting.
    I searched the net, but I didn't found a provider that hosts ~10Mb of servlets, jsp and mysql database.
    I realy need it to earn money. Can anyone help me??
    the provider has to give me access to a 10 Mb mysql database, and 5 jsp pages.
    Thanks in advance.

    no, they don't provide mysql database.
    I already tested it.
    Or am I in wrong?? in this case, can you explain me how to add a mysql database on mycgiservers??
    thanks.

  • Package javax.servlet.jsp does not exist.

    dear all!
    I've one program which import javax.servlet.jsp.* as one of the package to be used in
    the program, and I am using j2sdk 1.4.0_01 to compiled it.
    However I got this error message : package javax.servlet.jsp does not exist.
    Where does it wrong?.
    error message like :
    logisticslib.java:6: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    logisticslib.java:201: cannot resolve symbol
    symbol : class JspWriter
    location: class elogistic.db.logisticslib
    public void getServiceInfo(JspWriter out, String SQL) {

    You need a J2EE implementation, I recomemend Tomcat, you also need to put the .jar w/ the implementation in in your classpath.

  • System.out.println in Servlets/JSPs

    Hi,
    Which file and directory in JDeveloper 10g (10.1.3.0) on windows does the output of System.out.println get logged to? THanks in advance.
    regards,

    Goes to standard out, not a file. So if you're running the embedded server you will see it in your Embedded Server Console window. However, you should never be using system.out.println in a servlet/jsp. Instead use commons logging or log4j to get log messages.

  • Getting absolute path of a file in a webapp without using servlet/JSP

    Hi all,
    I need a small clarification. Is it possible to reterive the absolute path of a file present in a tomcat web application without using Servlet/JSP. I have a normal java class which uses this file to read the configuration parameters. I like to know whether I need to create a seperate servlet which will read the parameters from web.xml.

    Hi all,
    I need a small clarification. Is it possible to
    reterive the absolute path of a file present in a
    tomcat web application without using Servlet/JSP. What if the file is in a WAR? What do you do then?
    I
    have a normal java class which uses this file to
    read the configuration parameters. There are other, better ways to do this.
    I like to know
    whether I need to create a seperate servlet which
    will read the parameters from web.xml.What do you really want it for? You shouldn't need an absolute path. Use the class loader to get an InputStream.
    %

  • How to display RTF File in Browser Using Servlets/JSPs

    Hi All,
    I have some RTF Files, which contains some data.
    The data needs to be displayed in the frame of jsp page .
    How i can display the RTF File Content using either servlets/jsps
    Can any body have idea on this.
    Help me out on this.
    With Regards
    Hari

    If you only need to display it, consider your HttpServletRequest just as byte stream. :) Just read from ServletInputStream and write it back into ServletOutputStream of HttpServletResponse.
    If you want to process incoming XML, please give some details first, what exactly you want to do. :)

  • Need a good charting library (for use in a servlet/jsp environment)

    Anyone know of a good charting library for use in a servlet/jsp environment.

    Use JFreechart combined with cewolf.
    www.object-refinery.com/jfreechart/
    To use charts in a jsp page you can use cewolf ( a taglib) based on jfreechart.
    http://cewolf.sourceforge.net/
    Both are free.

  • I created a website with iWeb but use GoDady for hosting it rather than MobileMe. The images on my Gallery page do not show at all on the external domain but they DO show when seen on MobileMe. Has anyone encountered this problem before? Many thanks!

    Hello al!
    I created a website with iWeb but use GoDady for hosting it rather than MobileMe. The images on my Gallery page do not show at all on the external domain but they DO show when seen on MobileMe. Has anyone encountered this problem before? Many thanks!

    Just create a new page (or use the existing photo page) on your external site and use html to add an iframe sized to the page and link it to the mobilme gallery page. Works for me just fine when showing my gallery from a yahoo site.
    like this
    <iframe scrolling="off" allowTransparency="true" frameborder="0" scrolling="yes" style="width:100%;height:100%;border:none" src="http://gallery.me.com/your_account_name"></iframe>

  • "javax.servlet.jsp.JspException: null" When trying to use JSTL

    Hello,
    I am trying to use some taglibs from Apache but I am getting the following error when trying to access the relevant page:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException: null
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspService(EL_005f2_jsp.java:171)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(Unknown Source)
         org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspx_meth_c_set_0(EL_005f2_jsp.java:208)
         org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspService(EL_005f2_jsp.java:113)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)My web.xml file is as follows:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Jsp_Ex09 - JSP Standard Tag Library</display-name>
    <welcome-file-list>
    <welcome-file>welcome.jsp</welcome-file>
    </welcome-file-list>
    <jsp-config>
    <taglib>
    <taglib-uri>/simplequestions</taglib-uri>
    <taglib-location>/WEB-INF/tlds/simplefaq.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
    </taglib>
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <el-ignored>false</el-ignored>
    <scripting-invalid>true</scripting-invalid>
    </jsp-property-group>
    </jsp-config>
    </web-app>I have the standard and jstl jars in my lib directory and the relevant tlds files int the tlds directory. I am using Tomcat 5.5 and J2EE 5.
    The jsp in question is as follows:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    <html>
    <head>
    <title>JSTL Q2</title>
    </head>
    <body>
    <h1>JSTL Question 2</h1>
    <h2>How do I use the JSTL?</h2>
    <jsp:useBean id="questions" class="com.apress.faq.Questions"
    scope="page">
    <jsp:setProperty name="questions" property="topic" value="EL"/>
    </jsp:useBean>
    <table border="1">
    <!-- the literal JSTL tag will be in left column of table -->
    <!-- the evaluated JSTL tag will be in right column of table -->
    <tr><th>tag</th><th>result</th></tr>
    <!-- this tag uses c:out to send the value of an EL to the response -->
    <tr><td><c:out value="${'${'}questions.topic}"/></td>
    <td><c:out value="${questions.topic}"/></td>
    </tr>
    <!-- this tag uses c:set to set the property of a JavaBean -->
    <c:set target="${questions}" property="topic" value="JSTL" />
    <tr>
    <td><c:set target="${'${'}questions}" property="topic"
    value="JSTL"/>
    </td>
    <td><c:out value="${questions.topic}"/></td>
    </tr>
    <!-- this tag uses c:if to determine whether to create another row -->
    <c:if test="${questions.topic == 'EL'}">
    <tr><td>This row will not be created</td>
    <td></td>
    </tr>
    </c:if>
    <c:if test="${questions.topic == 'JSTL'}">
    <tr><td>This row was created because the c:if tag result was true</td>
    <td></td>
    </tr>
    </c:if>
    </table>
    <h2>Multiplication table, 1 - 5</h2>
    <!-use the forEach tag to create a table -->
    <table border="1">
    <tr><td></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
    <c:forEach var="i" begin="1" end="5">
    <tr><td><c:out value="${i}"/></td>
    <c:forEach var="j" begin="1" end="5">
    <td><c:out value="${i*j}"/></td>
    </c:forEach>
    </tr>
    </c:forEach>
    </table>
    <h2>Formatting numbers</h2
    <br><fmt:formatNumber value="23.456" type="number" /> results in
    <fmt:formatNumber value="23.456" type="number" />
    <br><fmt:formatNumber type="currency">23.456
    </fmt:formatNumber> results in <fmt:formatNumber
    type="currency">23.456</fmt:formatNumber>
    <br><fmt:formatNumber value=".23456" type="percent"/> results
    in <fmt:formatNumber value=".23456" type="percent"/>
    <br><fmt:formatNumber value=".23456" type="percent"
    minFractionDigits="2"/> results in <fmt:formatNumber
    value=".23456" type="percent" minFractionDigits="2"/>
    </body>
    </html>Can anyone spot the problem?
    Sorry for such a big post!

    ava.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(Unknown Source)From the stacktrace, it appears to be from a <c:set> tag.
    Invocation target exception would meant that an error was encountered calling the setter.
    That would focus on this part of the code:
    <!-- this tag uses c:set to set the property of a JavaBean -->
    <c:set target="${questions}" property="topic" value="JSTL" />
    <tr>
    <td><c:set target="${'${'}questions}" property="topic"
    value="JSTL"/>
    </td>That nesting of ${ } inside ${} looks dodgy to me. What is it you are trying to achieve?

  • Weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri

    Previously my web app was running fine using eclipse 3.1
    When I upgraded my eclipse to 3.2 then built the same web app and deployed, upon running the url i got error
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/tags/css' prefix='css' : cannot find tag class
    Your help is appreciated.

              Hi Guys
              Problem is almost certainly because I've gone and defined the get as returning
              an int, (hence no property!)
              Apols
              J
              

Maybe you are looking for

  • Facebook chat not available -- Yahoo redirect to password sign-in page

    Facebook chat is "unavailable" -- getting a triangle with an exclamation point. In my Yahoo e-mail account I can do nothing but view my e-mails. Any attempt to open an attachment (a pic sent from my phone), clicking on "mail options," sending a help

  • Creating an App ID Description

    I am in the process of registering my first app.   The developer site is asking for an App ID Description.  Is this the name that I plan for the App or is it something else?  If it's something else, how should I name it? Thanks, Chuck

  • Valuation Method for Indian Payroll

    Hi, Can any one let me know the valuation method available in Indian Payroll. As per my knowledge is concern I Know there are 4 valuations methods are there. Can any one just provide me with name's of four valuation method. Thanks in Advance Irfan Hu

  • How to root Xperia TX on 4.1.2

    after updating to version 4.1.2, I lost root access, how do I recover them? Topic edited by Rickard

  • I want to display the bluetooth headset list.

    -  I want like this screen. Question 1. How do get change audio source?? 2. Could you tell me?     public api about BluetoothManager