darn, once again after some friday frustration, come in on monday and solve the prob. simple as it was and i really should have read the included docs in the war file, when will i learn!!??!
anyway, this is what i was meant to do if anyone cares =)...
hopefully somebody can help me out with this
i am using the beta custom tag library <dbtags> for reading/writing to a sql db.
http://jakarta.apache.org/builds/jakarta-taglibs/nightly/projects/dbtags/
doc:
http://jakarta.apache.org/taglibs/doc/dbtags-doc/index.html#getColumn
now after a...
I was just wondering...i thought the other day i came accross a tag library (i think?!?) that could strip xml tags from say a recordset from a data base. i just cant for the life of me remember where/what it was. does anybody know?
sorry bout the cryptic/lack of sense of this... and the circus...
Does anyone here know how to get past the search engine problem created by the use of the ? when you use a query string to process certain events etc.
I know with php for example you can use an empty folder structure such ast www.url.com/page.php/13/545/
This can be indexed by many search...
Thanks mate!
yeah, i just wrote those quickly as an example, sorry, very sloppy.
you were right though, was a problem with my compilation method, i found that it sorted itself out when i compiled all the class files together...maybe that is what i was meant to be doing from the start, and...
hey there, i dont do much java and you will be able to see why now
say if have a package com.me
i have two classes in this package myUtils and myFun
they have a number of methods and these work fine if i call them from a jsp individually, however when i want to call a method from myUtils...
was just wondering if anybody had used jive and tried to make/modify skins.
i have been having trouble in that changes i make wont refresh!?!?! i am using tomcat and even stopping/starting it is not making any difference...
anybody know the reason for this? and the circus leaves town...
oops! sorry, terrible of me to ASSUME you were using tomcat! its not like there is a tomcat monoploly or anything :)
you are right...if i type the url and dont use refresh, it doesnt even go to check the page on the server...
hopefully somebody else can come up with the answer coz i have NO...
you can use this code:
public String replace (String str, String pattern, String replace) {
int s = 0;
int e = 0;
StringBuffer result = new StringBuffer();
while ((e = str.indexOf(pattern, s)) >= 0) {
result.append(str.substring(s, e));
result.append(replace)...
i think tiz is right. jsp is processed on the server whereas javascript is client side. so to access a javascript funtion i would think the page would have to be loaded into the client browser, this means that jsp has finished processing.
correct me if im wrong and the circus leaves town...
i think your problem is with tomcat itself. jsp works in a slightly different way to other server side scripting languages in that the jsp page is actually compiled into a servlet the first time it is run. this makes it efficient when compared to say asp which does all the processing each time...
do you mean going through a recordset from a database to dynamically set up your dropdown list? and filling a text area with the contents of a table cell? and the circus leaves town...
Hi, i am very much a oop newbie.
was just wondering how i solve this simple problem...
i need to split a date for example:
12/05/01
by the '/' into an array.
When i include this in a packaged class, when i call the method i cant return the result as an array: val[0]=12,val[1]=05 etc. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.