Bookmark Topic Watch Topic
  • New Topic

send me portlets flow code(using jet speed server)

 
bharath ramv
Greenhorn
Posts: 9
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
can you please send me if any body know....portlets with jetspeed server flow,

and

i appreciate if you send any samplecode(login application with two radio buttons and action is j_security_check),// explain the flow...

place send me above code..

thanks in advance
bharath
 
Maneesh Godbole
Saloon Keeper
Posts: 11317
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
The Ranch is NotACodeMill
Tell us what you have tried so far, where you are stuck and we will be more than happy to help you out.
 
bharath ramv
Greenhorn
Posts: 9
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
how to redirect the session from j_security_check(--action) in login page( login page is having 2 radio buttons, eg: dashboard and project)defaultly its redirecting to Dashboard but sme times even i checked project also..its redirecting to dashborad only how to redorect to project screen....


can you please help me out,
Thanks in advance


newTest.jsp

thanks
Bharath

[mg]edited to UseCodeTags
 
bharath ramv
Greenhorn
Posts: 9
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Maneesh Godbole wrote:The Ranch is NotACodeMill
Tell us what you have tried so far, where you are stuck and we will be more than happy to help you out.




Hi Maneesh, can you please look in to this issue....its an urgent issue

Thanks
Bharath
 
Tim Moores
Bartender
Posts: 3128
50
  • Mark post as helpful
  • send pies
  • Report post to moderator
You misunderstand how servlet security works. You would never submit a form to j_security_check directly, you would submit it to wherever it's supposed to go, and the servlet/portal container handles security transparently.
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Report post to moderator
bharath, kindly check your private messages for an important administrative matter. Please note that this is not optional.
 
bharath ramv
Greenhorn
Posts: 9
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi Tim Moores

can you please send me code sample for this... redirecting from servlet/jsp to....


thanks
bharath
 
Tim Moores
Bartender
Posts: 3128
50
  • Mark post as helpful
  • send pies
  • Report post to moderator
My point was that there is no code sample - you would code the form as if no security was in place, and then set up web.xml accordingly. You will need to read up on servlet security about how to do that. I'm having a hard time believing that a portal server wouldn't have centralized authentication handling, though.
 
bharath ramv
Greenhorn
Posts: 9
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
how can i get the httpServletRequest in portlets(we have renderRequest), see below code

public void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
----

HttpServletRequest httpRequest = (HttpServletRequest) request.getParameter("j_username");// we tried this senario but the geting value is null always.
.
.
.
}

Thanks
Bharath
 
bharath ramv
Greenhorn
Posts: 9
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi Tim Moores

can you please see above...issue...?

thanks in advance
Bharath
 
    Bookmark Topic Watch Topic
  • New Topic