JSP Static Include in JDeveloper

We've got some older-style code that statically includes a page (<%@ include file="xyz.jsp" %>) that assumes the existence of, and references, a variable (declared via <% %>) in the including page. This runs fine when deployed to an OC4J server, but of course when I try to run the including page in JDeveloper, it attempts to pre-compile all of my JSPs and then chokes on the inlcuded page, as it is attempting to reference an undeclared variable.
Is there a work-around in order to get this to run in JDeveloper? (putting JSTL aside for the moment...)
Thanks,
Jim

Hi Mike,
Thanks for the reply.
Both IncludingJSP.jsp and IncludedJSP.jsp are in my project. Here is a simple test case to try if you have the time/interest:
<<IncludingJSP.jsp>>
<%
String s = "test";
%>
This is IncludingJSP.jsp
<br>
<%@ include file="IncludedJSP.jsp"%>
<<IncludedJSP.jsp>>
This is IncludedJSP.jsp
<br>
<%=s%>
When I try to compile either page, or try to run IncludingJSP.jsp, I get the following result in JDev:
C:\OraHome1\JDev9031\jdev\mywork\TestWS1\Project3\public_html\IncludedJSP.jsp
Error(3,17): variable s not found in class _IncludedJSP
I've done this type of thing in the past myself, but it was a project involving components that wouldn't compile or run locally (accessed Portal APIs/components that only existed on the server in the Portal environment), so we always ran/debugged on the server, where this arrangement will (and does) work fine. Its just in the JDev environment that it gets stopped up. (Similarly, in JDev, if you comment out the variable reference in the Included JSP, you can compile and run fine. If you then uncomment the variable reference and just refresh the browser - w/o recompiling and rerunning in JDev - all works fine - this is synonymous with how deployment to the server would behave.)
A first-level (flawed) workaround is to deselect the "Make Project Before Running" option in the Project Settings:Runner:Options page. In doing so, a Make/Rebuild of the project will cause the above error, but simply running the IncludingJSP.jsp will allow things to work correctly - looks great. The problem here is that if I then introduce a Bean, say Bean1, that I reference in IncludingJSP.jsp (via jsp:useBean and jsp:getProperty, for example), then when I try to compile the Bean after making a change (something significant like changing the return type of a get method - simply changing something internal to the Bean seems to work fine, as the prior compilation of the referencing page still works), the dependency analysis gets hosed up and depending on what I do (Make/Rebuild of Bean/Project), I either get compile-time error messages or things appear fine at compile-time and then when I run, the Bean or referencing JSP are not properly compiled.
I've tried getting tricky and having a second Project, containing my IncludedJSP.jsp file, setting its HTML Root to be the same as the other Project (thus having the IncludedJSP.jsp file available for the compilation of IncludingJSP.jsp, but not having it included in the project's dependency analysis and subsequent compile), but that hoses something up and I then can't run any JSPs in the first Project. (This is regardless of whether a file is included or not - simply having a common HTML root between two projects seems to screw things up to the point that you can't run any JSPs in either project...)
Its kinda frustrating. I think I see/understand basically why its doing what its doing, but it'd be nice to find a way to keep it from happening! I don't know if maybe using Ant would solve this type of problem?
Anyway, appreciate your interest - if you have other ideas, I'm open to them!!
Jim

Similar Messages

  • Static includes, Tomcat and RequestDispatcher

    hi
    we are using Tomcat 4.1.18/IIS on a win2000 machine. we have one JSP statically including other JSPs, and I know that Tomcat can detect and recompile statically included pages when they are modified (whether or not the calling page has been modified). This works fine on its own. However, when we call our servlet, it does some processing then forwards the request using a RequestDispatcher like this
    RequestDispatcher rd = getServletContext().getRequestDispatcher(page);
    rd.forward( req, res );
    the problem is that Tomcat no longer detects that statically included pages have been modified. is it something to do with the request dispatcher, Tomcat or what? we have done a lot of internet research but have come up empty.
    thanks in advance
    john

    "On requesting a JSP page, the request is transferred from the normal WWW server (e.g. Apache) to Tomcat which first checks whether it has cached an already compiled version of the Java programme associated with the page. Recompilation takes place if the last modification date stamp on the JSP page is more recent than the last modification date stamp on any cached compiled version."
    Tomcat checks the timestamp when it first recieves the request. At this point you are requesting a servlet and tomcat doesn't know that the request is going to be forwarded to a JSP so it never checks the timestamp of the JSP or any included files.

  • Static include in ADF page.

    Hi All,
    I tried a lot for static include in .jspx pages with ADF Faces but couldn't find a solution for implementing.
    jsp has two include directives 1) @include 2) jsp:include.
    I would like to include one jspx page in other jspx page statically similar to @include functionality of jsp. How can we achieve this with ADF Faces jspx pages?
    It is most common requirment in web development that header and footer will be created in separate files and will be statically included in all pages but ADF Faces doesn't seem to support this feature.
    SRDemo exmple says to create a template first and then use this template to create other pages but this approach can't be used as it is always possible that there is a change in template it self.

    You can perform an either static or even dynamic page inclusion (JSPX within another JSPX) regarding that you have to follow these rules:
    1 - The Included page must use a subview element instead of a view one, considering that in case of more than one simultaneous page inclusion, they must have unique identifiers.
    2 - In case that the included page has its own standalone page definition, then things become more complicated (till JDeveloper 10.1.3.3), and you have to perform some work arounds using the page element within the container-page page definition to get access to its children-pages page definitions.
    Hope this helps. Feel free for any further information.

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

  • Using static include directove problem in ONE web server 6.1

    Hi,
    I am using sun ONE web server 6.1 to serve jsp pages with custom tags.
    All the jsp includes used are static (@include).
    I have card.jsp that includes common.jsp and specific_page.jsp.
    specific_page.jsp includes generic_page_header.jsp.
    common.jsp has the taglib directive.
    specific_page.jsp and generic_page_header.jsp use custom tags defined in the taglib directive.
    It appears that the custom tags in specific_page.jsp are parsed without a problem, but the custom tags in generic_page_header.jsp generate the following exception: WEB4105: End of content reached while more parsing required: tag nesting error?
    When I manually pasted the code from generic_page_header.jsp into specific_page.jsp the page was parsed successfully.
    Can anyone help with this problem?
    Thanks,
    Oded

    Hi,
    I am using sun ONE web server 6.1 to serve jsp pages with custom tags.
    All the jsp includes used are static (@include).
    I have card.jsp that includes common.jsp and specific_page.jsp.
    specific_page.jsp includes generic_page_header.jsp.
    common.jsp has the taglib directive.
    specific_page.jsp and generic_page_header.jsp use custom tags defined in the taglib directive.
    It appears that the custom tags in specific_page.jsp are parsed without a problem, but the custom tags in generic_page_header.jsp generate the following exception: WEB4105: End of content reached while more parsing required: tag nesting error?
    When I manually pasted the code from generic_page_header.jsp into specific_page.jsp the page was parsed successfully.
    Can anyone help with this problem?
    Thanks,
    Oded

  • REP-0069 error when using static includes.

    I am trying to use static include files in my report JSP file. Such as...
    <%@ include file="ServerName.jsp" %>
    Although they seem to work when I run the report, Report Builder doesn't like them. When I open the report in Report Builder I get an REP-0069 error. When I then try to display the data model it is blank. If I remove the static include the report opens fine. Beans also have this same problem.
    Dynamic includes don't generate an message. However, scriptlette variables set in the included file are not visiable to the including file.
    Jim

    Hi Jim
    I tried this with Reports 9.0.2 latest patch. When a open a .jsp report where I have put a statis include tag, I get a builder crash. I am filing a bug on this. Please let me know your mail address, I would update you once the issue is resolved.
    Thanks
    Rohit
    Oracle Reports Team

  • Jspf is getting only statically included! please help!

    Hello,
    I am using glassfishv2ur2; I have a jsp page, that uses ...
    <jsp:include flush="true" page="WEB-INF/jspf/rightpanel.jspf"/>
    to rope in a jspf (jsp segment or fragment).
    I noticied via view source on my browser, the jspf is included in only statically! i.e, scripts and tags within the jspf are not getting processed, but simply being echoed back to the browser verbatim.
    I have been searching the fourms and the web on this issue and some of the postings indicate that some entries are needed in the web.xml for this to work.
    I don't see any servlet-mapping for the jsp tag in my web.xml and sun-web.xml - these are generated for me by netbeans. Can someone please help me ... tell me what i need to make the jspf be processed and not be statically included in glassfish?
    Thanks
    Edited by: ramboram on Aug 11, 2008 8:57 AM

    jspf files are intended to be included with the include directive - <%@ include %> not a <jsp:include>
    The include directive effectively "pastes" the contents of the file into the current jsp before it is compiled.
    <jsp:include> is designed to evaluate the resource at runtime. It pastes the result of running the JSP into the current response.
    So you should only <jsp:include> standalone jsp pages - not fragments.

  • Nested static includes

    In Weblogic 6.0 SP1, I get the following error when I have nested
              compile-time (static) includes of JSPs. It does not seem to matter what the
              included file/s contain. It seems that Weblogic JSPC does not like nested
              includes. Did not see anything in the spec to disallow nested includes, but
              I may be missing something. BTW, it compiles and runs fine in JBuilder.
              Any ideas?
              java.lang.RuntimeException: Could not parse embedded JSP code:
              weblogic.utils.ParsingException: nested TokenStreamException:
              antlr.TokenStreamException: Could not include includes/id_footer.jsp
                   at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1116)
                   at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1093)
                   at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1086)
                   at weblogic.servlet.jsp.JspLexer.buildTimeInclude(JspLexer.java:864)
                   at weblogic.servlet.jsp.JspLexer.mINCLUDE_DIRECTIVE(JspLexer.java:3758)
                   at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3531)
                   at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1829)
                   at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1670)
                   at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1552)
                   at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:893)
                   at weblogic.servlet.jsp.JspParser.doit(JspParser.java:71)
                   at weblogic.servlet.jsp.JspParser.parse(JspParser.java:139)
                   at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:113)
                   at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:253)
                   at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:324)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
                   at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:133)
                   at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:31
              0)
                   at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
                   at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:157)
                   at
              org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
              va:1759)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
                   at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :213)
                   at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1265)
                   at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1622)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Thanks,
              Mitesh Mehta
              S1 Corp (http://www.s1.com)
              

    Max Stewart wrote:
    > Does this restriction also then apply when F12
    previewing in a browser ?
    F12 launches the page in a browser. Once it has done so, it
    has nothing
    to do with Dreamweaver. If you set up a testing server that's
    capable of
    handling SSI, everything should be displayed exactly the same
    as on a
    live website.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • jsp:directive-include fails when deployed to 10gAS (10.1.2)

    I am working on an ADF-Faces application (EA17) but am struggling with some issues that only appear when we deploy the application. One is an IllegalStateException that I mention in an earlier posting and an other is that the < jsp: directive-include > tag is supported in our JDeveloper release but when we deploy it the pages will not display and we see from our error log that the < jsp: directive-include > is not supported.
    I did a find . -name "jsp*jar" in the $ORACLE_HOME folder of the deployment system and my local JDeveloper and my local $ORACLE_HOME and in all cases came up with the same jsp-el-api.jar and jsp-api-2.0.jar files (3086 and 49510 bytes respectively) Not being a J2EE expert I'm a little confused as to what is going on. If the same JSP jars are in both cases why does it work on my local JDeveloper but not on the server?
    Thanks, Mark

    OC4J 10.1.2 is a J2EE 1.3 server, so it is not JSP 2.0 - it's JSP 1.2. You don't deploy jsp-api-2.0 JARs into a J2EE server - it already has its own version of JSP.
    OC4J 10.1.3 is a J2EE 1.4 server, which includes JSP 2.0. Is your local JDev 10.1.3 or 10.1.2?

  • How to include servlet in JSP using Include Directive?

    Hi experts,
    am a beginner to JSP.. I want to know,
    is it possible to include a servlet in jsp using include directive? could any one explain me...

    No it is not possible.
    Include directive is like copying and pasting some text into a JSP file, and then translating/compiling it.
    So the only thing you can include with the <%@ include %> directive is a jsp fragment
    It is a static translation/compile time include and thus will always be the same
    By contrast <jsp:include> is a runtime include, and includes the result of running the imported url.
    That URL has to be a complete/standalone jsp/servlet/whatever. However as it is runtime, it can take parameters where the include directive can not.
    Does that answer your homework question?
    Cheers,
    evnafets

  • JSP portlet built in Jdeveloper call stored procedure

    Hi,
    I have a simple jsp portlet built with Jdeveloper, now I'm trying to execute a stored
    procedure from the jsp. How can one access database and call a proc, in a jsp which is
    developed in Jdeveloper?
    Is JSTL required for it or a normal jdbc calls will suffice?
    Any help asap is appreciated.
    Thanks,
    Kavitha

    It is actually very simple. :)
    I suggest to create a Java bean containing the Java code with the PL/SQL call.
    This method can be invoked from JSP.
    A good pratice is to pass database connection to this methode and commit or rollack in the JSP.
    example:
    public void saveData(Connection conn,
    String param1,
    String param2) throws SQLException
    With this approach you can call several SQL statements in the same session.
    This will enable transaction handling.
    I suppose the db connect will be pooled in your application.

  • Weblogic 9.1/10 not working on jsp:directive.include file="file.jspf"/

    Does anyone know how to get rid of this problem? I have a jsp page including a sun java studio creator created page fragment using the tag:
    <jsp:directive.include file="myHeader.jspf"/>
    here myHeader.jspf is a page fragment.
    after deployment, weblogic server report error as:
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /Page1.jsp
    Page1.jsp:15:57: Error in "C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\proj\grb4mk\war\myHeader.jspf" at line 1: The encoding "null" specified in the XML prolog is unsupported.
    <jsp:directive.include file="myHeader.jspf"/>
    ^----------------^
    Any idea? I tried both weblogic 9 and 10, same error, change to
    <jsp:include page="myHeader.jspf"/>
    works. the question is: why not read jsp 1.2 tag? Any way to make it work with jsp:directive.include tag?
    thanks in advance.
    Edited by: user10243594 on Sep 10, 2008 10:22 AM

    The "jsp:directive.include" tag is only valid in an well-formed XML file that specifies all the relevant namespaces. The "jsp:include" tag is used in a JSP file. I'll bet the beginning of your file shows that you don't have a valid and well-formed XML file.
    If you found that "jsp:include" worked, then that confirms you have an ordinary JSP file here. Why are you trying to use the XML form? The result of "jsp:include" in a JSP file will be exactly the same as the analogous tag in an XML file.

  • Unable to run jsp as include using jsp:include tag

    I am trying to run the basic jsp:include sample provided by Oracle in OC4J 10g. When I run the code, It seems like include file is treated as text/html and not run at all. Can somebody help me in figuring out what I am missing here..
    Here is the code for main.jsp
    <jsp:include page="content.jsp">
    <jsp:param name="a" value="1"/>
    <jsp:param name="b" value="2"/>
    <jsp:param name="c" value="3"/>
    </jsp:include>
    Here is the code for content.jsp
    <p> Included Content </p>
    <p> Parameters - ${param.a}, ${param.b}, ${param.c} </p>
    When I run this code in JDeveloper10g using the embedded OC4J as well as Application Server 10g, I get the following output.
    Included Content
    Parameters - ${param.a}, ${param.b}, ${param.c}
    Note that the parameter values are not substituted properly.
    Thanks in advance
    Niraj

    javax.servlet.ServletException: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
    This is your problem either your tomcat or eclipse is pointing to a wrong jre
    here the problem is you are trying to run a code that was compiled using j2sdk1.5 in j2sdk1.4

  • jsp:directive.include file=("page3" pubType + ".jsp") flush="true" /

    this isnt working, im trying to add different files in depending on the pubType variables. is there any way i can do this?

    <jsp:directive.include file=("page3" + <%= pubType %> + ".jsp") flush="true" />
    Is that fine?
    Sandesh

  • Are not interpreted JSTL tags in a JSP page including in a servlet.

    Hi people,
    I have a project where una page (index.jsp) includes a servlet (MyServlet), that consult a persistence class and get a List of objects (Users),      
    then the servlet passes the List to a Request object and includes another JSP page (showUsers.jsp). And this is conceptually correct, but don´t works, the JSTL tags are not interpreted in showUsers.jsp.
    This is my code...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <c:out value="Show me some things index.jsp"/>
    <div style="border-color:red; border:solid; padding-left:60px">
          <jsp:include flush="true" page="pepe/MyServlet"/>
    </div>
    </body>
    </html>...and the Servlet...
    public class MyServlet extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              UserManager um = new UserManager();
              List users = um.getUsers(); //This use Hibernate to return a Users List
              request.setAttribute("users", (ArrayList) um.getUsers());
              request.getRequestDispatcher("/showUsers.jsp").forward(request, response);
    }...Finally, we have the showUsers.jsp file....
    <c:out value="Show me some thing showUsers.jsp"/>
    <table>
         <tr>
              <th>ID</th>
              <th>Name</th>
              <th>e-Mail</th>
              <th>Type</th>
         </tr>
         <tr>
              <c:foreach items="${requestScope.users}" var="user">
                   <td><c:out value="${user.id}" /></td>
                   <td><c:out value="${user.name}" /></td>
                   <td><c:out value="${user.email}" /></td>
                   <td><c:out value="${user.type}" /></td>
              </c:foreach>
         </tr>
    </table>This i get as result page...
    ID       Name       e-Mail       TypeFinally, this is the code of showUsers.jsp...
    <c:out value="Show me some thing showUsers.jsp"/>
    <table>
         <tr>
              <th>ID</th>
              <th>Name</th>
              <th>e-Mail</th>
              <th>Type</th>
         </tr>
         <tr>
              <c:foreach items="[src.User@18f729c, src.User@ad97f5, src.User@d38976, src.User@1e5c339, src.User@17414c8, src.User@7a17]" var="user">
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
              </c:foreach>
         </tr>
    </table>Somebody can help me?
    Many thanks,
    Gonzalo

    Thanks you all guys,
    I appreciate very much your help. In response to everyone ...
    BalusC wrote:
    Is JSTL taglib declared in top of that JSP page? I don't see it back in the posted code snippet. In this example I stuck...
    request.getRequestDispatcher("/showUsers.jsp").forward(request, response);By mistake, but this is just a test, the original line of my servlet is...
    request.getRequestDispatcher("/showUsers.jsp").include(request, response);As you can see, both (the servlet and the showUser.jsp file) are included in the index.jsp file. So the header...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>...in the index.jsp file should works (I hope so).
    njb7ty wrote:
    I assume in your web.xml, you have ''pepe/MyServlet' defined as a servlet tag and servlet map tag? Without that, I don't think your JSP will find the servlet. I'm >not sure you need it in web.xml since I never call a servlet from a JSP page.
    I suggest putting System.out.println() throughout your servlet code and out.println() in your JSP pages to see exactly what is called and when.
    As a general rule, JSP files are to display data only, and submit back to a servlet. The servlet does all the business logic and dispatches to the appropriate >JSP page. The JSP shouldn't have any business logic. Including the servlet looks kinda like including business logic. Actually, in a MVC design, your >presentation, control, busines, and database layers have their own isolated responsibilities.
    I suggest the servlet put data as one java bean in request scope via request.setAttribute() and dispatch to the JSP page. The JSP page gets the data via ><useBean> tag. The JSTL gets the variables from the useBean tag and uses the data from there to display it. Really, this is my web.xml file...
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
         <servlet>
              <servlet-name>MyServlet</servlet-name>
              <servlet-class>src.MyServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>MyServlet</servlet-name>
              <url-pattern>/pepe/MyServlet/*</url-pattern>
         </servlet-mapping>
    </web-app>Regarding putting System.out.println() and out.println(), i did it and thats works.
    Respect of your last comment, I am not a expert in MVC, but I understand that the view layer can make calls to the Controller layer, I am wrong?
    evnafets wrote:
    It's not. However thats not code, but the generated HTML.
    As Balusc pointed out it's the result of running this JSP page without importing the tag library at the top.
    Because the tag library is not declared, it treats the <c:forEach> and other tags as template text, and basically ignores them.
    It then evaluates the ${items} attribute as an expression in template text, calling toString() on it.
    Cheers,
    evnafets      The file showUsers.jsp are included into the index.jsp page, that's have the header taglib. Could this works?
    BalusC wrote:
    njb7ty wrote:
    By the way, I dont think this is the correct format for the foreach tag:
    <c:foreach items="[src.User@18f729c, src.User@ad97f5, src.User@d38976, src.User@1e5c339, src.User@17414c8, src.User@7a17]" var="user">You're right friend.
    And that's my problem. Any ideas?
    Thanks everyone,
    Gonzalo

Maybe you are looking for

  • HERE WE GO AGAIN...HALF MY USUAL SPEED

    After my last major problems with line speed back in December, the only way to maintain the same speed that I've had for 4 years was to buy a Netgear router and adjust the SNR to a sensible level to hold on to a 3776 connect and 3000 IP profile. The

  • OO ABAP --urgent need

    hi all please send me material or pdf documents or links for learning ABAP objects starting from beginning to indeep of OO ABAP. It is very urgent.... please send me information on all types of ALVs also..

  • What is Solution Manager

    Hi, I am a FICO Consultant. Can anybody explain me whats solution manager and its benefits in general terms. Thank You, Purnachandra RM

  • Change item value at Sales Invoice form before create a document

    HI, I am trying to change value for "TrackNo" item on the sales invoice form just before create a sales invoice, I have the following code: Dim oForm As SAPbouiCOM.Form Dim oItem As SAPbouiCOM.Item Dim oEdit As SAPbouiCOM.EditText Dim periodo As Stri

  • Issue with configuring Hyperion HUB 7.1.2 with SQLSERVER 2005

    Hello Experts, One of my customer has an issue with configuring Hyperion HUB 7.1.2 with SQLSERVER 2005. "We are trying to configure the SQL server 2005 database with Hyperion hub and we are unable to get the cofiguration completed. We suspect the dri