Results 1 to 2 of 2

Thread: Please help me on this.Really need ur help

  1. #1
    Join Date
    Jan 2014

    Please help me on this.Really need ur help

    Friends i have one page in website that simply takes Username and email before providing demo of the course.When user provides his/her name and email id then its taking too long time.Here is the the website of our company

    Please register and check its taking too long time.

    What might be the possible errors. i am also sharing the jsp page that takes username and email
    <title>Knowledge Economy Skill Development E-learning Excellence</title>
    <%String contextpath=request.getContextPath();%>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="<%=contextpath%>/stylesheet/ksd_main.css" type="text/css">
    <link rel="stylesheet" href="<%=contextpath%>/stylesheet/menu_styles.css" type="text/css">

    <body bgcolor="#C1D1F3" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
    <%@ page language="java" import="java.sql.*,java.util.*,java.io.*,javax.mail.*,javax.mail.internet.*,java.util.Date"%>
    <jsp:useBean id="mail" class="Trans.SendMail"/>

    String uname = request.getParameter("nuser");
    String email = request.getParameter("email");
    //String pswd = request.getParameter("npass");
    <div align="center">
    <table border="0" cellpadding="0" cellspacing="0" width="525" height="683" >
    <td width="3" valign="top" rowspan="4">&nbsp;</td>
    <td colspan="10" valign="top" height="550">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="566">
    <td width="10" height="575"></td>
    <td bgcolor="#E3EBFF" valign="top" colspan="3" class="content" height="575">
    <div align="center">
    <table width="100%" border="0" cellspacing="0" cellpadding="2" background="icons/inside1.gif" bgcolor="#E3EBFF" >
    <td valign="top" bgcolor="#E3EBFF" width="70%">

    <form name=demofrm method="post">
    <input type=hidden name=userID value="<%=uname%>" >

    <table width=380 border=0 cellspacing=0 cellpadding=0 align="center" background="<%=contextpath%>/tradefinance/images/BG.gif" height=238>
    <td width=2% valign=top height=6></td>
    <td height=6 colspan="3"><img src="<%=contextpath%>/layout_images/blank.gif" width=1 height=1></td>
    <td width=3% valign=top height=6></td>
    <td height="78" valign="top" width="2%" align="left">&nbsp;</td>
    <td valign=top width="3%">
    <table width="98%" border="0" cellpadding=3 cellspacing=0>
    <td valign="top"> </td>
    <td valign=top width="87%">
    <table border="0" cellpadding="2" cellspacing="0" width="93%">
    <tr align="center" bgcolor="#E3EBFF">
    <td valign="top" colspan="3" class="f2" height="23"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#336699"></font></td>
    <tr bgcolor="#E3EBFF">
    <td valign="top" align="left" colspan="3" class="f2" height="23">&nbsp;</td>
    <td valign="top" align="left" width="37%" class="f2" height="32" nowrap bgcolor="#E3EBFF"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#336699">User
    <td valign="top" colspan="2" nowrap bgcolor="#E3EBFF" ><b><font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="2"><%=uname%></font></b>
    <td valign="top" align="left" height="32" class="f2" width="37%" nowrap bgcolor="#E3EBFF"><font color="#336699" size="2" face="Verdana, Arial, Helvetica, sans-serif">E-mail:</font></td>
    <td valign="top" colspan="2" nowrap bgcolor="#E3EBFF" ><b><font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="2"><%=email%></font></b>

    <tr align="left" bgcolor="#E3EBFF">
    <td valign="top" height="3" class="f2" colspan="3" nowrap></td>
    <tr align="center" bgcolor="#E3EBFF">
    <td valign="top" height="32" class="f2" colspan="3" nowrap><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#336699">Please
    Click <a href="#" onclick="window.open('<%=contextpath%>/tradefinance/coursedemo.jsp','democourse','location=0,toolbar=0,menubar=0,scrollbars=0,resizable=yes,status=0,hei ght=600,width=800,top=0,left=0')"><font color="#FF0000"><b>
    here</b></font></a> to Access Sample Course</font><font face="Verdana,Geneva,Arial,Helvetica,sans-serif" color=red size=2></font>
    <td height="0" width="37%"></td>
    <td width="10%"></td>
    <td width="53%"></td>
    <td valign=top width="5%">&nbsp;</td>
    <td valign="top" width="3%"></td>
    <td height=14 valign=bottom width="2%"></td>
    <td valign=bottom height="14" colspan="3"></td>
    <td valign=bottom width="3%" height="14"></td>
    //getting the user name and the employee name using the session to pass to the send mail .
    //String empname =(String)session.getValue("employeename",empname);
    //String uname = (String)session.getValue("uname",uname);
    String empname = "information";
    String receiverMail="information";

    //passing the host ip address

    String host="";

    //creating a date obj to return an sysdate that is passed in the mail
    Date date=new Date() ;

    //passing the ip address of the host as an parameter to the setHost method

    //passing the subject to the mail and calling that method from the bean
    mail.setSubject("UCP600, Demo Product Registration details");

    //set the sender email address and the receiver address in a variable and pass that asthe parameter to the "from" and "to" method
    String sender_email=(empname+"@kesdee.com");
    String receiver_email=(receiverMail+"@kesdee.com");

    //setting the parameter to the "from" and "to" methods in the bean
    String fontag="</font>";
    //passing the main message to the mail and calling that method from the bean
    //mail.setMessage("Dear Sir,"+\n\n\n+"There is a new registration in UCP600 DEMO PRODUCT,"+\n\n+"Username:"+uname+\n\n\n+"mailId Is:"+email);
    String msg = "<table width=\"80%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" >";
    msg = msg + "<tr><td>&nbsp;</td></tr>";
    msg = msg + "<tr><td></td></tr>";
    msg = msg + "<tr><td><font face=verdana size=2>Dear Sir,</font></td></tr>";
    msg = msg + "<tr><td height=5></td></tr><tr> <td><font face=verdana size=2>There is a new registration in DEMO Products, the details are as follows</font></td></tr>";
    msg = msg + "<tr><td height=5></td></tr><tr><td><font face=verdana size=2>Username:&nbsp;"+uname+fontag+"</td></tr><tr> <td><font face=verdana size=2>mailID:&nbsp;"+email+fontag+"</td></tr><tr> <td height=7></td></tr>";
    msg = msg + "<tr><td height=7></td></tr><tr><td><font face=verdana size=2>Thanks and Regards,</font></td></tr><tr><td><font face=verdana size=2>KESDEE Support Team</font></td></tr>";
    msg = msg + "</table>";

    //Calling the method sendMail() of the bean ErrorSendMail
    String geta=mail.sendMail();
    catch(Exception e)

    <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FF6600">Error
    please try again <a href="javascript:window.history.back();">Back</a></font></td>

    <td width="3" height="575"></td>
    <td height="2" colspan="10">


  2. #2
    Join Date
    Nov 2002
    Flint, Michigan, USA
    You have sixty errors on that page. It might be a lot faster if you fix them. See them here:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.15050 seconds
  • Memory Usage 2,868KB
  • Queries Executed 13 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (2)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates