File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes send me portlets flow  code(using jet speed server) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply locked New topic
Author

send me portlets flow code(using jet speed server)

bharath ramv
Greenhorn

Joined: Apr 21, 2011
Posts: 9

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

Joined: Jul 26, 2007
Posts: 10355
    
    8

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.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
bharath ramv
Greenhorn

Joined: Apr 21, 2011
Posts: 9

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

Joined: Apr 21, 2011
Posts: 9

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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: May 03, 2008
Posts: 4541
    
    5

bharath, kindly check your private messages for an important administrative matter. Please note that this is not optional.


luck, db
There are no new questions, but there may be new answers.
bharath ramv
Greenhorn

Joined: Apr 21, 2011
Posts: 9

hi Tim Moores

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


thanks
bharath
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Apr 21, 2011
Posts: 9

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

Joined: Apr 21, 2011
Posts: 9

hi Tim Moores

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

thanks in advance
Bharath
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send me portlets flow code(using jet speed server)