Error in tomcat4.1 and JSTL
sir
now i am using tomcat 4.1 and jstl 1.0.6 and i have write on file in which i included ...
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
but when i compile it , it gives error that ,,,
org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application
please tell me that what changes should i made . i have put down jstl.jar and standard.jar in tomcat4.1 / common / lib
thanks
gaurav
Spammer! Couldn't you keep your problems to one post?
http://forum.java.sun.com/thread.jspa?threadID=621677
http://forum.java.sun.com/thread.jspa?threadID=621337
Similar Messages
-
Tomcat 6.0.9 and jsf 1.2 and jstl 1.2 using *.tag file error
I using :tomcat 6.0.9 and jsf 1.2 and jstl 1.2
My web.xml is at version 2.5 and I am using a custom tag (with the .tag extension). I am trying to use the http://java.sun.com/jsf/html library and values from my attribute. I'm new to this so I figure I must just me missing something.
I am run http://192.168.1.1/test.jsf laster,view:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:212)
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:190)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.9 logs.
if go to /WEB-INF/tags/test.tag ,delete line: <h:outputText id="test" value="hello!" />
run http://192.168.1.1/test.jsf is OK!(no error),So I guess error for "<h:outputText id="test" value="hello!" />" line ,why in test.tag file do can't use the "http://java.sun.com/jsf/html " library,please help me.......
Here is file WEB-INF/web.xml content:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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_5.xsd"
version="2.5">
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
Here is file /test.jsp code:
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<html>
<head>
<title>test</title>
</head>
<body>
<!-- body start -->
<h:outputText id="myinfo" value="test success" />
<tags:test/>
<!-- body end -->
</body>
</html>
</f:view>
Here is file /WEB-INF/tags/test.tag code:
<%@tag pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<h:outputText id="test" value="hello!" />
Thanks for any help.Don't know if it's important, but there is no schema avaiable at: http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd
I found the right one at: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
/perty
Message was edited by:
perajonsson -
JSF and JSTL 1.2...please help, i`m going nuts
Hey guys,
This is driving me up the wall. I`m running glassfish v2 b19 (i havent upgraded, because this one works for me).
But i have a problem using jstl in my jsf app. i`m trying to do the following :
<c:choose>
<c:when test="#{currentRow.value['dboSTANDBY_LOG.STANDBY_LOG_TYPE'] eq 'server'}">
<webuijsf:tableColumn binding="#{standby$Standby_Log.tableColumn19}" headerText="NAME"
id="tableColumn19" sort="dboSTANDBY_LOG.SBYN_HOST_NAME" width="40">
<webuijsf:staticText binding="#{standby$Standby_Log.staticText20}" id="staticText20" text="#{currentRow.value['dboSTANDBY_LOG.SBYN_HOST_NAME']}"/>
</webuijsf:tableColumn>
</c:when>
<c:otherwise>
<webuijsf:tableColumn binding="#{standby$Standby_Log.tableColumn17}" headerText="NAME"
id="tableColumn17" sort="dboSTANDBY_LOG.APPL_SYSTEMS_PROP_INNUMBER" width="40">
<webuijsf:staticText binding="#{standby$Standby_Log.staticText18}" id="staticText18" text="#{currentRow.value['dboSTANDBY_LOG.APPL_SYSTEMS_PROP_INNUMBER']}"/>
</webuijsf:tableColumn>
</c:otherwise>
</c:choose>
but the app server fails on building the page saying :
According to the TLD, the attribute test is not a deferred-value or deferred-method, but the specified value contains a #-expression
Now as far as i now, JSTL 1.2 should be included in J5EE, which is in glassfish already, correct?
and JSTL 1.2 supports using deferred expressions, correct?
So why for the love of my sanity is this not working?
aaaaaa.
Thanks
DI haven't actually used/tried this myself, and I am not a JSF expert, this error looks similar to the error message attribute xxx does not support runtime expressions.
I think you are reading the error message wrong.
You have supplied a deferred expression. No question of that.
I think the error is saying that the 'test' attribute of the <c:when> tag does not support deferred evaluation. - ie you cant use #{expr} with the <c:when> tag.
According to the JSTL1.2 spec, it seems that "deferred expressions" are only supported by the looping tags (<c:forEach> and <c:forTokens>) and the <c:set> tag.
I think the JSF equivalent would be the rendered attribute. Can you use the rendered attribute with the webuijsf:tablecolumn tag? Or another JSF container type tag? -
Patch for 9iAS and JSTL?
The following message was posted in the OC4J Forum. Our latest thoughts for fixing the problem revolve around hopes of upgrading the OC4J component in 9.0.2.0.1 in Enterprise Edition (Solaris) to 9.0.3. Is this possible?
Thanks
Todd
--------- Original Post ------------
NullPointerException using JSTL
I currently have OAS Enterprise Edition 9.0.2.0.1 on Solaris installed. I have a web application which utilizes Tiles and JSTL. When I run my application through JDeveloper 9.0.3, both Tiles and JSTL tags work. However, when I deploy to Oracle Enterprise Manager and try to run my application, Tiles tags work but JSTL tags do not. Instead, I get the following error:
500 Internal Server Error
OracleJSP:
JSP Error:
Request URI:/edd/helloworld.jsp
Exception:
java.lang.NullPointerException
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at oracle.jsp.parse.JspUtils.loadClassJDK(JspUtils.java:219)
at oracle.jsp.parse.JspUtils.loadClass(JspUtils.java:209)
at oracle.jsp.parse.JspRTTag.(JspRTTag.java:102)
at oracle.jsp.parse.JspParseState.createTagParser(JspParseState.java:410)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:538)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:160)
at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:295)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:171)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:338)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:481)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:255)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
My JSP looks like:
<%@ taglib prefix="c" uri="/jstl-c" %>
<%@ taglib prefix="tiles" uri="/tiles" %>
<html>
<head><title>hello world</title></head>
<body>
<table>
<c:forEach begin="1" end="5">
<tr>
<td>
Hello world!<br><br>
The current time is: <%= System.currentTimeMillis() %>
</td>
</tr>
</c:forEach>
</table>
</body>
</html>
The relevant lines of my web.xml are:
<taglib>
<taglib-uri>/tiles</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/jstl-c</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
The TLD files do exist in /WEB-INF/tlds/
After doing some research into this issue, I haven't found a solution, but I get the feeling this is a bug that has been patched or will be patched soon. Is there a patch out, and if so, where is it?
------- Follow-on Question about upgrading OC4J in 9.0.2.0.1 ---------
Upon further investigation we found bug 2698206 that seems to be the relevant bug. The bug has been fixed in 9.0.3. It is my understanding that the only certified version of Enterprise Edition is 9.0.2.0.1.
1) Is there a newer version of Enterprise Edition (9.0.3 or 9.0.4)?
2) If not, can we upgrade the OC4J in 9.0.2.0.1 to 9.0.3? (our sysadmins need this somewhat certified, otherwise we can't upgrade our production servers).
3) Any other ideas?
Thanks
Toddhttp://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=179240.1
If you are using Forms and/or Reports, you'll want to install Patch 15 too. -
Error while checking in and storing
Dear All
I am trying to attaching a file using CV01n, when i am doing for check in - i am getting following error message
Error while checking in and storing
Message no. 26253
What may be the issues, even my my repositories working fine ( configured contentserver, status is active)
Regards
chandraDear Chandra,
please check in transaction OACT if the storage category is assigned to the correct content repository. Further please read also through notes 707568 and 833576.
Best regards,
Christoph -
When I download itunes my computer tells me there was an error in the download and I need to re-download. It tried three times to re-download and got the same error. Any help for this? My computer is brand new.
Go START/ALL PROGRAMS/APPLE SOFTWARE UPDATE"
If it offers you a newer version of Apple Software Update, do it but "Deselect" any other software offered at the same time.
Once done, try another iTunes download -
has anyone had an issue that lightroom has error reading preview cache and closes immediately. what can i do to correct this
Re: "Lightroom encountered and error when reading from its preview cache and needs to quit"
-
I can't open PSE. Get error message 150:30 and restarting computer doesn't help. Any suggestions?
Please try out the instructions mentioned in this article.
Thanks!! -
HI All,
The following error is thrown when I execute the query.
abort system error in program CL_RSDM_READ_MASTER_DATA and form_sidval_direct_
However, earlier today, I ran this query successfully several times.This Query is on a multiprovider.
Appreciate your help in advance.
Regards,
HarikaDear Harika,
Try to repair at RSRV and check.
Check: Re: SID error for characteristic
Srini -
Web Analysis Error -- Error while executing query and retrieving data
Regarding Web Analysis:
We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
The error is:
Error while executing query and retrieving data.; nested exception is:
com.hyperion.ap.APException: [1033] Native:
1013033[Thu Oct 22 09:08:17
2009]server name/application name/database name/user name/Error91013033)
ReportWriter exit abnormally
Does anyone have any insight into what is going on?
My version information is:
Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
Web Analysis 9.3.0.0.0.286
Thanks in advance for your help.
DaveWHi,
And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
And if you get any error in checking, see the long message(detail).
With rgds,
Anil Kumar Sharma .P -
My iTunes will not start. The box on the error message APSDaemon.exe, And message says "This application failed to start because MSVC80.dll was not found. Reinstalling may fix." I did the reinstall and I get the same error. The error first happened after I approved the an iTurns update.
Same problem today. Took five times to reinstall without any error messages. Apple has posted a way to fix and you should follow their's first. I finally got to upldate correctly by doing their fix but with one difference. I did the following:
1) Went to the C:\program files (x86)\iTunes and C:\program files\iTunes folders and moved every file ending in .dll to the desktop (even if two files in same location had the same name, just replace)
2) Restarted computer and still got error message
3) Uninstalled all apple programs possible in the following order......itunes, apples software update, apple mobile device support, bonjour, and apple application support.....all performed using the microsoft control panel
4) put all the .dll files on the desktop in the trash and emptied (this is a step apple support did not specifically put in their fix but for a final try I wanted to delete everything apple).
5) Restarted computer.
6) Re-installed itunes from apple website
No error messages during re-install and was able to open shortcut in one try. Even updated my ipad to make sure everything was working. -
Hi, I got my Mac in 2009 with photoshop elements on it - it's recently been wiped, however before the process we put Photoshop onto a hard drive, we then copied it back over and it no longer works, I'm getting error code 150:30 and I'm being asked for a password... any ideas how to get it working again?
You can never, never migrate an installed copy of PSE. It's just too complex and you can't get to all the bits and bobs.
First you will have to download and run this:
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
which will not seem to do anything, but is necessary to break the links within PSE so that you can pitch the bits manually. Then you will have to go around, not only to applications, but also to your username>library>preferences and most importantly to the library at the top level of your hard drive>application support>adobe, and remove everything you can find. Spotlight will not help with this kind of search, so don't try that.
Then you can install PSE from scratch. -
I had a book on my ipad 2 and all of a sudden it's saying there's an error on the page and all the pages are blank. It still shows up fine on my iphone. Any ideas how to get it back on my ipad without rebuying it?
As long as it is still available in the store then you can re-download it for free - you will need to delete it from iBooks on your iPad before you can try re-downloading it. You could also try copying it from your iPhone to your computer's iTunes via File > Transfer Purchases (assuming that it's not already on there), and then sync it to the iPad.
-
Hi Gurus,
Mater data text loading from a DSO to a InfoObject has failed in the process Chain at DTP step while trying to extract Data packet 2 from the DSO.
In the log i am getting following error message:
"System error in program SAPLRS_EXCEPTION and form RS_EXCEPTION_TO_MESSAGE (see long text)
Message no. BRAIN299".
Please help urgent.
FYI.....
we have recently done upgrade from BI/ABAP SP11 to SP15 and the latest Java SP || 14 (both included in SPS 14).
Points will surely be awarded.
Thanks,
AnuragHello Anurag,
Could you solve this problem? If so, please share the solution with me. I'm getting the same error while loading data using DTPs.
Regards,
Neha -
A serious error has been detected and Adobe EPIC_APP cannot continue
I have Adobe Acrobat Professional installed as part of a legal copy of CS3 Web on a Dell Lattitude D830 with Vista Business SP1. I have been using Acrobat without a problem until the latest update (8.1.2). After the installation I now get "A serious error has been detected and Adobe EPIC_APP cannot continue. Please reinstall the application and try again".
PS I opened Photoshop, Dreamweaver and other programs in the suite and do not have a problem. A search on the forums and Google shows other people with the same problem but no solution. Any suggestions?An answer I found on Yahoo seems to solve the problem. I'm leaving it here in case someone else has the same problem:
Uninstall.
Reboot.
Install with Admin privileges ( right-click on setup.exe >Properties>Compatability Tab> Select Run as Admin)
Run it at least once from an admin account so it has access to Shell32.dll and can set the proper settings.
Maybe you are looking for
-
How can I get on to my iTunes account on a different computer?
I am using my mum's laptop (mine is broken) to download a new CD but her iTunes account is on there. When I logged her out and logged myself in through the store her music still shows up and I can't access my own account still.
-
I just reformatted my computer with Win XP SP yesterday and I decided to wait a bit before I install my sound drivers. BTW, I am using a 2-3 year old Audigy Gamer sound card (can't remember exactly when I bought it). So I first try using the CD that
-
Spend Limit and Approval limit data w.r.t Employee
Hello, Below is the requirement: I wanted to build a report in BI which will provide the Spend Limit, Approval limit and Approver Data w.r.t an Employee from SRM system. Please advice how can I get these details? Is there any Function module or table
-
How do I edit a document I've Imported to My Workspace?
How do I edit a document I've Imported to My Workspace?
-
Client side conflict solution fails
Hallo, In our application we want to resolve synchronisation conflicts on the client side. For a specific SyncBO. We want the the client data to be dominant. To achieve this we tried two ways of conflict resolvance: 1. We used the ErrorConflictInbox