I ve run into this many times when i have to compare something with something else in a logic:equal or notEqual tags and that something else is not always a permanent value like "true" or "1". for example, i would want to compare against a bean property and based on that, show one style or...
watch out cause i think the submit() method does not call the onSubmit() from the page, so if u have something like <form... onSubmit(), u have to call it manually
cheers,
Alex
i think u need a custom replace method, where u replace all <'s with <'s and then use a preparedstatement put into the database. btw, filter="false" should do the trick for u
The select will display whatever the value of "book" property in ur bean is, so if u want to reset the select, reset that value.
Hope this helps.
Alex
Ok, thanks everybody for the answers, the cancelBubble thing is what did the trick..i guess i have some studying to do about this..
basically i wanted to have nested divs because i am building a tree-like structure with some java on the server side and then showing it in the browser..so when i...
Hi,
so here is the question:
i have nested <div> tags like this:
<div id="1"...onclick="javascript: alert(this)">
<div id="2"...>
<div id="3"...>
</div>
</div>
</div>
and when i do onclick for div 1, everything is ok, i get 1
HOWEVER...
guys, your webapp should have one default.jsp or somehting like that in the webapps/myapp directory. then, in the web.xml file for your webapp, you create a
<welcome-file-list>
<welcome-file>default.jsp</welcome-file>
<welcome-file-list>
and in the default.jsp you put a line to redirect to...
Most likely since you are doing this for the first time, you are using some 4.1.x version of Tomcat, there is no need to mess with the server.xml file, just drop your webapp in the webapps directory and then go to http://localhost:8080/admin and configure it...
thats all there is to do, make...
Yes, depending on the version of Tomcat you are using, you either need to directly edit the server.xml file to set the reloadable="true" or in the admin app, http://localhost:8080/admin ... for the appropriate context turn on that flag for the class loader property
nevermind, i solved it
if anyone interested, couple of ways to do that,
1. specify a servlet in the conf/web.xml and give it a load on startup 1
2. do the same in your context's web-inf/web.xml file
i've got a question, rather that an answer, but maybe once i have the answer, i will be able to help.
we are also using the db pooling, and it works fine if i call a class for db connection from a jsp, but the problem starts when i call the same class from another class within my...
actually, its a great article and helped out a lot, except the part where they go into the nt service setup. tomcat installs quite nicely as an nt service within windows, so just skip the steps that describe how to do that and run it as a native service. of course there is not enough info that...
Hi everybody,
got a question about hiding a list box in ne4, mind that simply writing visibility: none or hidden will not work, since its a listbox
any suggestions?
Thanks,
Alex
I think the problem is that a java class file is not completely a part of the webapp, so it does not see the connection pooling. Try using a servlet instead and see what happens
Hi all, i am wondering if anybody is using the JOX XML parser for Java, its from www.wutka.com/jox.html
if u are, i would like to start a thread on it. Please let me know
Thanks
Alex
Hi, guys and girls, Tomcat gurus and such!!
I have a very important question to ask all:
I would like to initialize a common library when the Tomcat starts up, so i have a method in my CommonLibrary.java that needs to be called only once.
How do i do this in Tomcat, (4.1.12) and where do i put...
this is cool, my question is more just something for the future:
is the sentence structure the same for english and for the elvish or is it different? and so will you want to match whole frases and not just single words?
this is where it gets interesting
alex
Ok, here it goes:
I have a main window that opens another(may be multiple) window-frame. Now, when i press a refresh button in the main window for one of the frames that i opened, the corresponding frame gets refreshed.(i know which frame i need to refresh, there is a list box in the main...
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.