File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: Struts Questions
 
Similar Threads
Problem displaying report using JSP
Acessing Function Properties
Combining css margin and table width in percentages
Problem with struts-menu for second level submenu
Which one is better ? Dojo plugin Vs jQuery plugin