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 strongm 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. dennisGuru

    request.getParameter

    I have looked for this method, but could not found it. I have looked in the wrong place. Thanks alot. It worked. Dennis
  2. dennisGuru

    request.getParameter

    Hello, I have a jsp page with several buttons. <INPUT TYPE=&quot;submit&quot; NAME=&quot;button_A&quot; VALUE=&quot;Goto A&quot;>. I use these buttons to go to another page, depending on wich button is used. In the servlet I retreive these with req.getParameter(&quot;button_A&quot;). Once a...
  3. dennisGuru

    Safety question

    Hello, I'm using tomcat 4.1 and mysql. In the beans I connect to the database with sql queries. Now i have heard that you do not end these queries with a &quot;;&quot;. Because then the query can be split up and someone can access the database and, for example, delete everything. In my jsp...
  4. dennisGuru

    Safety question

    Hello, I'm using tomcat 4.1 and mysql. In the beans I connect to the database with sql queries. Now i have heard that you do not end these queries with a &quot;;&quot;. Because then the querie can be split up and someone can access the database and, for example, delete everything. In my jsp...
  5. dennisGuru

    session.invalidate() not working

    I just thought of something. Try deleting the contents of your work directory. Sometimes jsp pages are not reloaded/recompiled correctly. Dennis.
  6. dennisGuru

    Web server

    For Apache go to http://www.apache.org/ And download the http server. Read the documentation carefully to install php. Dennis
  7. dennisGuru

    Calling cmd.exe and an executable from a servlet

    Would it be an option not to run the batchpdf.exe without the cmd.exe? Another way to work around it is with a batchfile. Maybe that would help. Dennis
  8. dennisGuru

    session.invalidate() not working

    Here is the way I use it: First in the jsp pages I have the no caching stuff. When you login I use a form to activate the servlet. When you login the servlet checks if the user is in the database. If so, I have a bean that &quot;knows&quot; that a user is logged in. This bean is always in the...
  9. dennisGuru

    session.invalidate() not working

    I don't think it is a tomcat problem. You also have no ; after session.invalidate, but this is not the case in your code. I assume. You could check if the invalidate is executed. Maybe some printlines around it. In what way do you check on your jsp pages if a user is logged in? Do you put a...
  10. dennisGuru

    Security

    Well, SSL it is. Thanks for your help. I really appreciate it. Dennis.
  11. dennisGuru

    session.invalidate() not working

    You should take a look at the cache settings of your browser. Or put the following in the header of your jsp pages. <!-- doesn't work with IE --> <META HTTP-EQUIV=&quot;Pragma&quot; CONTENT=&quot;no-cache&quot;> <!-- doesn't work with Navigator --> <META HTTP-EQUIV=&quot;expires&quot...
  12. dennisGuru

    Security

    A sniffer is a tool that monitors your network traffic. It can see the packets that you receive and send. When you download a file (or webpage) it has to come over your network. And the file is devided in packets that are send from a server to your computer. Your computer puts everything...
  13. dennisGuru

    Security

    I meant by that when you login you press a button, like submit. You can see the contents of what you send with a sniffer. That means you can retreive the username and password in a very simple way. Is there a way to login that makes sure that this is not possible. I have looked at SSL but this...
  14. dennisGuru

    Security

    I have build a login page for my website. Through a servlet i can get access to my site. The username and password are stored in a mysql database. I have tomcat 4 as a webserver To gain access I use a <FORM> But when you login everything is sent to the server in plain text. Is there a way to...
  15. dennisGuru

    request.getServerName

    In my application I use request.getServerName. It returns a null pointer exception. Is there anywhere I can set the server name? For example in server.xml. And how can I set it? Dennis
  16. dennisGuru

    Tomcat 4.1.27

    You probably haven't changed the server.xml so i don't know if this could help you. But check if tomcat really runs on 8080. Otherwise you should, if you have a one, check the settings of your firewall. The port 8080 might be closed. Dennis
  17. dennisGuru

    tomcat to iplanet

    It isn't hard. Just zip it. Then rename to .war and if you want to test it reconfigure your tomcats server.xml for the war file. It should work. Dennis.
  18. dennisGuru

    Storing Java Objects

    I have found it. It is not possible. MySQL is a RDBMS and not a ORDBMS. For this you need Oracle 9i or Cloudscape.
  19. dennisGuru

    Storing Java Objects

    Is it possible to store Java Objects in mysql? And not just the variables? This would be very helpfull. For example: I have a class Person with variables Name and Age. Later I decide to add Address. And I do not want to change the database or the Java code. I can store the variables in a...
  20. dennisGuru

    Refesh data in Orac

    You should check the javadocs about Statement. There are special methods for the create and update staments.

Part and Inventory Search

Back
Top