| 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
|
 |
 |
|
|
subject: Struts Questions
|
|
|