Results 1 to 4 of 4
  1. #1
    phaniyelugula is offline Member
    Join Date
    Oct 2012
    Posts
    3
    Rep Power
    0

    Default differentiate user pages and admin pages in struts

    im new to struts,
    in my project im having 2 modules(admin,user)
    "admin" is having different operations like adding users,removing users,adding items,removing users
    and
    "user" is having operations like ordering items,checking his account balance....
    now i wanna differentiate user pages and admin pages (ie if admin is logged i wanna provide him admin module,,,if user is logged i wanna provide him pages ordering items,checking his account balance....)
    Last edited by phaniyelugula; 10-19-2012 at 06:16 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,455
    Rep Power
    20

    Default Re: differentiate user pages and admin pages in struts

    Quote Originally Posted by phaniyelugula View Post
    ,,,if user is logged i wanna provide him u)
    What?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    phaniyelugula is offline Member
    Join Date
    Oct 2012
    Posts
    3
    Rep Power
    0

    Default Re: differentiate user pages and admin pages in struts

    if normal user is logged in i wanna provide him pages like ordering items,checking his account balance....

  4. #4
    phaniyelugula is offline Member
    Join Date
    Oct 2012
    Posts
    3
    Rep Power
    0

    Default Re: differentiate user pages and admin pages in struts

    i got to know abt switchaction can be used in this senario but i dont have any examples in net how to use switchaction in struts2(but im havng switchaction examples in struts 1.2 from google)

Similar Threads

  1. JSP pages
    By dalu in forum New To Java
    Replies: 6
    Last Post: 04-29-2011, 02:20 PM
  2. mobile support user friendly pages development
    By jayachandra in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 01-26-2011, 06:21 AM
  3. how to use Multiple GUI pages
    By jonwymore in forum SWT / JFace
    Replies: 3
    Last Post: 12-06-2010, 12:13 PM
  4. JSP pages with no caching
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 01:53 PM
  5. Getting all the pages from a domain
    By eva in forum New To Java
    Replies: 0
    Last Post: 12-25-2007, 12:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •