Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


J2EE Project Re-direct Url in NWDS

J2EE Project Re-direct Url in NWDS

J2EE Project Re-direct Url in NWDS

Hello All,

1. I imported a zip file into a NWDS J2EE project.
2. This J2EE Project has a form.html page.
3. In this form.html page there is a button called LOGON which when pressed will go to the Standard Portal Logon Page.
The code of this form.html page is as below :


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="TSSAP HTML Generator">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<FORM name="logonForm" method="post" action=" /irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default">
<input name="login_submit" type="hidden" value="on">
<input type="hidden" name="login_do_redirect" value="1" />
<input name="j_authscheme" type="hidden" value="external">
<table border="0" align="left" valign="top">
<td >
User Id
<td width="183" height="20">
<input name="j_user" type="text" value="">
<td width="161" height="20">
<td width="183" height="20">
<input name="j_password" type="password">
<td colspan="2" height="20">  </td>
<td colspan="2">
<input value="Log on" type="submit">

4. Now my task is to avoid this form.html page and write a code in one of the index.jsp page which when executed will directly call the url :-



5. For this I wrote the following code in Index.jsp page :-


<%@ page language="java" %>
            Title: Portal Logon
            String redirectURL =

6. But what's happening is :-

When this J2EE Application is executed the url is getting re-directed but instead of thr Portal logon page I'm getting a Popup which asks my UID and PWD and when given in it will log u on to the Portal.
7. What my Qn is why this Pop-up is coming ?
and how to get the Standard Portal Logon Page ?
The url which is used in the earlier form.html page is the same I'm using to re-direct.
But why the output is not same in my case ?

I hope i'm clear in explaining my problem.

Can any one help me out ?



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close