File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Ajax tags problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax tags problem" Watch "Ajax tags problem" New topic
Author

Ajax tags problem

Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
i've been having this problem for 3 days now and i hope someone can help me with this coz i'm really stuck.

anyway, i've been trying to have 3 combo boxes, the values of which are dynamically generated from the database and the values that should be generated in combo 2 is dependent on the value selected in combo 1, and the same goes for combo 3.

since i didn't want to use 3 forms in the same page and keep submitting and passing variables and refreshing the page over and over again, i tried ajax tags.

i don't know how to use it so i tried downloading the demo war file from
http://sourceforge.net/project/showfiles.php?group_id=140499&package_id=158321, and deployed it

when i try running the index.jsp though, nothing on the page displays. as in it's totally blank. so i tried running one of the other jsps it has, dropdown.jsp, because that's what i need, and i get this error:
org.apache.jasper.JasperException: This absolute uri (http://ajaxtags.org/tags/ajax) cannot be resolved in either web.xml or the jar files deployed with this application

can someone please tell me what this means and how do i solve it?
i did a google on that but my search returned nothing

any help would be really really appreciated
thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

This absolute uri (http://ajaxtags.org/tags/ajax) cannot be resolved in either web.xml or the jar files deployed with this application


This means exactly what it says. You are referencing a taglib URI that the container cannot find. The most likely cause is that you have not deployed the taglib correctly.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
the whole thing was packaged in a war file
all i did was deploy the war file.
isn't everything supposedly in there already?
would i need to deploy something else?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
look into DWR

Eric
Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
what's DWR?

and where can i download the ajaxtag.tld?
it's looking for it and it's not in the war files i downloaded
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Is there no documentation for this tag lib?
Bernard Sigmund Gustav
Ranch Hand

Joined: Dec 20, 2005
Posts: 170
this is the documentation page
http://sourceforge.net/docman/?group_id=140499

and it really doesn't show anything useful
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
We have no clue where the files are for that thing on soundforge. None of us use it or deal with it. Find a contact with them...

DWR: http://getahead.ltd.uk/dwr/

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

To be somewhat blunt: why are you wasting time trying to get this tab libary up and running? With the time you've used up so far, you could have been using Ajax yourself long ago. In another thread I pointed you to a great tutorial on using the XmlHttpRequest object. It's not hard, and you don't need a tag lib to do it for you,

If, after you understand how Ajax works, you decide you want to use a library, then is the time to try and get one up and running.
[ March 01, 2006: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax tags problem