This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Jsp Javascript and struts doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Jsp Javascript and struts doubts" Watch "Jsp Javascript and struts doubts" New topic
Author

Jsp Javascript and struts doubts

Nemo Newbie
Greenhorn

Joined: Oct 14, 2010
Posts: 1
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

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)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: Jsp Javascript and struts doubts
 
Similar Threads
passing the values from popup window to jsp
Problem with pop-up window
window with yes and no
Looking for ideas/discussion on "Best Approach"
how to get value selected on jsp2 on text field of jsp1?-urgent help!