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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mingus

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

Part and Inventory Search

Back
Top