This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

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)


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Jsp Javascript and struts doubts
 
It's not a secret anymore!