Using Tags in a JSP
Hi,
I have an insert form based on
a table called EXIT_APP, in which I have
an LOV return the employee number to a field. When I do the committing though, I need to find the ID for the employee
based on his employee number.
I keep getting the NullPointerException
error though.
I have included the code from my Submit Insert form :
<%@ page language="java" contentType="text/html;charset=WINDOWS-1252" %>
<html xmlns:jbo="foo">
<body>
<center>
<br>
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<br>
<jbo:ApplicationModule id="package3.Package3Module" configname="package3.Package3Module.Package3ModuleLocal" username="ems_dba" password="dba"/>
<br>
<jbo:DataSource id="ds" appid="package3.Package3Module" viewobject="ExitApplicationsView"/>
<jbo:DataSource id="hremp" appid="package3.Package3Module" viewobject="HrEmployeesView" ></jbo:DataSource>
<%
String pno = request.getParameter("Persal_No");
oracle.jbo.ViewObject view = hremp.getRowSet().getViewObject();
view.setWhereClause("Persal_No = " + pno);
view.executeQuery();
Number Eid = (Number)hremp.getRowSet().getCurrentRow().getAttribute("id");
%>
<jbo:Row id="exitrow" datasource="ds" action="Create" >
<jbo:SetAttribute dataitem="*"/>
<jbo:SetAttribute dataitem="EmplId" value="<% Eid %>" />
</jbo:Row>
<%
try
%>
<jbo:PostChanges appid="package3.Package3Module"/>
<jbo:Commit appid="package3.Package3Module"/>
<p>Items Inserted Successfully!</p>
<%
catch(Exception exc)
out.println("<pre>");
exc.printStackTrace(new java.io.PrintWriter(out));
out.println("</pre>");
%>
<br>
Click here to return
</center>
</body>
<jbo:ReleasePageResources releasemode="Stateless"/>
</html>
Any help would be appreciated.
Hi Simon,
I have tried the declaration previously but
Jdeveloper says that a quoted value is needed.
I have attached the first few lines of the error message below :
java.lang.NullPointerException
void myproject3_html.ExitApplicationsView_InsertSubmit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
void oracle.jsp.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
void oracle.lite.web.MimeServletHandler.handle(oracle.lite.web.JupApplication, java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
Hope it makes sense to you!
Regards
null
Similar Messages
-
How to use Flex tag library in jsp
Hi All,
We are planning to use flex in our J2EE application in order
to show some charts. Our j2ee application is in JSP,Struts. I have
searched on google about this and found that I can include flex 3
tab library in the jsp in order to use mxml tag in the jsp. I have
written a sample program in the jsp which uses flex.
<%@ taglib uri="FlexTagLib" prefix="mm" %>
<SCRIPT LANGUAGE="JavaScript">
function showMessage() {
message.value = "Use this application wisely";
function hideMessage() {
message.value = "";
</SCRIPT>
<mm:mxml border="5" onmouseover="showMessage();"
onmouseout="hideMessage();">
</mm:mxml>
<TABLE>
<TR>
<TD><input type="text" name="message"
size="50"></TD>
</TR>
</TABLE>
I have added entry inweb.xml. See below,
<taglib>
<taglib-uri>FlexTagLib</taglib-uri>
<taglib-location>/WEB-INF/tlds/flex-bootstrap.jar</taglib-location>
</taglib>
Following are the problems that I am currently facing.
1) Could anybody let me know whether the entry of
<taglib> tag is correct in the web.xml. Is it the correct
jar(flex-bootstrap.jar) that I should include?
2) If yes, from where to download it? or
If no, what is correct jar that i should include and how?
your response will be highly appriciated as this is the major
requirement in our project?
Thanks ,
ChandanHi,
Pleas find details at the URL below.
http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP
Hope this helps. -
Justifications needed for using tags in JSP, Please reply
Hi forum
My question is to those java people who have also done JSP. I m sound in java server side (servlet programming), now I have asked by my project manager to do server side programming in JSP using tagLibraries (as these are used by those ppl who didnt have much java knowledge). I have worked inserver side java, then my question is y should I start working on tags,
On the other hand I can do all the work in java embedding in JSP (on some extent, seperated by diffrent helper/util classes to reduce the thickness of JSP page).
so I want to ask u ppl that should a java programmer needs to use tag libraries to code a JSP page, however he can code it in java directly.
I will feal great pleasure if u will write ur opinions and help me to ease my life.
thanx in advance
Best Regards
TahirYou should use tag libraries whenever you can because:
1) They increase code re-useability. You can insert the same tag in many pages using just a few lines to do complex tasks, as opposed to writing a lot of scriptlet code in each JSP.
2) Enhance your ability to seperate logic from display. Everything in your tags is logic. Everything in your JSP is display - with the tags bridging the logic to the display.
3) Make the JSPs cleaner and easier to maintain. They read easier with tags than with a lot of scriptlets. Non-java people can be used to update the look and feel of the web page, or to debug the HTML later on, relieving the Java programmers for the tag work, or other jobs more suited to them.
4) Your boss said to do tags, so do tags. -
Using variables in a jsp:useBean tag
I was wondeing if it is possible in any way to use variables in a jsp:useBean tag. Here is an example of what I am trying to do.
<%
String beanType = request.getParameter( "bean" );
if( beanType.equals( "Bean1" ) ) {
beanClass = "com.myCompany.Bean1";
} else {
beanClass = "com.myCompany.Bean2";
%>
<jsp:useBean name="<%= beanType %>" class="<%= beanClass %>"/>
I also tried using this approach
<%
if( beanType.equals( "Bean1" ) ) {
%>
<jsp:useBean id="bean" class="com.myCompany.Bean1"/>
<%
} else if( beanType.equals( "Bean2" ) ) {
%>
<jsp:useBean id="bean" class="com.myCompany.Bean2"/>
<%
%>
Neither approach seems to work. Is there any way around this problem?
Thanks,
Marcus.Hi,
check:
http://forum.java.sun.com/thread.jsp?forum=45&thread=398998&tstart=75&trange=15 -
How we can use jsf tags in included jsp enclosed in subview tags
Hello everybody,
I am developing web app by using jsf. I am including a jsp page "header.jsp" into another jsp page "main.jsp". The header.jsp page is enclosed in jsf subview tag on main.jsp page. The header.jsp contains some static html code and some jsf tags like "outputText". When i added tag library url in header.jsp then my app was not even not initiating and i was getting following exception
ERROR [UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.
16:22:16,890 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
....Now i removed jsf tag library url from included jsp "header.jsp" so now my app is running but only static html data is being displayed but the value in the jsf tag "outputText" is not being printed in the browser
kindly help me. i would be very thankful....Your question has nothing to do with Sun Java System Directory Server.
Please use the right forum(s).
Thanks -
Can I use any Class in a Use Bean Tag of a JSP
I have tried to modify the existing EditForm.java file and created a new Class File which changes the presentation(render method)in the Edit Form.
can I use the new class as a Bean in the use bean tag of a JSP.You can use any class as part of the useBean tag. If you want to add your class to the list of available webbeans, you can add it to <jdev dir>\teamplates\webbeans.xml.
-
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
-
How to Use tag in JDeveloper 9i for a JSP Page
Hi ,
I am working on JDeveloper 9i. I have a problem that i use JSP page and two tag[b] fmt and core. The uri passed to taglib is http://java.sun.com/jsp/jstl/core and http://java.sun.com/jsp/jstl/fmt. i also have two jar file standard.jar and jstl.jar. when i compile the jsp page, the errors reflect " TAG is not registered". Can any one tell me that how can i use the tags in a jsp page in jdeveloper 9i.
ThanksHi ,
I am working on JDeveloper 9i. I have a problem that i use JSP page and two tag[b] fmt and core. The uri passed to taglib is http://java.sun.com/jsp/jstl/core and http://java.sun.com/jsp/jstl/fmt. i also have two jar file standard.jar and jstl.jar. when i compile the jsp page, the errors reflect " TAG is not registered". Can any one tell me that how can i use the tags in a jsp page in jdeveloper 9i.
Thanks -
Problems with JSP - using tag library with Weblogic 8.1
I am getting the following error when I try to run a web application called "regain":
/searchinput.jsp(2): Error in using tag library uri='regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.MsgTag'
probably occurred due to an error in /searchinput.jsp line 2:
<%@taglib uri="regain-search.tld" prefix="search" %>
The classes that the .tld file points to are in the web applications WEB-INF/classes directory and I have put this path into my classpath environment variable (running Windows 2000 Server).
This application runs fine on Tomcat.
I can't not figure out whether is error is masking another error or what. I've tried using JDK and Jrockit for my web app - no luck.
Please help! Thanks!anyone? :/
-
Use var of sql:query tag into a jsp fragment code
Hi, i'm spanish and my english is not very good XD.
I need to use some data from <sql:query> tag into code jsp <% %>
EXAMPLE:
<sql:query var="variable">
</sql:query>
<% what can i do to access to "variable" here????????? %>
i need to save in session (session.setAttribute(...)) a field of the response of the query saved in "variable"
i need help!!!!, thanks!!!!!!!!i need to save in session (session.setAttribute(...)) a field of the response of the query saved in "variable"Why do you need java code to do this? If you are using JSTL sql tags, then why not keep using JSTL tags?
<c:set var="valueToSave" value="${variable.field}" scope="session"/>EL variables are actually already stored as attributes in scope.
So to get hold of "variable" you could use <%= pageContext.findAttribute("variable") %>
and that would give you the object stored by the EL.
cheers,
evnafets -
How to use tags from taglib in jsp
i am using tomcat. I don't know where the taglibrary is stored i.e in which folder and how can i access that library and use it in the jsp pages.
Refer to
http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSPTags4.html
thanks,
Deepak -
I am using Weblogic server 8.1 and have a struts app. I am using the random taglib
from jarkarta and recieving this error while using weblogic. With the same setup
in tomcat everything works fine. What do I need to do special for weblogic?
ERROR FROM WEBLOGIC
/control/register/newMember.jsp(1): Error in using tag library uri='http://jakarta.apache.org/taglibs/random-1.0'
prefix='randME': For tag 'string', cannot load extra info class 'org.apache.taglibs.random.RandomStrgTEI'
probably occurred due to an error in /control/register/newMember.jsp line 1:
<%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
%>
taglibs-random.jar is in WEB-INF/lib
random.tld is in WEB-INF
the taglib include in my jsp looks like this:
<%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
%>
the call in my jsp looks like this:
<randME:number id="random1" range="10000000-99999999"/>
my web.xml looks like this:
<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
<taglib-location>/WEB-INF/random.tld</taglib-location>
</taglib>
any help would be appreciated
This may not solve your problem, but WL8.1 SP1 seems to have a problem with
closing tags.
Where you are using:
<randME:number id="random1" range="10000000-99999999"/>
...try this instead:
<randME:number id="random1" range="10000000-99999999"></randME:number>
This problem is fixed in SP2.
-- Craig
"ssandy" <[email protected]> wrote in message news:[email protected]...
>
> I am using Weblogic server 8.1 and have a struts app. I am using the
random taglib
> from jarkarta and recieving this error while using weblogic. With the
same setup
> in tomcat everything works fine. What do I need to do special for
weblogic?
>
> ERROR FROM WEBLOGIC
>
> /control/register/newMember.jsp(1): Error in using tag library
uri='http://jakarta.apache.org/taglibs/random-1.0'
> prefix='randME': For tag 'string', cannot load extra info class
'org.apache.taglibs.random.RandomStrgTEI'
> probably occurred due to an error in /control/register/newMember.jsp line
1:
> <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
prefix="randME"
> %>
>
> taglibs-random.jar is in WEB-INF/lib
> random.tld is in WEB-INF
>
> the taglib include in my jsp looks like this:
> <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
prefix="randME"
> %>
>
> the call in my jsp looks like this:
> <randME:number id="random1" range="10000000-99999999"/>
>
> my web.xml looks like this:
> <taglib>
> <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
> <taglib-location>/WEB-INF/random.tld</taglib-location>
> </taglib>
>
> any help would be appreciated
-
Error in using tag library uri='weblogic.tld'
Hmmm...
I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
but when I try to access the Unified Profile Types I get an Error 500 Internal
Server Error in my webbrowser. The weblogic.log prints out an errormessage that
sounds something like this:
####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
'14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
Servlet failed with Exception>
weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
correct and they are located under tools/web-inf.Hmmm...
I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
but when I try to access the Unified Profile Types I get an Error 500 Internal
Server Error in my webbrowser. The weblogic.log prints out an errormessage that
sounds something like this:
####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
'14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
Servlet failed with Exception>
weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
correct and they are located under tools/web-inf. -
How to use mxml in a jsp file?
I'm trying to use flex in a .jsp file. I followed the
suggestion that I use the Flex 2 Tag library as suggested by this
link:
http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP#Download_and_Installation
but I couldn't find it. I also downloaded LiveCycle Data Services
ES but couldn't find the flex-bootstrap.jar.
I have a simple example:
<!--<%@ taglib uri="FlexTagLib" prefix="mm" %>-->
Use the <mxml> tag to insert a Flex application in an
existing JSP page. The following example shows the <mxml> tag
with the source attribute to include an external MXML file:
<mm:mxml source="CustomerServiceChat.mxml"/>
Alternatively, you can use the <mxml> tag with inline
MXML source code, as the following example shows:
<mm:mxml>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*">
<mx:Text label="Hello World">
</mx:Application>
</mm:mxml>
I also added the following code in my web.xml:
<taglib>
<taglib-uri>FlexTagLib</taglib-uri>
<taglib-location>/WEB-INF/lib/flex-bootstrap.jar</taglib-location>
</taglib>
and obviously I get an error because I don't have the
flex-bootstrap.jar file. Please let me know how this can be
corrected. Thanks in advance!Adobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Adobe - Developer Center : Flex quick start guide for PHP
developers:
Apr 30, 2007 ... In this example, I changed the result data
type to XML with E4X support by setting .... In Flex you would
download a file using this code:
Link:
http://www.adobe.com/devnet/flex/articles/php_getstarted.html
2d. Tutorial - Flex 3 Getting Started - Adobe Learning
Resources:
See Calling XML Web Services over the Web Using the Web
Service References ... For information on integrating PHP and Flex
using AMF to encode the data,
Link:
http://learn.adobe.com/wiki/display/Flex/2d.+Tutorial
Mike Potter: Flex and PHP - A simple sample:
I have other example with PHP and MySql and give the same
error, and a example .... Flex Data Services... I choose None (???)
because I work with php and
Link:
http://blogs.adobe.com/mikepotter/2006/02/flex_and_php_a_1.html
Adobe - Developer Center : Transmitting data between Flex and
PHP:
Sep 4, 2007 ... Now that the user interface is set up and
ready to go you can add the HTTP services to go ask for the data
from the PHP code. In Flex you
Link:
http://www.adobe.com/devnet/flex/articles/flex_php_json.html
Integrating Adobe Flex and PHP:
Mar 1, 2006 ... The first step is to download Flex Builder
2.0 from the Adobe labs ... For example, you could use this same
PHP script to pass data to a
Link:
http://devzone.zend.com/article/11-Integrating-Adobe-Flex-and-PHP
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine. -
Custom tag in included JSP page cause exception (WLS 5.1 SP 9)
An application use custom tags (JSP Tag extensions) in JSP page
included into another JSP page by means <jsp:include> instruction.
After we had installed Service Pack 9 for Weblogic 5.1
browser's call of including JSP began show an error.
When I remove Weblogic510sp9.jar and Weblogic510sp9boot.jar
references from startWebLogic.cmd, the error diagnostic disappear.
Is Service Pack Number 9 wrong?
==========================
Web browser diagnostic:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling
the request.
==========================
Console diagnostic:
Tue Jun 05 17:40:14 MSD 2001:<I> <WebAppServletContext-dscat> looking for taglib
uri /exttags.tld as resource /WEB-INF/e
xttags.tld in Web Application root:
Tue Jun 05 17:40:15 MSD 2001:<I> <WebAppServletContext-dscat> Generated java file:
C:\weblogic\dscat\WEB-INF\_tmp_war_ds
cat\jsp_servlet\_jsp\_opos\_catalog.java
Tue Jun 05 17:40:25 MSD 2001:<E> <WebAppServletContext-dscat> Servlet failed with
Exception
java.lang.VerifyError: (class: jsp_servlet/_jsp/_opos/_catalog, method: _jspService
signature: (Ljavax/servlet/http/Http
ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Register 12 contains
wrong type
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:469)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java,
Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:228)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
==========================
Including JSP file:
<%@ include file="catalog_real.jsp" %>
==========================
Included JSP file:
<%@ taglib uri="/exttags.tld" prefix="dscat" %>
<dscat:pageheader>Catalog header</dscat:pageheader>
==========================
Tag extansions library (WEB-INF/exttags.tld file):
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>dscat</shortname>
<tag>
<name>pageheader</name>
<tagclass>ru.ibs.xbcat.view.tag.PageHeader</tagclass>
</tag>
</taglib>
==========================
Class PageHeader:
package ru.ibs.xbcat.view.tag;
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class PageHeader extends BodyTagSupport {
public int doStartTag() throws javax.servlet.jsp.JspException {
return BodyTag.EVAL_BODY_TAG;
public int doAfterBody() throws javax.servlet.jsp.JspException {
return(SKIP_BODY);
Are you using Jikes? See if this helps ...
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=6287&utag=
Mike
"Radik Usmanov" <[email protected]> wrote:
>
>An application use custom tags (JSP Tag extensions) in JSP page
>included into another JSP page by means <jsp:include> instruction.
>
>After we had installed Service Pack 9 for Weblogic 5.1
>browser's call of including JSP began show an error.
>When I remove Weblogic510sp9.jar and Weblogic510sp9boot.jar
>references from startWebLogic.cmd, the error diagnostic disappear.
>
>Is Service Pack Number 9 wrong?
>==========================
>Web browser diagnostic:
>
>Error 500--Internal Server Error
>From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
>10.5.1 500 Internal Server Error
>The server encountered an unexpected condition which prevented it from
>fulfilling
>the request.
>
>==========================
>Console diagnostic:
>
>Tue Jun 05 17:40:14 MSD 2001:<I> <WebAppServletContext-dscat> looking
>for taglib
>uri /exttags.tld as resource /WEB-INF/e
>xttags.tld in Web Application root:
>Tue Jun 05 17:40:15 MSD 2001:<I> <WebAppServletContext-dscat> Generated
>java file:
>C:\weblogic\dscat\WEB-INF\_tmp_war_ds
>cat\jsp_servlet\_jsp\_opos\_catalog.java
>Tue Jun 05 17:40:25 MSD 2001:<E> <WebAppServletContext-dscat> Servlet
>failed with
>Exception
>java.lang.VerifyError: (class: jsp_servlet/_jsp/_opos/_catalog, method:
>_jspService
>signature: (Ljavax/servlet/http/Http
>ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Register 12
>contains
>wrong type
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Unknown Source)
> at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:469)
> at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java,
>Compiled Code)
> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:228)
> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879)
> at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
>Code)
>
>==========================
>Including JSP file:
>...
> <%@ include file="catalog_real.jsp" %>
>...
>
>==========================
>Included JSP file:
>...
> <%@ taglib uri="/exttags.tld" prefix="dscat" %>
>...
><dscat:pageheader>Catalog header</dscat:pageheader>
>...
>==========================
>Tag extansions library (WEB-INF/exttags.tld file):
>
><?xml version="1.0" encoding="ISO-8859-1" ?>
><!DOCTYPE taglib
> PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
> "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
>
><taglib>
> <tlibversion>1.0</tlibversion>
> <jspversion>1.1</jspversion>
> <shortname>dscat</shortname>
>
> <tag>
> <name>pageheader</name>
> <tagclass>ru.ibs.xbcat.view.tag.PageHeader</tagclass>
> </tag>
>
></taglib>
>==========================
>Class PageHeader:
>
>package ru.ibs.xbcat.view.tag;
>
>import java.io.*;
>import javax.servlet.jsp.*;
>import javax.servlet.jsp.tagext.*;
>
>public class PageHeader extends BodyTagSupport {
>
> public int doStartTag() throws javax.servlet.jsp.JspException {
> return BodyTag.EVAL_BODY_TAG;
> }
>
> public int doAfterBody() throws javax.servlet.jsp.JspException {
> ...
> return(SKIP_BODY);
> }
>}
>
Maybe you are looking for
-
Data not available in Multiprovider
Hi Guys, I have a multiprovider which is built on 3 different infocubes. When I do the LISTCUBE on the mutliprovider, it doesnot display the data avaialble from one particular cube but does display data from the 2 other cubes. Could anyone suggest wh
-
HT204291 Can you send music to more than one airplay enabled speaker at the same time
I have just purchased an airplay enabled speaker which is great, I would like another in the kitchen so as you move from room to room you can listen to the same music but I am not sure if you can play the music through more than one speaker at a time
-
In Stock number in Sales Order Screen includes non-nettable warehouses
The "In Stock" column displayed on the Sales Order row seems to show the total stock for that item across all warehouses. Is there any way to restrict this to one or more specific warehouses (e.g. to exclude a 'Scrap' warehouse). I assumed that "In
-
Hi, I have a scenario where if the condition satisfied i need to send it to both receiver file and email otherwise if not only to email. Here i declared the 2 idoc Abstract MI(payment and verfication) and 1 file Abstract receiver. Here only paym
-
Problem with Iomega mdhd500-n 31704000R
Hi, I have a iomega mdhd500-n 31704000r I have lost any information about it, tried a reset but now blue led is blinking slowly (2 sec on / off) usb works fine but cannot detect it with ethernet cable Where can I find the manual, firmware updates ?