Struts goes to a blank page after signin

I have an application similar to Toystore but I get a blank page after signin. It should go to a defined home page. Right now the only way I fixed it is define a success action and forward there instead of the home page.
This is toystore code but mine is similar. I hope someone has seen this problem.
ACTION CLASS:
public class VerifySignInAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
String target = request.getParameter("target");
//home defined in struts-config.xml as:<action path="/home" forward="/WEB-INF/jsp/welcome.jsp"/>
if (target == null) target = "home";
* We shouldn't get here unless the LoginForm bean validation succeeds
LoginForm loginForm = (LoginForm)form;
toystore.controller.AppUserInfo.signIn(request,loginForm.getUsername());
//return mapping.findForward(target);//target is home but it goes to a blank page instead.
//Using success works but should not be needed
return mapping.findForward("success");
STRUTS-CONFIG.XML:
<action path="/verifysignin" type="toystore.controller.strutsactions.VerifySignInAction" input="/signin.do" validate="true" name="loginform"
scope="request">
<set-property property="application" value="ToyStore"/>
<set-property property="releasemode" value="Stateful"/>
<forward name="success" path="/WEB-INF/jsp/welcome.jsp"/><!--//Using this is the only way to forward but it should not be needed.-->
</action>

I got the same when using UIX for signin page

Similar Messages

  • Printer just started feeding a blank page after some, but not all printed documents

    Printer just started feeding a blank page after some, but not all printed documents

    Hi @cam21 ,
    I understand that you are having issues printing, after some documents you are getting blank pages. I would be happy to help you.
    I would do a hard reset to see if that will resolve the issue.
    Leave the printer on and unplug the power cable from the printer and wall outlet for 60 seconds.
    Then reconnect the power cable to the printer and wall outlet rather than a surge protector.
    This ensures the printer is receiving full power and may help this situation.
    What application are you printing from?
    It may be a setting in the application.
    Does this happen from all applications?
    Download and run the Print and Scan Doctor. It will diagnose the issue and might automatically resolve it. http://www.hp.com/go/tools>Using HP Diagnostic Tools for HP Printers in Windows.
    How is the printer connected? (USB/Ethernet/Wireless)
    What were the results when you ran the Print and Scan Doctor? (did it print or scan, any error messages)
    If there is anything else I can help you with, just let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Blank page after posting a reply?

    I'm getting a blank page after I post a reply. I have to go back to my bookmark for the whole forum manually. Is this a feature or a bug? (Im using Safari)

    Bold, Italics, Underscore, Teletype, Color, etc...
    Patrick

  • When wanting to download a PDF file from a site, when cliicking on the link, Firefox 3.6.13 goes to a blank page. Previous versions worked perfectly. How do I fix this please?

    Since no window shows up asking where to download, etc as happens in other browsers (Opera) and in previous versions of Firefox, no able to click on a web site link to download a PDF file. Just goes to a blank page.

    Some firewalls like Kaspersky can block content and send a 1x1 GIF image instead.
    Kaspersky: Protection > Firewall > Filtration system: disable the "Banner Ad Blocker"
    See [[Configuring Kaspersky Internet Security]] and [[Firewalls]]

  • TS1368 when i try to access the itunes store to buy music, it loads at the top and says connecting to itunes store..then it loads all the way and goes to a blank page. it loads and seems like it is will work, but then goes to a blank page. Why is it doing

    when i try to access the itunes store to buy music, it loads at the top and says connecting to itunes store..then it loads all the way and goes to a blank page. it loads and seems like it is will work, but then goes to a blank page. Why is it doing this?

    Hello katyhale,
    I found a couple of articles that might help with the issue you are experiencing with the iTunes Store.
    If you are getting a white screen when accessing the iTunes Store and using a Windows computer, I recommend reviewing this article:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123
    If you are still not able to access the store, I recommend the following article:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Urgent - Blank Page after login

    Hello All,
    My Portal was running fine in the morning without any problems. Now i've tried to login to the Portal and supplied the User/Password on the Login Screen i can't see anything (a blank page) after that. I have checked the defaultTrace.trc also and found the following message:-
    "Error in service call of Portal Component
    Component:com.sap.portal.navigation.portallauncher.default
    Component class: com.sapportals.portal.navigation.PortalLauncher"
    If i make a direct call to any of the component directly that's coming up.
    Regards
    Vaib

    hi
    can you redeploy the par file  from nwds after getting it from usr directory and straight away configure portal from the window preferences and deploy it as export par option or you can use portal launcher and navigate to security zone under permissions of system configuration  apply owner for that user  for that component.hope this helps you
    with regards
    subrato kundu

  • LMS 4.1 blank page after login

    Hi!
    I recently installed LMS 4.1 on a freshly installed W2k8R2 server, and untill last week I had no problems logging on.
    For some reason, I'm now getting a blank page after entering my credentials. The URL is like https://lms02/cwportal/c/portal/login
    I already rebooted the system, but that made no difference. All Cisco Works services seem to be started, as is Apache/2.2.17.
    What am I missing here?
    Thanks in advance!

    When you change the url to e.g. https://lms02/cwportal/group/lms/lms-monitoring does it work then?
    if so you may want to try to clear the cache/history of the browser.
    Cheers,
    Michel

  • Blank page after submitting.

    Hi all the Java Geeks can any one help me with this,<br>
    <br>
    I am getting a blank page after hitting the submit button. can you help me finding a solution for this in the JSP page or tell me where the error is.
    <br>
    <br>
    <br>
    <br>
    <br>
    <%@page contentType="text/html;charset=UTF-8" %><br>
    <%@page import="oracle.portal.provider.v2.render.*" %><br>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %><br>
    <%@page import="oracle.portal.provider.v2.PortletDefinition" %><br>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %><br>
    <%@page import="java.sql.*, javax.sql.*, java.util.*, oracle.jdbc.*, oracle.jdbc.pool.*, oracle.jdbc.oci.*" %><br>
    <br>
    <%<br>
    PortletRenderRequest portletRequest = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);<br>
    RenderContext rc = portletRequest.getRenderContext();<br>
    PortletDefinition pd = portletRequest.getPortletInstance().getPortletDefinition();<br>
    %><br>
    <br>
    <%!
         String tree_descrip;<br>
         String tree_descrip_long;<br>
         String     curr_Scheme;<br>
         String     overl_gif;<br>
         String     curr_css_path;<br>
    // page param<br>
         String     p_number_val= "1";<br>
         String     p_period_val= "Day";<br>
    %><br>
    <br>
    <%<br>
         String     long_desc = "LONG";<br>
         String     Descrip = "SHORT";<br>
         String     treeDescrip= "%SUBMISS%OLDER%";<br>
         String     curr_treeCateg = "SUB";<br>
    <br>
    try<br>
    {<br>
              curr_Scheme = getInfo.getSchem.getSchem();<br>
              overl_gif = "/images/smmj_page_obj/" curr_Scheme "images/prefreshdefault.gif";<br>
              curr_css_path = "/images/smmj_page_obj/" curr_Scheme "css/param_jsp.css";<br>
    <br>
              tree_descrip = getInfo.getPortletTitle.getPortletTitle          ( Descrip , treeDescrip , curr_treeCateg);<br>
              tree_descrip_long = getInfo.getPortletTitle.getPortletTitle          ( long_desc , treeDescrip , curr_treeCateg);<br>
    }<br>
    catch(Exception e)<br>
    {<br>
    tree_descrip = "";<br>
    tree_descrip_long = "";<br>
    }<br>
    %>
    <br>
    <%
    // Get page param p_number_val
    try
    p_number_val = request.getParameterValues("p_number")[0];
    catch(Exception e)
    p_number_val = "1";
    // Get page param p_period_val
    try
    p_period_val = request.getParameterValues("p_period")[0];
    catch(Exception e)
    p_period_val = "Day";
    %>
    <br>
    <HTML>
    <HEAD>
    <link href="<%= curr_css_path %>" rel="stylesheet" type="text/css" media='' screen=''/>
    <SCRIPT LANGUAGE="JavaScript1.1" SRC="/images/smmj_page_obj/Popup/overlib.js"></SCRIPT>
    </HEAD>
    <BODY>
    <br>
    <TABLE WIDTH=100% summary="<%= tree_descrip %>" border="0" cellspacing="0" cellpadding="3" BGCOLOR="#FFFFFF" >
    <TR WIDTH="100%" height="6px"><td height="6px" COLSPAN="6" ></td></TR>
    <TR WIDTH="100%" >
         <td ALIGN="LEFT" nowrap ></td>
         <td ALIGN="LEFT"      style="font-family:Verdana; font-size:8pt;font-weight:normal"      nowrap class="smmjPort2HeadJS"><span>  CYCLE NAME</span></td>
         <td ALIGN="CENTER"     style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS"><span>ID</span></td>
         <td ALIGN="CENTER"     style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS"><span>FIRM NAME</span></td>
         <td ALIGN="CENTER"     style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS"><span>BILLING PERIOD</span></td>
         <td ALIGN="RIGHT"      style="font-family:Verdana; font-size:8pt;font-weight:normal"     nowrap class="smmjPort2HeadJS0"><span>AGE</span></td>
    </TR>
    <%= getOlderSubs( p_number_val, p_period_val , "dev", portletRequest.getUser().getName(), "close_connect") %>
    </table>
    <TABLE><TR><TD>
         <%=p_number_val%>
         <br>
         <%=p_period_val%>
         <br>
         <%=portletRequest.getUser().getName()%>     
    </TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    <br>
    <br>
    <br>
    <%!<br>
         private String getOlderSubs( String cnumb, String cperiod, String cstring, String userid, String cState) throws SQLException<br>
         {<br>
              CallableStatement cstmt;<br>
              ResultSet cursor;<br>
              int spacerLine = 1;<br>
              int retStrC = 1;<br>
              String retStr = "f";<br>
              String retStr2 = "f";<br>
              String retStr3 = "f";<br>
              String retStr4 = "f";<br>
              String ALLretStr = " ";<br>
              String TempretStr = " ";<br>
    String userstring = getInfo.getPortlUser.getPortUsr("B", "1");<br>
    String pwstring = getInfo.getPortlUser.getPortUsr("B", "2");<br>
    String CNNstring = getInfo.getPortlUser.getPortUsr("B", "3");<br>
    <br>
              String PROXY_user_name = "test$" + userid;<br>
              //String PROXY_user_name = "test1$roger" ;<br>
                   String url= "jdbc:oracle:oci:@" + CNNstring;<br>
              Properties prop = new Properties();<br>
    <br>
    try {<br>
                        if ( userid.trim().toUpperCase().equals(getInfo.getCONN.chkPortal.trim().toUpperCase()) )<br>
                             {<br>
                                  ALLretStr = "<tr><td>Default user: " + userid + "</td></tr>";
                             }<br>
    <br>
                   else<br>
                   {<br>
                   // Create an OracleOCIConnectionPool instance with default configuration<br>
                   OracleOCIConnectionPool cpool = new OracleOCIConnectionPool(userstring, pwstring , url, null);<br>
                        Properties proxUserProp = new Properties();<br>
                        proxUserProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME, PROXY_user_name);<br>
                        OracleConnection conn__OCI      = cpool.getProxyConnection<br>(OracleOCIConnectionPool.PROXYTYPE_USER_NAME, proxUserProp);<br>
                        cstmt = conn__OCI.prepareCall ("begin PORT_CURSOR.s_submission_wip( ?,?,?,?,? ); end;");<br>
                        cstmt.setString(2, cnumb);<br>
                        cstmt.setString(3, cperiod);<br>
    <br>
                        cstmt.setInt(4, retStrC);<br>
                        cstmt.setString(5, retStr3);<br>
    <br>
                        cstmt.registerOutParameter (4, Types.NUMERIC);<br>
                        cstmt.registerOutParameter (5, Types.VARCHAR);<br>
                        cstmt.registerOutParameter(1, OracleTypes.CURSOR);<br>
                        cstmt.execute();<br>
                        retStrC = cstmt.getInt (4);<br>
                        retStr3 = cstmt.getString (5);<br>
    <br>
                        retStr = "<tr class=OraDataText><td>  " + retStrC + "</td></tr>";<br>
                        retStr = retStr + "<tr class=OraDataText><td>  " + retStr3 + "</td></tr>";<br>
    <br>
    if ( retStrC == -1 ) { ALLretStr = ALLretStr + retStr; }<br>
                                  else<br>
                                  {<br>
    <br>                                   cursor = ((OracleCallableStatement)cstmt).getCursor(1);<br>
                        while (cursor.next ())<br>
    {<br>
    if (spacerLine >= 2)<br>
    {<br>
    ALLretStr = ALLretStr + "<tr><td ALIGN=LEFT nowrap ></td><td colspan=5 height=1 <div id=ssubLine> <div id=ssubLinet></div> </div> </td></tr>";<br>
              }<br>
    ALLretStr = ALLretStr + "<tr WIDTH=100% class=smmjPort2Text <br>><td ALIGN=LEFT nowrap ></td><td ALIGN=LEFT>  " + cursor.getString(1) + "</td><td ALIGN=CENTER>" + cursor.getInt(2) + "</td><td ALIGN=CENTER>" + cursor.getString(3) + "</td><td ALIGN=CENTER>" + cursor.getString(4) + "</td><td ALIGN=RIGHT>" + cursor.getString(5) + "</td></tr>";<br>
    spacerLine++;<br>
    }<br>
    }<br>
              if (cState != null )<br>
                   { //return(retStr);<br>
    if (conn__OCI != null)      conn__OCI.close();<br>
    if (cpool != null)           cpool.close();<br>
              }}<br>
              return(TempretStr);<br>
         }<br>
         catch (SQLException e )<br>
                   {<br>
    String retErrStr = retStr + "<P> SQL Error: <PRE> " + e + " </PRE> </P> \n";<br>
    return(retErrStr);<br>
                   }<br>
              }<br>
    %><br>
    <br>
    <br>
    <br>
    Vijay.

    Vijay,
    Do you see any error messages on your application server console or the error log files?
    Thanks,
    Rashmi

  • Blank page after adding portlet from sample provider

    Hi All,
    Homepage not appearing after Login, tried adding Sample portlet to HomePage!
    I managed to configure and register the JPDK's Sample portlet provider as per the installation instructions.After configuration i tried the URL "http://yourserver/servlets/sample" and i got "Congratulations! You have successfully reached your Provider's Test Page"
    Then tried to add a sample portlet (Hellow Worls portlet) to one of the regions of the my homepage using the Navigator.
    Now, I'm not able to navigate to the home page after logging in from the portal Welcome page.
    I'm just seeing a blank page after login.
    This is the error i got in jserv.log file
    page/Unexpected exception in servlet
    java.lang.Exception: Invalid meta-data found in ProviderData process 4
         at oracle.webdb.page.ProviderData.parse(ProviderData.java, Compiled Code)
         at java.lang.Exception.<init>(Exception.java, Compiled Code)
         at oracle.webdb.page.ProviderData.parse(ProviderData.java, Compiled Code)
         at oracle.webdb.page.DataProcessor308.generatePage(DataProcessor308.java, Compiled Code)
         at oracle.webdb.page.DataProcessor308.process(DataProcessor308.java:2658)
         at oracle.webdb.page.PageBuilder.process(PageBuilder.java:684)
         at oracle.webdb.page.ParallelServlet.doGet(ParallelServlet.java:89)
    How can view the sample portlets from my home page?
    Any help would be greatly appreciated.
    Sapna

    Yes. I selected yes to Require Proxy .
    But no use. Where i'm doing wrong.
    Under Proxy settings in Global seeting i've given the following info.
    HTTP Server : alpha
    HTTP Server :80
    No Proxy Servers for Domains beginning with ALPHA
    URL Connection Time-Out (seconds) :0
    and in the provider edit page i set Require Proxy to 'YES'
    Thanks in advance
    Sapna

  • HP 6510 printing only blank pages after changing print cartridges

    Hi,
    My HP 6510 is printing only blank pages after I installed new print ink cartridges. I tried cleaning the print heads, aligning the printer... which did result in some pages printing with a little color (but it seemed "off" to me). That said, when I try to print a regular document from my PC it only prints a blank page. 
    I can't seem to figure this one out on my own - please help!
    Thanks!
    Chloe

    The document here may help resolve black not printing on your Photosmart 6510.  Be sure the cartridges are vented as shown in solution two.
    Is your printer still in warranty? You can check with HP's warranty tool here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • I accidentally deleted my iphoto and i took it out of the trash and now it wont open it goes to a blank page. help please.

    when i took my iphoto out of the trash it wouldnt open the same it goes to a blank page and has that waiting circle but it never loads and i cant put pics in it... i even tried re installing it and it did the same thing! help me i really miss my pictures

    there isno iphoto in my applications folder
    Then you'll have to reinstall iPhoto.  To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,
    Click to view full size
    Then install iPhoto from the disk it came on originally.

  • IE 11 links open to Blank page after last Window update

    IE 11 links open to Blank page after last Window update, I tried every trouble shooting and suggestions I could find in all forums but to no avail.
    Operating system Win 8.
    will try any suggestions and report back.

    Hi,
    Not sure whether you have tried these methods, if yes, keep trying the others.
    1.Run IE with no add-ons firstly.
    Click Start -> All Programs -> Accessories -> System Tools -> Internet Explorer (with no add-ons).
    If works, please follow the steps to narrow down which add-on cause the issue.
    Start IE>Press Alt to show the menu bar>On the Tools menu, click manage add-ons>under show, click All add-ons>disable half add-ons one time for quick narrow down>restart IE.
    2.Try resetting IE.
    Start IE>Press Alt to show the menu bar>On the Tools menu, click Internet options>Advance>Reset>restart IE.
    3. This is caused due to some registry problems occurred. To resolve this issue, follow the below steps:
    Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
    Type regsvr32 actxprxy.dll in the Open box, and then click OK.
    If the command was successfully executed, you will receive the message ‘DllRegisterServer in actxprxy.dll succeeded’ window.
    Restart the Internet Explorer
    4.if still not work, run system restore.
    Start>type system restore in the search box>click system restore>follow the steps in the wizard to choose a restore point.
    For more information, please see:
    Nothing happens when you click a link in Internet Explorer
    http://support.microsoft.com/kb/175775/en-us#method4
    Hope this helps,
    Ada Liu
    TechNet Community Support

  • All Web Browsers/Tabs go to blank page after sleep

    My MBP is set to go to sleep after 1 hour of no activity, the problem lies when I wake it back up and log back in (corporate network), every browser, Safari, Firefox, Chrome, all display a blank page, Firefox goes offline as part of this process, and when the wifi comes back online, (Telling Firefox to go back online) I have to refresh every browser and every tab to get my content back, very frustrating.  Chrome displays a page that says "Unable to connect to the Internet"
    Is there another way to fix this?
    Why do the browsers have to go blank?  Why dont they just sit dormant so I can come back to them?

    no issue i think, its normal software issue

  • Sharepoint blank page after login credential

    I am trying to troubleshoot one of our employee's issue with their Sharepoint. Basically when he tries to access our sharepoint through his browser by going to https://sharepoint.companyname.com, after he puts his credential in it just displays a blank page
    he said. Refreshing page did not work, and so as clearing the cache.
    He is trying to access this from his home internet, and I tried to login to my sharepoint at home as well but the page displays just fine. He also said he barely uses it, but he have used it before when he was in the office just fine. He's the only one having
    this issue so I know it could be local to his machine or his home network. He was able to display the page just fine before so I'm not too sure what's preventing the page from displaying after correctly inputting his credentials.
    I tried researching the web but can't find the exact the same scenario, basically it prompts him to input his credentials just fine but after that it would not display the page. Just keep in mind that it USED to display just fine, not too sure what has change.
    Could be his home network? Can you guys help me where to begin troubleshooting thanks.

    Hi thanks for the replying. He did not mention to me if he's getting the login prompt three times. I will confirm it's not something to do with his account. Also he said when he login using Firefox he gets a blank page, but when he uses Explorer he gets
    this....
    This page can't be displayed
    Make sure the web address https://sharepoint.companyname.com is correct.
    Look for the page with your search engine.
    Refresh the page in a few minutes.
    Make sure TLS and SSL protocols are enabled. Go to Tools > Internet Options > Advanced > Settings > Security
    TLS and SSL are both enalbed he said. Any thoughts?
    UPDATE:
    Also I have tried to login with his credential on my machine at home, and it works just fine. So its not his account, I guess its localized to his machine or his home network?

  • When I open Firefox, it goes to a blank page instead of google, like I had it set up. When I go to a bookmark, nothing. It won't load anything. HELP!

    When I open FF, it used to go to google. Now, I just get a blank page with the tab that says, "New Tab". When I click on the home button (suppose to go to google), it will change to "connecting..." for half a second but remain on the blank page returning to "New Tab". It is set to not use a proxy as it should be. It is not set to work offline. I do not have a firewall preventing it from accessing the internet. IE works and I have no problems there.

    hi cnlbell,
    Have you tried going to the General Preferences tab and verifying that google is set as you home page? I'd suggest you try setting about:home as your home page. It's a cool FF page with a google search bar. Then tell Firefox to display your home page on startup. These options are all in the General Preferences panel. Try that and let me know how it goes!
    Hopefully this helps!

Maybe you are looking for