Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. areznik

    logic equal tag and permanent value

    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...
  2. areznik

    <html:submit> vs. javascript submit

    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
  3. areznik

    Render as html with bean:write

    i think u need a custom replace method, where u replace all &lt's with <'s and then use a preparedstatement put into the database. btw, filter=&quot;false&quot; should do the trick for u
  4. areznik

    Hello, I need to reset the form

    The select will display whatever the value of &quot;book&quot; property in ur bean is, so if u want to reset the select, reset that value. Hope this helps. Alex
  5. areznik

    How to read a text file in a JSP?

    Apache has a whole fileupload framework, check it out from http://jakarta.apache.org/commons/fileupload/index.html
  6. areznik

    JavaScript and DOM and nested &lt;divs&gt;

    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...
  7. areznik

    JavaScript and DOM and nested &lt;divs&gt;

    Hi, so here is the question: i have nested <div> tags like this: <div id=&quot;1&quot;...onclick=&quot;javascript: alert(this)&quot;> <div id=&quot;2&quot;...> <div id=&quot;3&quot;...> </div> </div> </div> and when i do onclick for div 1, everything is ok, i get 1 HOWEVER...
  8. areznik

    My default page won't default

    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...
  9. areznik

    Server.XML usage question

    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...
  10. areznik

    is there any way to avoid stop/start of tomcat when a java file is mo

    Yes, depending on the version of Tomcat you are using, you either need to directly edit the server.xml file to set the reloadable=&quot;true&quot; or in the admin app, http://localhost:8080/admin ... for the appropriate context turn on that flag for the class loader property
  11. areznik

    Initialize a common library at startup

    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
  12. areznik

    Problem with JNDI initial context

    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...
  13. areznik

    Tomcat-IIS Restarting problems

    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...
  14. areznik

    How to hide a listbox in NE4

    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
  15. areznik

    pooling in tomcat

    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
  16. areznik

    Jox XML Parser

    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
  17. areznik

    Initialize a common library at startup

    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...
  18. areznik

    How do I write a language translator?

    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
  19. areznik

    Multiple window question, please take a look

    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...
  20. areznik

    How many different stylesheets for different browsers?

    Check out this article, it helped me a lot : http://www.ericmeyeroncss.com/bonus/trick-hide.html it has some good points and tricks Alex

Part and Inventory Search

Back
Top