This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsp Javascript and struts doubts

 
Nemo Newbie
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I am new to java.I have a scenario where I need to use these three technologies.My project will have several users. Based on the privilege, then can see only few buttons and panels of a JSP page.Few button values need to be changed dynamically based on the user privileges. On click of those buttons will open some pop up displaying some content from parent page and also asking for some content.
Once you submit it needs to make an action call, which will redirect to do business logic. Some of these pop ups must be Ajax calls...like checking for empty field. If the field is empty few buttons should be disabled etc. How to do this....How to approach this problem. what are the kind of methods and beans we need . Please guide where to start...

Any kind of replies are appreciated.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need two types of security:
1) Whether to show the buttons
2) Whether to accept a link. (A user knowing or guessing the URL shouldn't be allowed in)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic