Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Struts Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Questions" Watch "Struts Questions" New topic
Author

Struts Questions

Krishna Attravanam
Greenhorn

Joined: Oct 21, 2004
Posts: 16
1) I think I had raised this before...but still to be clear I am trying to do something similar to this..And i am damn sure i am making some kind of a syntax error. Cant figure out what

<a href=javascript:void(window.open(something.do?id=" + <bean:write name="names" property="ID"/> + "','Link','location=0,status=0,scrollbars=0,width=480,height=400'));>

2) I have a webapp which has two different login permissions

There r two types of users Primary and Secondary

The secondary can access only 1 page out of all the 15 pages.. whereas the Primary can access only one.

How can i do this in struts

~K
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
1) make sure to properly quote everything, including the javascript call

2) Both secondary and Primary may only access one of the 15 pages? What are the other pages for? (hehe) Anyway, my solution is to place a userbean in the user's session and check the user's access level on every page and during every Action.
Krishna Attravanam
Greenhorn

Joined: Oct 21, 2004
Posts: 16
Sorry for the typo

The primary can access all and the secondary can access only 1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Questions
 
Similar Threads
Problem displaying report using JSP
Combining css margin and table width in percentages
Which one is better ? Dojo plugin Vs jQuery plugin
Acessing Function Properties
Problem with struts-menu for second level submenu