File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes using check box...disabling/enabling of a page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "using check box...disabling/enabling of a page" Watch "using check box...disabling/enabling of a page" New topic
Author

using check box...disabling/enabling of a page

zana far
Greenhorn

Joined: Aug 21, 2008
Posts: 1
i have one question form as jsp page and in another jsp page i have check box.if check box is clicked that question form should get enabled else it should be disabled.thing is we can perform this in one system.but how to do the same in remote system.means,if i click the check box the remote user should not access the question form.
how this can be reflected in another jsp page when i do such a changes in one jsp page.
how to link this both jsp pages which are different modules in my project.

i m using jsp and servlets for this.
Ramakanta Biswal
Greenhorn

Joined: Aug 21, 2008
Posts: 9
Hi

I understand that you have want to access two different pages in two different systems. If you check a check box in one jsp, the relevant question should be enable in other jsp. correct?

For this first you have to set a session varibale once click on the check box on one jsp. Second make the question jsp page as auto refersh with in every let say 5 secs. And check the session varibale to enable the relevant question.

Hope this will help!!!
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Hi zana far welcome to Javaranch

Firstly why you think this is a servlet question? please CarefullyChooseOneForum
how to link this both jsp pages which are different modules in my project.

By different modules or systems do you mean different web applications.

Please take some time to read the Ask good questions link below to make more out of the ranch.


SCJP, SCWCD.
|Asking Good Questions|
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: using check box...disabling/enabling of a page