Weblogic puts header information in response
Hi,
I am using weblogic 5.1 sp10 in a clustered environment.
When I hit any jsp for the first, I see http header information
in the generated html page.This happens in once.
Has anyone faced this problem before ? Or there is something
wrong with my jsp's.
Thanks,
Umesh
Double check which libproxy.so you are using. Our instance that was doing this
was using libproxy.so from sp10 - of WLS 4.5.1 (oops). We have just replaced
it with sp10 from WLS 5.1.0. I will post here if the problem persists.
Mike
Umesh Kudtarkar <[email protected]> wrote:
>recently we moved to sp10 from sp8. We never faced this problem with
>sp8.
>I am not sure this is something to do with sp10.As you mentioned this
>problem is intermittent.
>
>Mike Reiche wrote:
>
>> Yes, we have seen it often but inconsistently in a test environment.
>We have NES
>> 3.6, WL 5.1 SP 8,9 or 10 - I'm not sure which - we have serveral environments.
>> I only heard about it today.
>>
>> Mike
>>
>> Umesh Kudtarkar <[email protected]> wrote:
>> >Hi,
>> >I am using weblogic 5.1 sp10 in a clustered environment.
>> >When I hit any jsp for the first, I see http header information
>> >in the generated html page.This happens in once.
>> >Has anyone faced this problem before ? Or there is something
>> >wrong with my jsp's.
>> >
>> >Thanks,
>> >Umesh
>> >
>
Similar Messages
-
Putting header information on access log files
Can anybody suggest how to put a Apache Extended with Cookies LogFormat(i.e. "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"{User-Agent} i\"\"{Cookie}i\"") information in access log file headers in Oracle10g application server probably for webcache. I also want to know the location in which and where this configuration files resides.
Thanks,
KamalAre You using IronPort URL Filters or Cisco IronPort Web Usage Controls.
I'm using Cisco IronPort Web Usage Controlsand it shows:
IW_csec,-,"Unknown","-","Unknown","Unknown","-","-",462.00,0,-,"-","-">
Seems Your does not handle categorization and skips that part. -
Selectively overflowing header information
Hi Everyone,
Currently we are working on a Form in 11.3 which can span into multiple pages. We have a requirement to print header information(approx 4 lines of data in a regular 10 pt font) on the form like policy number, date etc. Per our requirement, we need to print this header only on the odd number pages. On the even pages, the header shouldnt appear.
For accomplishing this we have the tried the following options
Option A
1) We have set copyonoverflow for the Header image. In this way the header image would automatically print on all the different pages
2) We have used a posttrans dal to delete this header image only on the even pages.
The problem with this approach is that when the image is deleted, it leaves a empty space on the top of the even page which makes the o/p look bad.
Option B
We removed the header image from the form during design time. We tried to dynamically add the header image only on the odd numbered pages in posttransdal, again the issue here is that eventhough we add the image, it is just getting overlayed on the existing page. We are not in a position to dynamically shift the remaining contents of the page down. Also this form is totally a dynamic form and we cant just like that shift the remaining contents beneath this header using options like setimage position.
Option C
We tried to put a logic in the header section level trigger/field within the header image. The issue here is that the logic is getting executed only once. If the logic returns true once, the image by default gets copied on all the overflow pages. What I am trying to say here is that eventhough the header image gets copied on overflow multiple times, the DAL associated with the header gets executed only once.
Could you please let us know if we can try any other option for accomplishing this requirement.
Thanks!Thanks for the quick response. As I had specified, the piece of data that I need to display on the header consists of 4 lines. Through POSTTRANS DAL when we add the image, we can just do a overlay of the header image on a existing page.
If the image I am trying to add is of lesser size, then this procedure is fine and there would not be any major issues in the o/p. But the problem with us is that the image that we are trying to add dynamically, atleast occupies more than a inch to inch and a half of space. So we cannot just like that overlay the data.
If the header image is of lesser size then we can just reserve this space during Form design time, so that the extra image can just be overlayed during post transaction. If I dont reserve the space and make everything dynamic then we would have to add the extra image and then move all the images below it using some sought of setpos rules, which makes the form logic very complex. -
How can I include the Header Information....for a File to IDOC Scenario
Hi,
I made a File to IDOC Scenario with DEBMDM06 for MDM>XI>SAP R/3. The Header Information in the XML File which is at the XI end is Missing. For that reason In Tcode SXMB_MONI we are getting an Error that <b>"HEADER Information Missing: Message should Start with EDI_DC40"</b> i.e the Header Information.
My Question is that whether we can do some changes in the Message mapping Step in the Integration Repository. I HardCoded the Few mandatory Fields that were there but it Again gave me the Same Error as above.
Can you please Suggest some Solution for this. Since the data is Coming in from MDM part the Header information is not there but It actually Important as it has got all the Port Information.
Kindly Inform me some Solutions.
Thanks & Regards
SomnathHi Suraj,
Thanks for ur Reply, but Since we are Doing a File to IDOC Scenario the IDOC DEBMDM is on the Right Side in Message Mapping and as U know it is Mandatory to Map an IDOC on the Right Part. EDI_DC40 is coming as it is there in the IDOC but our XML File Does not have that. If we Don't Map then it Becomes RED, which is an Error.
Furthermore in the Receiver Agreement we have put the Necessary Details such as Sender Service and Receiver Service along with the IDOC Communication Channels.
Can U give as a Better Insight on this Note how to check the Header Part as it is mandatory to MAP.We also tried to HARDCODE it by putting those Values and Mapping them to a Constant but it is Giving the Same Error.
Thanks and Regards
Somnath -
Not getting header of HTTP Response in Netweaver 7.1
Hello,
I m trying to use HttpURLConnection to authenticate with some site. I m able to send the request and recieve the response from the server. But I m not getting the header of the response. When I do it as simple java application everything works fine but when I deploy it as EJB on Netweaver 7.1, I m not getting the header information from the response.
my code:
URL url = new URL(Some URL);
HttpURLConnection conn = (HttpURLConnection )url.openConnection();
conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
conn.setRequestMethod("GET");
conn.setInstanceFollowRedirects(true);
conn.setUseCaches(false);
conn.setDoOutput(true);
OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
wr.write(some data);
sessionID = getSessionID(conn);
wr.flush();
// Get the response
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String resultXML = "";
String line;
while ((line = rd.readLine()) != null) {
resultXML += line;
Above I m getting the reponse from the site. But the header is not present in that response.
So when I use conn.getHeaderFields() I get emply Map.Hi Naveen,
Please follow steps for deploying the application.
1)open SAPMMC.
2)You will see three green folder name and last two will contain some one digit number in last.
3)Please note down these numbers say 1 and 2 (instance number).
4)Open developer studio.
5)now navigate to windows->preferences->SAP AS JAVA
6)If any thing is listed under SAP System Instances please remove by clicking on Remove SAP System.
7)Now under SAP Instance Identity, enter 1(see step 3) for Instance number and IP address of your machine/ where SAPMMC is installed.
8)Click on Register SAP Instance and press OK.
I hope It will help you.
Kind regards
Sarsij -
What I did is that I copy all codes from FBL1N to Z* for me to modify and put header on its report, And these error occur "The type syldb_sp is unknown" I already activate the include where this type was used. Is there anything I need to do more?
Need help badly.Thank you for your response, I followed your suggestion and it works, Im just wondering why the declaration of types was not inlcuded, Because I just copy all codes from FBL1N to my Z* program. Like what happen now after correcting that error, other variables are not declared so it was unknown. Im expecting that it will work because I just copied all codes.
SE38>FBL1N>Ctrl A--> copy all codes (This is the way I copied the codes)
Then create Z* program and paste all copied codes.
Hope you can give me clarification on this matter because Im confused.
Thank you in advance
Morris
Edited by: Morris Martin Bongas on Nov 18, 2009 6:21 AM -
Order Management: Additional Header Information
dears,
we recive the following error "values have not been entered for one or more required segments sales order" we tried to but the flexfileds not requerd but still the same we recive the error we also tried to put default value for the flexfiled but we also recive the error
any hint
fadiFadi,
I am sorry I got confused. I read this post as Additional "Order" Information where you are referring to Additional "header" information.
As this is DFF, and you have set this up as required, did you enter a value in the DFF segment that is required. If yes, you should be able to proceed. If you do not want this segment to be populated, may be you need to make this segment not required in the Additional Header Information DFF.
Thanks
Nagamohan -
Cannot Modify Header Information Errors
Hello all,
I am working on building an members only area to my website, and have used the "turorial" provided in dreamweaver help. After creating the pages though I am encountering erros which I believe have to do with the redirecting.
On my registration page (www.hondovfd.org/newsite/register.php) I am getting the error:
Warning: Cannot modify header information - headers already sent in /var/home/hondovfd/hondovfd.org/www/newsite/register.php on line 50
The registration goes through, as I can see it in my database, but the error prevents anything further.
On my login page (www.hondovfd.org/newsite/login.php) I immediatly get these two errors when loading the page:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 1074249146
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/home/hondovfd/hondovfd.org/www/newsite/login.php:1074249146) in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 1074249146
And once I enter a valid username/password this error is also added:
Warning: Cannot modify header information - headers already sent by (output started at /var/home/hondovfd/hondovfd.org/www/newsite/login.php:1074249146) in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 68
If you would like to try and diagnose the username/password I have been using is"test" for both fields.
Anyone have any ideas why this is occuring?
Thanks,
DavidHere is the code from my login page:
<?php virtual('/newsite/Connections/hondovfd.php');?>
<?php if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
?>
<?php
// *** Validate request to login to this site.
if (!isset($_SESSION)) {
session_start();
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($_GET['accesscheck'])) {
$_SESSION['PrevUrl'] = $_GET['accesscheck'];
if (isset($_POST['username'])) {
$loginUsername=$_POST['username'];
$password=$_POST['password'];
$MM_fldUserAuthorization = "";
$MM_redirectLoginSuccess = "/newsite/membersonly.php";
$MM_redirectLoginFailed = "/newsite/loginfailed.html";
$MM_redirecttoReferrer = true;
mysql_select_db($database_hondovfd, $hondovfd);
$LoginRS__query=sprintf("SELECT username, password FROM login WHERE username=%s AND password=%s",
GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
$LoginRS = mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrGroup = "";
//declare two session variables and assign them
$_SESSION['MM_Username'] = $loginUsername;
$_SESSION['MM_UserGroup'] = $loginStrGroup;
if (isset($_SESSION['PrevUrl']) && true) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
header("Location: " . $MM_redirectLoginSuccess );
else {
header("Location: ". $MM_redirectLoginFailed );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="Title" -->
<title>Login</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
<meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
<link href="/newsite/stylesheet.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
<style type="text/css">
#mainContent, #sidebar1 { zoom: 1;}
</style>
<![endif]-->
<script src="/newsite/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="/newsite/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColLiqHdr">
<div id="container">
<div id="header"></div>
<div id="sidebar1">
<h3>Navigation : </h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="/newsite/index.html">Home</a></li>
<li><a href="/newsite/support.html">Support Hondo</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
<ul>
<li><a href="/newsite/people.html">Our People</a></li>
<li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
<li><a href="/newsite/medical.html">Medical</a></li>
<li><a href="/newsite/apparatus.html">Apparatus</a></li>
<li><a href="/newsite/training.html">Training</a></li>
<li><a href="/newsite/volunteer.html">Volunteer</a></li>
<li><a href="/newsite/statistics.html">Statistics</a></li>
<li><a href="/newsite/patchtrading.html">Patch Trading</a></li>
</ul>
</li>
<li><a href="#">Photo Gallery</a></li>
<li><a href="/newsite/calendar.html">Calendar</a></li>
<li><a href="/newsite/news.html">Blog/News</a></li>
<li><a href="/newsite/links.html">Links</a></li>
<li><a href="/newsite/contact.html">Contact Us</a></li>
</ul>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span class="lefttext">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8567201">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</img></input></input>
</span>
</form>
<span class="lefttext"><br />
</span>
<center>
<span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
</center>
<!-- end #sidebar1 --></div>
<div id="sidebar2">
<p>Call Statistics for November</p>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%">EMS Calls</td>
<td width="40%">##</td>
</tr>
<tr>
<td>Fire Calls</td>
<td>##</td>
</tr>
<tr>
<td>Other Calls</td>
<td>##</td>
</tr>
</table>
<hr />
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function(){
new google.search.CustomSearchControl().draw('cse');
}, true);
</script>
<!-- End Google Search Element -->
</div>
<!-- end #sidebar2 -->
<div id="mainContent">
<div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" class="h2">Members Only Login</td>
</tr>
<tr>
<td><form id="login" name="login" method="POST" action="<?php echo $loginFormAction; ?>">
<table width="40%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%">Username:</td>
<td width="69%"><input name="username" type="text" /></td>
</tr>
<tr>
<td>Password</td>
<td><input name="password" type="password" /></td>
</tr>
</table>
<input name="Submit" type="submit" />
</form></td>
</tr>
</table>
<!-- InstanceEndEditable -->
</div>
<div class="bottom"></div>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
<div id="footer">
<p align="center">© Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>
Here is the code from my registration page:
<?php virtual('/newsite/Connections/hondovfd.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
// *** Redirect if username exists
$MM_flag="MM_insert";
if (isset($_POST[$MM_flag])) {
$MM_dupKeyRedirect="/newsite/registerinvalidusername.html";
$loginUsername = $_POST['username'];
$LoginRS__query = sprintf("SELECT username FROM login WHERE username=%s", GetSQLValueString($loginUsername, "text"));
mysql_select_db($database_hondovfd, $hondovfd);
$LoginRS=mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
//if there is a row in the database, the username was found - can not add the requested username
if($loginFoundUser){
$MM_qsChar = "?";
//append the username to the redirect page
if (substr_count($MM_dupKeyRedirect,"?") >=1) $MM_qsChar = "&";
$MM_dupKeyRedirect = $MM_dupKeyRedirect . $MM_qsChar ."requsername=".$loginUsername;
header ("Location: $MM_dupKeyRedirect");
exit;
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO login (username, password, email, name) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_POST['username'], "text"),
GetSQLValueString($_POST['password'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['name'], "text"));
mysql_select_db($database_hondovfd, $hondovfd);
$Result1 = mysql_query($insertSQL, $hondovfd) or die(mysql_error());
$insertGoTo = "/newsite/registersuccess.html";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO login (username, password, email, name) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_POST['username'], "text"),
GetSQLValueString($_POST['password'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['name'], "text"));
mysql_select_db($database_hondovfd, $hondovfd);
$Result1 = mysql_query($insertSQL, $hondovfd) or die(mysql_error());
$insertGoTo = "/newsite/registersuccess.html";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location:", $insertGoTo));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="Title" -->
<title>Register</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
<meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
<style type="text/css">
#mainContent, #sidebar1 { zoom: 1;}
</style>
<![endif]-->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColLiqHdr">
<div id="container">
<div id="header"></div>
<div id="sidebar1">
<h3>Navigation : </h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="/newsite/index.html">Home</a></li>
<li><a href="/newsite/support.html">Support Hondo</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
<ul>
<li><a href="/newsite/people.html">Our People</a></li>
<li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
<li><a href="/newsite/medical.html">Medical</a></li>
<li><a href="/newsite/apparatus.html">Apparatus</a></li>
<li><a href="/newsite/training.html">Training</a></li>
<li><a href="/newsite/volunteer.html">Volunteer</a></li>
<li><a href="/newsite/statistics.html">Statistics</a></li>
<li><a href="/newsite/patchtrading.html">Patch Trading</a></li>
</ul>
</li>
<li><a href="#">Photo Gallery</a></li>
<li><a href="/newsite/calendar.html">Calendar</a></li>
<li><a href="/newsite/news.html">Blog/News</a></li>
<li><a href="/newsite/links.html">Links</a></li>
<li><a href="/newsite/contact.html">Contact Us</a></li>
</ul>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span class="lefttext">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8567201">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</img></input></input>
</span>
</form>
<span class="lefttext"><br />
</span>
<center>
<span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
</center>
<!-- end #sidebar1 --></div>
<div id="sidebar2">
<p>Call Statistics for November</p>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%">EMS Calls</td>
<td width="40%">##</td>
</tr>
<tr>
<td>Fire Calls</td>
<td>##</td>
</tr>
<tr>
<td>Other Calls</td>
<td>##</td>
</tr>
</table>
<hr />
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function(){
new google.search.CustomSearchControl().draw('cse');
}, true);
</script>
<!-- End Google Search Element -->
</div>
<!-- end #sidebar2 -->
<div id="mainContent">
<div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" class="h2">Create an Account</td>
</tr>
<tr>
<td><p>Please fill in the following information to create an account:</p>
<form action="<?php echo $editFormAction; ?>" id="form1" name="form1" method="POST">
<table width="53%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="38%">Name</td>
<td width="62%"><input name="name" type="text" /></td>
</tr>
<tr>
<td>E-Mail Address</td>
<td><input name="email" type="text" /></td>
</tr>
<tr>
<td>Desired Username</td>
<td><input name="username" type="text" /></td>
</tr>
<tr>
<td>Desired Password</td>
<td><input name="password" type="password" /></td>
</tr>
</table><input name="submit" type="submit" />
<input type="hidden" name="MM_insert" value="form1" />
</p></form></td>
</tr>
</table>
<!-- InstanceEndEditable -->
</div>
<div class="bottom"></div>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
<div id="footer">
<p align="center">© Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>
Dreamweaver also created this file: hondovfd.php
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_hondovfd = "localhost";
$database_hondovfd = "hondovfd_org";
$username_hondovfd = "silver";
$password_hondovfd = "m3d1c4u2c";
$hondovfd = mysql_pconnect($hostname_hondovfd, $username_hondovfd, $password_hondovfd) or trigger_error(mysql_error(),E_USER_ERROR);
?> -
Can I avoid repeating heading information?
Can I avoid repeating heading information if repeated in a same page.
This occurs due to group on a field which causes it to display again heading information. The heading information should be displayed only once on each page.
How can I avoid this?
Thanx
Regards,
VikasHi,
Create another repeating frame as parent frame of current repeating frame, and with same source. Then put all heading in this parent frame, set Maximum Record per Page = 1. -
Header information not getting displayed in the lines
Hello Everyone
I have a very basic question - its very simple but not working for me with so many attempts
My XML structure looks like this . In the RTF , I have header information and then a table for line information looping through G_LINES.
IN this lines table I need the SHIP_CUSTOMER_ID of the header to be displayed. I have tried all options like <?../SHIP_CUSTOMER_ID?> or <?../G_ORDERS/SHIP_CUSTOMER_ID?> , however nothing seems to be working and I am not getting the field to be displayed. Can someone please help?
XML structure is as follows:
<XXSTOL_29251_PICK_TKT>
<LIST_G_ORDERS>
<G_ORDERS>
<CUSTOMER_NUMBER>1411</CUSTOMER_NUMBER>
<SHIPPING_INSTRUCTIONS1></SHIPPING_INSTRUCTIONS1>
<SHIP_CUSTOMER_ID>256</SHIP_CUSTOMER_ID>
<G_LINES>
</G_LINES>
<G_LINES>
</G_LINES>
</G_ORDERS
</LIST_G_ORDERS>
</XXSTOL_29251_PICK_TKT>Are you grouping within G_LINES? If so, use ../../SHIP_CUSTOMER_ID
or send me the xml and RTF template to [email protected] so that I can get a better look at the data structure and try to help.
Thanks,
Bipuser -
Header Information Repeating in the Same Page
Hi Buddies,
I have an issue with PO Print Report. I am trying to reapet the header information by using <?start:body?> after the header informaiton and <?end body?> before the footer informaiton.
If i have two different headers, it displayed in the same page. For e.g I have po header details for PO 30124 and PO 30124-1. These two headers information displaying in all the pages and main body and footer informations goes to the next page.
pls guide me how to solve this one?
Regards
PrabuHi,
Are you saying that you need conditional headers? If so, then use <?IF ...> statements.
If your footer is not working correctly make sure your syntax is correct?
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
Error says: Warning: Cannot modify header information
I keep receiving an error message after my form is sent (the form still send the information I need just wont re-direct to the next page)
It redirects to a page that says:
Warning: Cannot modify header information - headers already sent by (output started at /home/tommyle/public_html/newp.php:10) in /home/tommyle/public_html/newp.php on line 41
my php code looks like this:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Tommy Lemonade Beta</title>
<link href="style1.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php
/* Set e-mail recipient */
$myemail = "profiles@tommylemonade";
/* Check all form inputs using check_input function */
$name = check_input($_POST['name'], "Enter your name");
$subject = check_input($_POST['subject'], "Enter a subject");
$email = check_input($_POST['email']);
$message = check_input($_POST['message'], "Write your message");
/* If e-mail is not valid show error message */
if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
show_error("E-mail address not valid");
/* Let's prepare the message for the e-mail */
$message = "
Name: $name
E-mail: $email
Subject: $subject
Message:
$message
/* Send the message using mail() function */
mail($myemail, $subject, $message);
/* Redirect visitor to the thank you page */
header('Location: thanks.html');
exit();
/* Functions we used */
function check_input($data, $problem='')
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
if ($problem && strlen($data) == 0)
show_error($problem);
return $data;
function show_error($myError)
?>
<html>
<body>
<p>Please correct the following error:</p>
<strong><?php echo $myError; ?></strong>
<p>Hit the back button and try again</p>
</body>
</html>
<?php
exit();
?>
</body>
</html>
This is line 41:
header('Location: thanks.html');
Can anybody see what I'm missing?Yeah, rework the code so you don't get any output before the php code is executed (like below):
<?php
/* Set e-mail recipient */
$myemail = "profiles@tommylemonade";
/* Check all form inputs using check_input function */
$name = check_input($_POST['name'], "Enter your name");
$subject = check_input($_POST['subject'], "Enter a subject");
$email = check_input($_POST['email']);
$message = check_input($_POST['message'], "Write your message");
/* If e-mail is not valid show error message */
if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
show_error("E-mail address not valid");
/* Let's prepare the message for the e-mail */
$message = "
Name: $name
E-mail: $email
Subject: $subject
Message: $message
/* Send the message using mail() function */
mail($myemail, $subject, $message);
/* Redirect visitor to the thank you page */
header('Location: thanks.html');
exit();
/* Functions we used */
function check_input($data, $problem='')
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
if ($problem && strlen($data) == 0)
show_error($problem);
return $data;
function show_error($myError)
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Tommy Lemonade Beta</title>
<link href="style1.css" rel="stylesheet" type="text/css">
</head>
<body>
<p>Please correct the following error:</p>
<strong><?php echo $myError; ?></strong>
<p>Hit the back button and try again</p>
</body>
</html>
<?php
exit();
?> -
I want to put header while stroing file in application server
Hi Guru,
Can anybody tell how to put header while stroing file in application server.
in the below pgm data is coming i want to put heading .if we see in al11 transaction the header should come .plese give on eg in the code itself.its urgent
eg:
material number
100
200
declarations...................................................
tables: bkpf. " Accounting Document Header
*"Selection screen elements............................................
parameters:
p_burks like bkpf-bukrs. " Company Code
select-options:
s_gjahr for bkpf-gjahr. " Fiscal year
Type declaration of the structure to hold Accounting Document Header*
data:
begin of fs_bkpf,
bukrs type bkpf-bukrs, " Company Code
belnr type bkpf-belnr, " Accounting Document Number
gjahr type bkpf-gjahr, " Fiscal year
blart type bkpf-blart, " Document type
bldat type bkpf-bldat, " Document date in document
end of fs_bkpf.
Internal table to hold Accounting Document Header *
data:
t_bkpf like standard table
of fs_bkpf.
Type declaration of the structure to hold file data *
data:
begin of fs_table,
str type string,
end of fs_table.
Internal table to hold file data *
data:
t_table like standard table
of fs_table.
field-symbols: <fs>.
*" Data declarations...................................................
Work variables *
data:
w_char(50) type c,
w_file_name(50) type c value 'YH645_050103'.
select bukrs " Company Code
belnr " Accounting Document Number
gjahr " Fiscal year
blart " Document type
bldat " Document date in document
from bkpf
into table t_bkpf
where bukrs eq p_burks
and gjahr in s_gjahr.
if sy-subrc eq 0.
loop at t_bkpf into fs_bkpf.
do.
assign component sy-index of structure fs_bkpf to <fs>.
if sy-subrc ne 0.
exit.
else.
move <fs> to w_char.
if sy-index eq 1.
fs_table-str = <fs>.
else.
concatenate fs_table-str ',' w_char into fs_table-str.
endif. " IF SY-INDEX...
endif. " IF SY-SUBRC...
enddo. " DO...
append fs_table to t_table.
endloop. " LOOP AT T_KNA1...
endif. " IF SY-SUBRC...
open dataset w_file_name for output in text mode encoding default.
loop at t_table into fs_table.
transfer fs_table-str to w_file_name.
endloop. " LOOP AT T_TABLE...Hi,
may i know what kind of heading you want to display?
like date, filename, time etc
then modify the below code:
*& Form send_statistic
Create the status Report on application Server
---> pv_rlines - Total No of Records in Internal table *
---> pv_slines - Total No of Successful records *
---> pv_elines - Total No of Errornous records *
---> pv_path - File Path where the file to be created *
---> pv_flag - Flag to check for A/c group *
FORM sub_send_statistic USING pv_rlines TYPE int4
pv_slines TYPE int4
pv_elines TYPE int4
pv_path TYPE salfile-longname
pv_name TYPE rlgrap-filename
pv_flag TYPE char1.
CLEAR : i_tab,
wa_tab.
Convert date to MM/DD/YYYY format
PERFORM date_convert.
Convert Time to HH:MM:SS format
CONCATENATE sy-uzeit+0(2)
c_colon
sy-uzeit+2(2)
c_colon
sy-uzeit+4(2)
INTO v_time1.
Build the Output File name
IF p_sold = c_x
AND pv_flag = c_x.
CONCATENATE c_objid
c_us
c_z001
c_us
sy-datum
c_us
sy-uzeit
INTO v_file.
ENDIF. " IF p_sold = c_x
IF p_cons = c_x.
CONCATENATE c_objid
c_us
c_z008
c_us
sy-datum
c_us
sy-uzeit
INTO v_file.
ELSEIF p_sold = c_x
AND pv_flag <> c_x.
CONCATENATE c_objid
c_us
sy-datum
c_us
sy-uzeit
INTO v_file.
ENDIF. " IF p_cons = c_x
Build the Complete Output File Path
CONCATENATE pv_path
c_slash
v_file
INTO v_outfile.
Populate the data required for output into an internal table and
then transfer the table contents to file on application server
DATA UPLOAD STATISTICS
wa_tab-rec = text-001.
APPEND wa_tab TO i_tab.
CLEAR wa_tab.
TITLE
IF p_sold = c_x
AND pv_flag <> c_x.
sy-title = text-t17.
ENDIF. " IF p_sold = c_x
IF p_sold = c_x
AND pv_flag = c_x.
sy-title = text-t16.
ENDIF. " IF p_sold = c_x
IF p_cons = c_x
AND pv_flag = c_x.
sy-title = text-t19.
ENDIF. " IF p_cons = c_x
wa_tab-rec+0(7) = text-002.
wa_tab-rec+7(60) = sy-title.
APPEND wa_tab TO i_tab.
CLEAR wa_tab.
Date & Time
wa_tab-rec+0(5) = text-012.
CONDENSE v_date NO-GAPS.
wa_tab-rec+6(10) = v_date.
wa_tab-rec+60(10) = text-003.
wa_tab-rec+70(15) = v_time1.
APPEND wa_tab TO i_tab.
CLEAR wa_tab.
Folder Name
wa_tab-rec+0(18) = text-005.
wa_tab-rec+19(72) = pv_path.
APPEND wa_tab TO i_tab.
CLEAR wa_tab.
File Name
wa_tab-rec+0(18) = text-006.
---Begin of addition -Shivakumar - 09-05-2007--
wa_tab-rec+19(72) = pv_name.
---Begin of addition -Shivakumar - 09-05-2007--
APPEND wa_tab TO i_tab.
CLEAR wa_tab.
Records Read
CLEAR v_count.
v_data = pv_rlines.
v_count = STRLEN( v_data ).
CONDENSE v_data NO-GAPS.
wa_tab-rec+0(46) = text-007.
wa_tab-rec+47(4) = v_data.
APPEND wa_tab TO i_tab.
CLEAR : wa_tab,
v_data.
Successfull Records
CLEAR v_count.
v_data = pv_slines.
v_count = STRLEN( v_data ).
CONDENSE v_data NO-GAPS.
wa_tab-rec+0(46) = text-008.
wa_tab-rec+47(4) = v_data.
APPEND wa_tab TO i_tab.
CLEAR : wa_tab,
v_data.
Error Records
CLEAR v_count.
v_data = pv_elines.
v_count = STRLEN( v_data ).
CONDENSE v_data NO-GAPS.
wa_tab-rec+0(46) = text-009.
wa_tab-rec+47(4) = v_data.
APPEND wa_tab TO i_tab.
CLEAR : wa_tab,
v_data.
v_mesg = text-t04.
IF p_sold = c_x
AND pv_flag <> c_x.
MOVE i_tab TO i_file.
ENDIF. " IF p_sold = c_x
IF p_sold = c_x
AND pv_flag = c_x.
MOVE i_tab TO i_file1.
ENDIF. " IF p_sold = c_x
IF NOT i_tab IS INITIAL.
Open the file on Application server to write the report
OPEN DATASET v_outfile
FOR OUTPUT IN TEXT MODE
ENCODING DEFAULT MESSAGE v_mesg.
IF sy-subrc <> 0.
MESSAGE e000(zconversions) WITH v_mesg.
ELSE. " IF sy-subrc <> 0
Transfer details to the file on application server
CLEAR wa_tab.
LOOP AT i_tab INTO wa_tab.
TRANSFER wa_tab-rec TO v_outfile.
CLEAR wa_tab.
ENDLOOP. " LOOP AT i_tab INTO wa_tab
Close the file
CLOSE DATASET v_outfile.
ENDIF. " IF sy-subrc <> 0
ENDIF. " IF NOT i_tab IS INITIAL
ENDFORM. " Create_Report -
Missing header information on a pdf image?
How do I ensure the header information is on my pdf image
I'm not aware of any apps that edit PDF documents. Many that let you edit word documents, but unfortunately, not PDF's.
-
Header information not displaying in ABAP Webdynpro record working time
1. I am not seeing the header information, personnel number, name, cost center, on the ABAP Webdynpro record working time timesheet. When I run the timesheet profile in CAT2 the header contains the personnel number, name, cost center, but these do not display when the ABAP Webdynpro timesheet is run
2. Is there a version of the ABAP webdynpro timesheet that prompts for the personnel number, date and profile prior to executing the timesheet? I want to define an ESS link for managers to update timesheets of individual teammates. The teammate do not necessarily have to be their direct reportsHi David,
CATS Webdynpro application is a OIF fpm. Please check if you have performed the FPM IDR configuration properly.
In standard, the ESS CATS does not prompt for the personnel number except in CE scenario. In MSS addon, you have an option to launch the ESS CATS application on-behalf of the employee. Please refer to the sap library documentation.
Hope this helps,
Regards,
Roy
Maybe you are looking for
-
hey, i recently got a new 11.6" MacBook Air with 2gb ram and i was wondering if it was possible to add 2 more gb of ram ??
-
Hello Everybody, Can someone tell me what is the difference between Infoset and Query in R/3? Can you also tell me how and where we can create them, in detailed steps? All the help is appreciated. Thanks, Sneha Singh.
-
HT202159 no resume button ? help
I purchased 10.8 dowmload fails with "an error has occurred" there is a grey button but no resume text on the button relaunching, restarting, waiting 3 hours trying again - all failed. Tried Apple support and was directed here. Thanks in anticipatio
-
IMovie movies saved (or converted) into other formats?
Is there an easy way to get iMovie files to save as .mpe, .mpg, .mpeg, .dat, or .vob? I looked at all the output types and didn't see any of these. I don't use iMovie very much, so I don't know a lot about it. Thank you in advance for any help. Melan
-
Audio Device Unavailable (LINUX)
When trying any of several pure Java ogg decoders, I get this error: "javax.sound.sampled.LineUnavailableException: Audio Device Unavailable" Google turns up many people with the same problem, but no solutions. (Forcing my users to disable artsd is n