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 venur

  1. venur

    New Project (.mpx) file opens 2 up windows?

    Hi, I am not sure if this is a right question in this forum. But some one might have a solution. We have a web page from which a user can download an MS Project file with a extentsion (.mpx) and can open the file in MS Project. The issue is if the MS Project is not open and then the user opens...
  2. venur

    Extract HTML tags from String using Regular Expression

    Hi, Here her the example for regexp hope this will hlep you public void extractIdValue() { String htmlString = "The values for Key1 is <span id=\"key1\">value1</span> and for Key2 is <span id=\"key2\">Value2</span>."; String regexpForSpanTag =...
  3. venur

    Cannot find message resources under key org.apache.struts.action.MESSA

    Hi, Hope this will help you. http://www.systemmobile.com/articles/strutsMessageResources.html cheers Venu
  4. venur

    Exporting Excel files with images

    Hi, Use image as a backgound for the header and spcify the URL of the image in CSS file and include the CSS file in the JSP page using <jsp:include>. I haven't tried the solution hopefully it will work. ex: CSS file <style> .img-src{ background-image: url('images/icon_info.gif')...
  5. venur

    Way to access textarea from a html form

    Hi, If the html form is using ENCTYPE="multipart/form-data" then you cannot assess the parameters by calling request.getParameter(String s); Generally Enctype is used when you want to uplaod files to the server. http://www.jguru.com/faq/view.jsp?EID=160 Cheers Venu
  6. venur

    IFrames - body onload of main page throws exception some times

    Hi, I have a template page which has 2 Ifames inside it. onload of the template page I call a javascript function init(); the init() function will invoke another javascript function after 10 seconds which uses IFrame1 values to populate preview in Iframe2. So my question is, when I invoke...
  7. venur

    When We choose to customize ActionServlet or RequestProcessor?

    Hi ActionServlet is used when you have to load or verify some thing when the application is loaded on to the server. RequestProcessor is used when you want to verify some thing in the request before you execute the action or after the action is executed. Let take an example. I want to load...
  8. venur

    getting values in combobox from database without refreshing!

    Hi, You you need put those three lines of code in the JS function showResponse. Now it will like this /* Upon completing the request the AJAX will call this method which is responsible for loading the depedent list from the XML */ function showResponse(originalRequest) { var list =...
  9. venur

    Query to disply tree structures

    Hi, I am trying to write a query which returns a list of recods in a tree structure. When a user searches for TEXT then it has to display the entire trees for the searched text. Table instance INS_ID TEXT TABLE hierarchy H_ID INS_ID PARENT_INS_ID DISPLAY_ORDER ex: data 1 /...
  10. venur

    javax.servlet.ServletException: Define tag cannot set a null value

    Hi, Can you copy and paste the web.xml here that will help to debug. Cheers Venu
  11. venur

    ListBox click problem!

    Hi, Here is the link hope this what you were looking for http://www.tek-tips.com/viewthread.cfm?qid=1205838&page=1 Cheers Venu
  12. venur

    Problem setting sessions in JSP? from IE/mozilla

    Hi, The other way of doing it some thing like passing the href with the URL as a parameter then you don't have to worry about different browser behavior. And in the JSP page you get the parameter href. <a href="#" onClick="javascript:window.open('http://123.123.220.220/aaa/login.jsp?app_id=99...
  13. venur

    Intercepting HTML ouput

    Hi, The clean way to implement this is by using Filters and Custom HttpResponseWrapper. All you need to is overwrite the doFilter() that extends GenericFilter. Here is the link http://www.orionserver.com/tutorials/filters/3.html Hope will help you. Cheers Venu
  14. venur

    Problem setting sessions in JSP? from IE/mozilla

    Hi, I am not sure why, but it is what might be happening. If you are using javascript:document.location.href to invoke the jsp then IE will not send "referer" URL it will be null were as FireFox (Mozilla)send the "referer" URL. Try this test page both in IE and FF, In the page there are 2...
  15. venur

    Problem setting sessions in JSP? from IE/mozilla

    Hi, It is better to store the information into an object and store that object into the session. Before storing it into session verify if the user is valid or not. Well, if we take the above post then you have all the values except for requestedSessionId uses pageContext.session.id <%@...

Part and Inventory Search

Back
Top