0

Problem With JSP tags ... PWC6032

asked 2008-01-22 22:55:53 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4736906

By: kierangreen

Hi,

I am new to this so please bear with me ... I am using ZKOSS and it works fine with .ZUL pages etc.

I have a legacy app that i have been tasked with making a bit flasher... its all jsp's. I want to use the XKOSS framework with these to make things a bit nicer for the users.

- I have added the zuljsp.jar to the WEB-INF/dist/lib folder in my app.
- I have added the WEB-INF/tld folder containing the tld file.
- I have added the taglib directives to my web xml
<jsp-config>
<taglib>
<taglib-uri>/WEB-INF/zul</taglib-uri>
<taglib-location>/WEB-INF/tld/web/zuljsp.tld</taglib-location>
</taglib>
</jsp-config>
- I have added the zk.xml to the WEB-INF folder
- I have added <%@ taglib uri="/WEB-INF/zul" prefix="zk"%> to the jsp (and the tags seem happy in the syntax checker.

However, i get the following evertime i try to access a jsp using ZK: tags ...

org.apache.jasper.JasperException: /pages/deals/createdeal.jsp(59,4) PWC6032:
Unable to load tag handler class "org.zkoss.zul.jsp.PageTag" for tag "zk:page"

I have downloaded the demo and it works fine ... i cannot for the life of me figure out where i am going wrong.

Any and all help appreciated.


delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2008-01-23 09:56:31 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4737522

By: kierangreen

additional ...

I have also tried the method given in the jsp 1.0.0 (above was based on 0.9.0 from the tutorial). If i copy the demo into myexlcipse and deploy i get ...

org.apache.jasper.JasperException: /index.jsp(3,57) PWC6188: The absolute uri:
http://www.zkoss.org/jsp/zul cannot be resolved in either web.xml or the jar files deployed with this application

If i deploy the war file to the server instead of from source it works fine .... what is the missing link here. I am finding a lot of posts of similar problems but cannot see anything that tells me what the missing link is between the source provided with the demo, and the WAR version.

There has to be something i have missed !!

Cheers




link publish delete flag offensive edit

answered 2008-01-23 10:04:52 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4737528

By: kierangreen

and if i unzip the WAR file and copy its contents to a project in MyEclipse and deploy it works fine !! I will use this as a starting point to get going but if anyone knows why i had such problems posting the replty would be of great help.

Thanks

link publish delete flag offensive edit

answered 2008-03-09 19:11:33 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4825624

By: manuelsal

Hi, i've also problem with jsp integration, at the momenti i think i'm using the same your version, i've downloaded the bin version 1.0 of jsp tag but using them i can't use zk 3.0.3. Infact in the jsp tag are included the 3.0.0 versions of zk.

Do you know how tu use 3.0.3?

link publish delete flag offensive edit

answered 2008-12-14 07:27:57 +0800

Bill gravatar image Bill
3

Hi Friends,

I am also new to ZK. I was trying to integrate Zokss to my existing Struts application. When I use the following

<%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="z" %>
in my jsp to use zk tag libraries and run my application, the following error happens

org.apache.jasper.JasperException: The absolute uri: http://www.zkoss.org/jsp/zul cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)

I have made sure that I have provided all the mappings in my web.xml and incorporated all the jar files required.
Please let me know what's happening here.

Thanks,
Bill

link publish delete flag offensive edit

answered 2008-12-26 07:28:36 +0800

windperson gravatar image windperson
415 1

Hi Bill,
Can you provide more information about your application's configuration?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-01-22 22:55:53 +0800

Seen: 2,177 times

Last updated: Dec 14 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More