wood burning stoves
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

Jsp Javascript and struts doubts

Nemo Newbie

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

Joined: May 26, 2003
Posts: 33130

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 agree. Here's the link: http://aspose.com/file-tools
subject: Jsp Javascript and struts doubts
It's not a secret anymore!