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

    AIX and DS4300 performance issues

    I opened and issue with IBM and sent support data for them to analyze. They came back and said that they don't see anything wrong. Said there is a little noise coming from a switch but other than that, things are clean.
  2. chrisw09

    AIX and DS4300 performance issues

    I have a P570 with 2 FC adapters, each connected to their own McData 4500 switch which is in turn connected to a controller. HBA0 --> switch 1, port 0 --> controller A HBA1 --> switch 2, port 0 --> controller B I have a couple of luns, hdisk3 and hdisk4 both about 10gig. When I assign...
  3. chrisw09

    Proper Application Design

    I'm trying to figure out the best way to go about developing an application that relies on 2 different datasources. One is mysql and the other is oracle. Currently i have a class, UserDAO that has the following methods: getUserInfo() - gets info from mysql getShipToList() - gets info from...
  4. chrisw09

    Applying website specific "templates" to an application

    I have a website that looks a certain way. I'd like to be able to create a new site that uses the same code but only change it's appearance. Instead of having two sets of code, i would rather create a directory called lets say "templates". Inside that then have directories using the template...
  5. chrisw09

    Link using onclick and special chars

    That's what i ended up doing. i was hoping to do it all with javascript...
  6. chrisw09

    Link using onclick and special chars

    Sorry it's early, i should have explained better. the data is coming from a database. This is my actual url: <a href="#" onclick="rename('${list.id}','${list.name}');">Rename</a> I'm passing this to a javascript function that displays a form field for the user to rename the value and submit...
  7. chrisw09

    Link using onclick and special chars

    I have the following link that calls a javacript function. This works perfectly fine unless the input value has a ' in it, for example Gary's books. <a href="#" onclick="rename('test');"> I tried using encodeURI in the onclick="" but the quotes are still causing me grief. I hope i'm...
  8. chrisw09

    Radio Buttons with selected option

    sorry, i posted the wrong code snippet: this is what i'm doing <html:radio property="transType" value="SO" checked="checked"/>
  9. chrisw09

    Array of different objects

    uolj, I used your method and created a virtual printDimensions in my base class "shape" and extended it in circle to calculate the radius of the circle, which worked great. My concern was with methods like isIsosceles() which would only apply to a triangle and wouldn't really make sense to...
  10. chrisw09

    Array of different objects

    I almost hate to post this as i'm new to c++ but i am having touble with pulling data out of an array. I have 4 classes: Shape, circle, square, triangle. (they inherit from shape) Each class has unique functions. (eg. getRadius.) I have an array: shapes which contains circles, squares, and...
  11. chrisw09

    Radio Buttons with selected option

    I'm trying to setup radio buttons in struts and need a default button checked. I'm using the format: <input type="radio" name="color" value="blue" checked="checked"> But I'm getting the following: Attribute checked invalid for tag radio according to TLD. I'm using Struts 1.2.7 but tried...
  12. chrisw09

    ArrayList cast different types of objects

    I wound up using the following to solve my problem: if(list.get(0).getClass().getSimpleName().equals("MachineGun")){ I wish this app was something cool like a game but in reality it is a catalog for guns. I needed to be able to load a list of inventory items and run comparisions based on type...
  13. chrisw09

    Application global variables

    I guess i should have explained a little further, I wish it was as simple as using a connection pool. I'm connecting to a backend system with a set of classes provided to me to expose business logic (ex: get a product price). There are connection settings that the api uses and would be different...
  14. chrisw09

    Application global variables

    I am working on a website that uses a database. I'd like to have the database variables stored somewhere that my classes, jsp pages and action servlets (struts) will be able to access. Currently I have the variables in an interface and am accessing it with my classes but cannot then with jsp...
  15. chrisw09

    ArrayList cast different types of objects

    Seems to me like the other is a more efficient solution especially when only working with 2 classes... The only reason i ask is because others are going to see my code and i want to not do anything completly stupid... :) thanks again.
  16. chrisw09

    ArrayList cast different types of objects

    Thanks Dave, helps a lot. Just curious though, is using try/catch the only way to handle this if i don't know which i'm getting?
  17. chrisw09

    ArrayList cast different types of objects

    I have 2 classes: gun and machinegun which extends gun I have 1 arraylist of both gun and machinegun objects. How can i get the objects back out of the arraylist and retain their type? I'm trying to use an equals method that's in both classes but i only want to compare like classes...
  18. chrisw09

    Apache &quot;file size limit exceeded&quot;

    Solved my own problem. Sorry for the post. It was the apache-tomcat (/usr/local/tomcat/logs/mod_jk.log) log file. It reached 2gig and shut apache down. I cleared it and apache is back running fine...
  19. chrisw09

    Apache &quot;file size limit exceeded&quot;

    My apache server shutdown about an hour ago and won't start after a reboot. After some investigation i found that my error_log file was huge. I deleted it, rebooted the server but i am still getting the error below when i run apachectl: ./apachectl: line 100: 1371 File size limit exceeded$HTTPD...
  20. chrisw09

    Blocking AIM and MSN

    I'm trying not to use the firewall client at all. I have some users that are LINUX based and have caught them using gaim... Besides the client is easy to defeat on the windows workstation end by the users...

Part and Inventory Search

Back
Top