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

    How to expose HttpServletRequest to custom tag?

    Cast it: import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; import javax.servlet.http.*; public class X extends BodyTagSupport { public int doStartTag() throws JspException { HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); .... }
  2. mingus

    Scope of Instance Variables in Custom Tag

    Say you have a class with an instance scope like belong. Once you set the variable you set it not for just the current user but all users of the web site. How can I can I make an instance variable accessible to only the current session? Below "a" is only null the first time any user hits the...
  3. mingus

    Tomcat 5 Issue

    Never mind... The person who did the install did something a little brain dead. We have lots of JAR files we've created or bought so he moved them from Windows to Fedora. When doing so he also over wrote the installed ones for Tomcat. For reasons I don't know if you use Window Tomcat JAR files...
  4. mingus

    Tomcat 5 Issue

    Okay I was wrong, or my info was wrong. It fails in Tomcat 4 as well. The difference is between Windows and Linux (Fedora). Same code. Same Tomcat version now. Different results.
  5. mingus

    Tomcat 5 Issue

    Well I am not seeing that declared in the file... Here is the entire Java. Yea something isn't declared right. Trying to trace it myself but not finding it. Thansk for any help. import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import...
  6. mingus

    Tomcat 5 Issue

    private boolean _jspx_meth_core_setCookie_0(javax.servlet.jsp.tagext.JspTag _jspx_th_core_ifRequestEquals_0, PageContext _jspx_page_context) int _jspx_eval_core_ifRequestEquals_0 = _jspx_th_core_ifRequestEquals_0.doStartTag();
  7. mingus

    Tomcat 5 Issue

    Here is routine that gets created. Error happens have the out.print (I marked with ERROR HAPPENS HERE) private boolean _jspx_meth_core_ifRequestEquals_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out =...
  8. mingus

    Tomcat 5 Issue

    Hi! I am trying to get Tomcat 5 to work with JSP tags I have the a page that does this: <mytags:tag1> <mytags:tag2/> </mytags> It works in Tomcat 4. It doesn't in Tomcat 5. It I take out the nested tag, tag2, and put in text the things work. Tag1 is a conditional which does...
  9. mingus

    Free Disk Space

    I thought of that, but was hoping for a Java method on the File Class or something. I dunno. Too many laguanges, some do this. Since I really needed this for DB servers I found I can do EXEC master..xp_fixeddrives in SQL Server to get space. So I just to a JDBC connection to get the disk space...
  10. mingus

    Free Disk Space

    How do you get the amount of disk space free on a drive in Java? thanks for any help mingus
  11. mingus

    NTLM Auth

    Let me re-phrase. If when I browsing around I click on something that executes the code: response.setStatus(response.SC_UNAUTHORIZED); response.setHeader(&quot;WWW-Authenticate&quot;, &quot;NTLM&quot;); Then I have a form with a post: <form method=&quot;POST&quot;>... </form> Then...
  12. mingus

    NTLM Auth

    Okay, but then how to turn off the NTLM handshake? Once I set it the browser wans to keep doing for every page that follows. Once I am done with the handshake, how do I get my hand back?
  13. mingus

    NTLM Auth

    If I add the following two lines to do NTLM Authorization: response.setStatus(response.SC_UNAUTHORIZED); response.setHeader(&quot;WWW-Authenticate&quot;, &quot;NTLM&quot;); Then form data past in form using POST is gone! GETs still work, but the POSTs fail. So how do undo the response...
  14. mingus

    AgDigitalIDStep2

    In the very last step of AgDigitalIDStep2 I get a 403 error. Anybody have any clue? I can't get SSL on the my new box!
  15. mingus

    Request is not active

    I get that message on and off. I trap and send myself e-mail every time it happens. Always on the same page, and that page is using SSL. Page works about 8,000 times per every time it fails so I don't think it's the code but SilverStream. Never figured it out, never had SilverStream get back to...
  16. mingus

    SSL Help

    Okay I've read the &quot;How To&quot; document but I still don't get SSL to work with Apache. I can get it to work on one server but on another when to go to https://www.ick.net It chnages that to: http://www.ick.net:443 Anybody know why? Any really good trouble shooting docs on SSL and...
  17. mingus

    Displaying SWF/Flash files from database

    I have a pretty simple custom tag that displays a JPG which is stored in the database. I tried to use the same method to get a SWF file but it fails to display. Anybody have any clues? The JPG tag looks like in file showImage.sjp <%@ taglib uri=&quot;/p.tld&quot; prefix=&quot;p&quot...
  18. mingus

    Newbie Flash/HTML question

    I have some flash files in a database. Is it possible to show them straight from the database or do I need to save them a file first? The attempts call a Serlvet which writes the bytes of the file fails to display the movie, although if I save to a file and call that file name it works fine...
  19. mingus

    ASDI and Java

    I think so. Trying to go to an Exchange Server which I think is LDAP. tim
  20. mingus

    ASDI and Java

    Windows has something called the Active Services Directory Interface (ASDI). I am trying to get data from it via Java. I have looked for help, but keep getting rather vauge answers. (&quot;It's like LDAP using JNDI, but...&quot;). I never used LDAP and until today never heard of ASDI. My...

Part and Inventory Search

Back
Top