Results 1 to 3 of 3
  1. #1
    kishan's Avatar
    kishan is offline Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    0

    Default can we change label from action class?

    Hi,
    1)I have to change a label in the jsp page from my acton class.
    2)I want to close a popup window from the action class of that popup by not using script "window.close();"
    Is these possible? If so please provide the code line?

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    Take some time to think through what activities are happening on the server and in the browser. Your action class has no direct involvement with the content in the browser. Closing a pop-up window has to be done with Javascript.

  3. #3
    kishan's Avatar
    kishan is offline Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    0

Similar Threads

  1. Call action of JButton from another class
    By geckolux in forum AWT / Swing
    Replies: 4
    Last Post: 01-06-2014, 11:24 AM
  2. action class
    By jayagowri in forum Web Frameworks
    Replies: 1
    Last Post: 05-07-2008, 03:23 PM
  3. Action class in Struts
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-27-2007, 10:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •