Send HTML data
Hi Everyone,
I am working in flash chat in that I need font type,size and color for typed text. how to send the html data from client to server and get back for client.
Thanks in advance.
Saransoft
The best solution really depends on the application. I often send the htmlText value of the chat input field instead of the text value. That way, the formatting travels with the message.
Similar Messages
-
How to send HTML as message body using SMTP
I need to send HTML formatted emails. I used the Report Generation Toolkit to build my HTML document and make sure I had all of the formatting right. Then I modified the Save Report To File.vi to also give me the HTML text string on an output connector and I wire this string to the message input on the SMTP Email Send Message.vi.
I receive the email OK, but all I see is the HTML code in the message body. What can I do to make sure that the email displays the message correctly.
I use Outlook and I know it will receive and display HTML emails, I get them all the time.
I would appreciate any help.Hi Dgw,
it is similar. You must change message MINE content-type to "text/html" type. Because everyone document in email protocol have set MINE content-type. It is inforamtion for email servers and for email cients (Thunderbird, Outlook and etc.)
For sendning mail with attachments you must use and modified "SMTP Send Multiple Attachments.vi" - if you can do backup of this VI and subVIs. Open Diagram of "SMTP Send Multiple Attachments.vi" after "SMTP Send Multiple
Attachments Message.vi" and ther is VI "MIME Send Data Attachment.vi" - have control "MIME content-type" but code from NI don't use it.
And like as my previous message, create new string control "MINE content-type" and take out this control to "main" Email VI.
And embedd
ed file you set up in control-cluster "attachments". I don't test it, but I mind thet must working :-)
Have nice day
JCC
Attachments:
email.jpg 70 KB -
Send HTML as attachment in email in Stored Procedure
Hi Guys,
I am writing a stored procedure to send HTML attachment. Below is my code but no html attachment sent in mail. Kindly advise.
USE [CarsemERP]
GO
/****** Object: StoredProcedure [dbo].[DBA_CarsemERP_SQLBlocks] Script Date: 04/01/2015 15:14:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <THARMENDRAN>
-- Create date: <2014FEB21>
-- Description: TO CHECK ANY LOCKS MORE THN 20 SEC IN SQL SERVER
-- =============================================
ALTER PROCEDURE [dbo].[DBA_CarsemERP_SQLBlocks]
AS
BEGIN
DECLARE @iCnt As Int
DECLARE @ICnt2 As Int
DECLARE @SendEmail AS VARCHAR(3)
DECLARE @Temp_DetailReq1 TABLE (
idx smallint Primary Key IDENTITY(1,1),
DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
LoginName varchar (30), HostName varchar (30))
DECLARE @Temp_DetailReq2 TABLE (
idx smallint Primary Key IDENTITY(1,1),
DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
LoginName varchar (30), HostName varchar (30))
SET @SendEmail = 'NO'
SELECT @iCnt= COUNT(*) FROM DBA_SQLBlocksViewTharmen
IF @iCnt > 0
BEGIN
Insert Into @Temp_DetailReq1
Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
END
WAITFOR DELAY '00:00:20'
select @iCnt2= COUNT(*) FROM DBA_SQLBlocksViewTharmen
IF @iCnt2 > 0
BEGIN
DECLARE @columnHeaders NVARCHAR(MAX)
DECLARE @tableHTML NVARCHAR(MAX)
DECLARE @body NVARCHAR(MAX)
Insert Into @Temp_DetailReq2
Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
SET @SendEmail = 'YES'
BEGIN
SET @columnHeaders = 'DBName</th><th>RequestId</th><th>BlockingId</th><th>BlockedObjectName</th><th>LockType</th><th>RequestingText</th><th>BlockingText</th><th>LoginName</th><th>HostName'
set @tableHTML =
'<div><b>There is blocking in VERPSVR02-02.</b></div><br>' + -- This is the bold text at the top of your email
'<table border="0" cellpadding="5"><font face="Calibri" size=2>' +
'<tr><th>' + @columnHeaders + '</th></tr>' +
convert(nvarchar(max),
select td = [DBName], '', -- Here we put the column names
td = [RequestId], '',
td = [BlockingId], '',
td = [BlockedObjectName], '',
td = [LockType], '',
td = [RequestingText], '',
td = [BlockingText], '',
td = [LoginName], '',
td = [HostName], '' -- Here we put the column names
from @Temp_DetailReq2
for xml path('tr'), type)) +'</font></table>'
END
END
IF @SendEmail = 'YES'
BEGIN
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'MyDBMailProfileName',
@recipients = '[email protected]',
@body = 'Please refer the attachment' ,
@body_format = 'HTML',
@subject = 'Alert! Blocking On ERPSVR02-02 Live Server',
@file_attachments = @tableHTML,
@importance = 'High';
END
ENDHi Guys,
I need help on how to generated HTML as attachment to email. I have write below stored procedure but the html did not send as attachment. Kindly guide me on how to save the generated HTML as a file and send it as attachment.
USE [CarsemERP]
GO
/****** Object: StoredProcedure [dbo].[DBA_CarsemERP_SQLBlocks] Script Date: 04/01/2015 15:14:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <THARMENDRAN>
-- Create date: <2014FEB21>
-- Description: TO CHECK ANY LOCKS MORE THN 20 SEC IN SQL SERVER
-- =============================================
ALTER PROCEDURE [dbo].[DBA_CarsemERP_SQLBlocks]
AS
BEGIN
DECLARE @iCnt As Int
DECLARE @ICnt2 As Int
DECLARE @SendEmail AS VARCHAR(3)
DECLARE @Temp_DetailReq1 TABLE (
idx smallint Primary Key IDENTITY(1,1),
DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
LoginName varchar (30), HostName varchar (30))
DECLARE @Temp_DetailReq2 TABLE (
idx smallint Primary Key IDENTITY(1,1),
DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
LoginName varchar (30), HostName varchar (30))
SET @SendEmail = 'NO'
SELECT @iCnt= COUNT(*) FROM DBA_SQLBlocksViewTharmen
IF @iCnt > 0
BEGIN
Insert Into @Temp_DetailReq1
Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
END
WAITFOR DELAY '00:00:20'
select @iCnt2= COUNT(*) FROM DBA_SQLBlocksViewTharmen
IF @iCnt2 > 0
BEGIN
DECLARE @columnHeaders NVARCHAR(MAX)
DECLARE @tableHTML NVARCHAR(MAX)
DECLARE @body NVARCHAR(MAX)
Insert Into @Temp_DetailReq2
Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
SET @SendEmail = 'YES'
BEGIN
SET @columnHeaders = 'DBName</th><th>RequestId</th><th>BlockingId</th><th>BlockedObjectName</th><th>LockType</th><th>RequestingText</th><th>BlockingText</th><th>LoginName</th><th>HostName'
set @tableHTML =
'<div><b>There is blocking in VERPSVR02-02.</b></div><br>' + -- This is the bold text at the top of your email
'<table border="0" cellpadding="5"><font face="Calibri" size=2>' +
'<tr><th>' + @columnHeaders + '</th></tr>' +
convert(nvarchar(max),
select td = [DBName], '', -- Here we put the column names
td = [RequestId], '',
td = [BlockingId], '',
td = [BlockedObjectName], '',
td = [LockType], '',
td = [RequestingText], '',
td = [BlockingText], '',
td = [LoginName], '',
td = [HostName], '' -- Here we put the column names
from @Temp_DetailReq2
for xml path('tr'), type)) +'</font></table>'
END
END
IF @SendEmail = 'YES'
BEGIN
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'MyDBMailProfileName',
@recipients = '[email protected]',
@body = 'Please refer the attachment' ,
@body_format = 'HTML',
@subject = 'Alert! Blocking On ERPSVR02-02 Live Server',
@file_attachments = @tableHTML,
@importance = 'High';
END
END -
Sending HTML Mails using SO_DOCUMENT_SEND_API1
Dear all,
we were using SO_DOCUMENT_SEND_API1 to send plain text e-mail replies to participants of an incentive program. Now the customer wants to send HTML mails. Customer has provided HTML templates for the mails, and the text always is the same, only slight changes in regard to the particpants number occur. Has anybody ever performed sending HTML formated mails without using SmartForms?
Thanks for your help!
Kind Regards
ChrisSure.. here is a sample program.
report zrich_0002.
data: maildata like sodocchgi1.
data: mailtxt like solisti1 occurs 10 with header line.
data: mailrec like somlrec90 occurs 0 with header line.
start-of-selection.
clear: maildata, mailtxt, mailrec.
refresh: mailtxt, mailrec.
perform build_text_message.
perform build_receivers.
perform send_mail_nodialog..
* Form BUILD_TEXT_MESSAGE
form build_text_message.
maildata-obj_name = 'TEST'.
maildata-obj_descr = 'Test Subject'.
mailtxt = '<html>'.
append mailtxt.
mailtxt = '<head>'.
append mailtxt.
mailtxt = '<title>Untitled Document</title>'.
append mailtxt.
mailtxt = '<meta http-equiv="Content-Type" content="text/html;'.
append mailtxt.
mailtxt = 'charset=iso-8859-1">'.
append mailtxt.
mailtxt = '</head>'.
append mailtxt.
mailtxt = '<body>'.
append mailtxt.
mailtxt = '<div align="center"><em><font' .
append mailtxt.
mailtxt = 'color="#0000FF" size="+7" face="Arial,'.
append mailtxt.
mailtxt = 'Helvetica, sans-serif">THIS'.
append mailtxt.
mailtxt = ' IS A TEST </font></em><font' .
append mailtxt.
mailtxt = 'color="#0000FF" size="+7" face="Arial,'.
append mailtxt.
mailtxt = 'Helvetica, sans-serif"></font>'.
append mailtxt.
mailtxt = '</div>'.
append mailtxt.
mailtxt = '</body>'.
append mailtxt.
mailtxt = '</html>'.
append mailtxt.
endform.
* Form BUILD_RECEIVERS
form build_receivers.
* mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
endform.
* Form SEND_MAIL_NODIALOG
form send_mail_nodialog.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = maildata
document_type = 'HTM'
put_in_outbox = 'X'
tables
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform.
Regards,
Rich Heilman -
Need to send HTML table via email
Hi Experts,
I am using the FM EFG_GEN_SEND_EMAIL to send email but unable to send html content through this. I know I could use SO_SEND_OBJECT FM too which automatically sends the email in HTML format but it doesn't have from option(FROM EMAIL ID)
I tired manually chaning the format from RAW to HTM via debugging and then found that its sending the html format email.
Request you to please let me know if we could achieve the same.
Thanks,
RajwinHi,
rcently we idd this requirment .
But every thing we did it from ABAP side not from WDJ Side
Generation of PDF after enterring the data will be send via email along with PDF Data so try to use Smart Forms
Regards,
Govindu -
Problem in accessing HTML data
Hi Frens,
I m getting some html data from my servlet. But From Server
it is sending the data in html format. There, It is sending the
data in CDATA format. Here I get some problem in displaying the
data in Flex. I have following questions:
1. How can I parse that XML data into HTML data, Since that
data comes from many mail servers, I don't have idea, whether they
are properly formatted or not. I am getting this data in xml
format. How can i convert it back to HTML format?
2. The 2nd Problem is that it may contain some images also,
So will component is suitable for me to display the data? Example
is a mail, If it has some html data, along with images. Which
component is suitable for this?
Please help to get out this problem.
ThksIf I knew a data service was returning HTML to me, I would
use resultFormat="text" and just accept the data as-is. Then you
can assign it to the htmlText property of a TextArea.
The Flash Player has limited HTML capabilities. It can
display images using the <img> HTML tag.
Depending on your needs you might want to look at Apollo
which has an HTML UI component which can display real, complete
HTML. -
How to send recomposed data in post method.
Currently, i try to build up MVC user authentication. I used login.html as View, servletA as controller to invoked Model and servletB as Model. The servletB will return queried result to servletA then servletA will decide redirected to specific url.
I has successful use the RequestDispatcher.forward(request, response) to post data from servletA to servletB. whereas i faced a trouble to post data back from servletB to servletA, which i unable put the queried result into request obj before post it back to servletA.
Any genius recommendation about this? or Any method composed data to send via post method?Here's a quick rundown that might help:
Use request.setAttribute() to put an item in request scope in a servlet before dispatching to another servlet or JSP.
Use <useBean> tag in a JSP to read the data on the JSP that the servlet put in request scope.
Alternatively, you can use request.getAttribute(), but the useBean is preferred.
Use request.getParameter() in a servlet to read data that the <form> tag on the JSP page put in request scope.
Use request.setAttribute() and request.getAttribute() to get send/get data between servlets (it could be request.getParameter(), but I dont think so).
There is a RequestDispatcher.forward() and a RequestDispatcher.include(). I'm not sure what the differences are (you'll have to research it.
In MVC, I have a single servlet for the controller (receive all url's, and dispatch to the appropriate JSP). I dont hava a separate servlet for the model. Instead, I instansiate a business object on the servlet, pass data to it, and let it do the calcuations. Then I have it return the data to the servlet which puts it in request scope for the JSP page when I dispatch to it. My MVC usuallyconsists of:
JSP -presentation layer
servlet - control layer
business logic layer
database layer (DAO).
Each layer does not contain the functionality of one of the other layers (clean separation of concerns).
Last note: Whereas you can use a servlet for the controller, a framework such as Spring or Struts is often used instead. -
How to send Html message in this procedure?
Hi all,
here is one procedure
DECLARE
v_connection UTL_SMTP.CONNECTION;
BEGIN
v_connection := UTL_SMTP.OPEN_CONNECTION('mail.idealake.com',25);
UTL_SMTP.HELO(v_connection,'mail.idealake.com');
UTL_SMTP.MAIL(v_connection,'[email protected]');
UTL_SMTP.RCPT(v_connection,'[email protected]');
UTL_SMTP.DATA(v_connection,'Sent From PL/SQL');
UTL_SMTP.QUIT(v_connection);
END;
I want to send html message throug this procedure.
Please tell me tjhe solution.
Thanks in advance.
Prathamesh.I also have a copy of send mail package (modified copy of some code that I found on the net). Originally written with utl_smtp. Converted it to utl_tcp. Supports binary file attachments and formatted html messages now.
You can pick it up at my website... http://www.myoracleportal.com -
I want to know how to send and HTML page generated by a servlet into a specific frame of the client browser.
If you are sending the data to the servlet using a form tag, just specify the target inside the form tag and your servlet will display the output in that frame.
-
Send table data through mail in oracle 10g
Hi ,
I am trying to send a mail through oracle 10g .
I can send mail through utl_mail .
The text that I need to send is data from a table .
The table contains information about all the employees .
Table name is person . If the employee is absent on any day without any reason there would be a row of this employee in the table person.
There is also a column named email in this table .
I need to write a stored procedure which will send the data about each particular employee to their respective email for all the employees in the person table .
Can anyone please help me on this .
Thank you.Try this forum thread first:
Re: send email by procedure
There are lots of articles on how to accomplish this taks on the web:
-- utl_smtp example
http://it.toolbox.com/wiki/index.php/Send_email_from_Oracle_Database
http://www.databasejournal.com/features/oracle/article.php/3423431/Sending-e-mail-from-within-Oracle.htm
-- From Application Express product
http://www.oracle.com/technology/products/database/application_express/howtos/howto_workflow.html
HTH -- Mark D Powell -- -
Nike+ Sensor & Can't automatically send Workout Data
Hi,
On my old ipod touch I had it set up to automatically go to Nike and update my workouts. Now I'm using a new ipod touch and iTunes Help tells me to :
a) complete a workout -- check
b) connect my ipod to my computer -- check
c) when device appears in iTunes select it and click Nike + iPode button -- check
d) Select "Automatically send workout data to Nike+." -- NOT A CHOICE I CAN MAKE -- I CAN'T FIND THIS CHOICE !!
Has anyone else had this trouble and what's the solution?
I am using the latest software on both the computer & iPod and their is an unsynched workout on my ipod touch.
Any help would be great.
Thanks in advance.Hmmm, sounds weird. If someone else has experienced this maybe they will jump in here, but if not, you can always call Nike+. Surprisingly they answer their phone quite quickly.
Anyway, here's my shot at it:
I will assume you have downloaded the Nano updater ( http://www.apple.com/ipod/download/ ).
I would eject and disconnect the Nano (perhaps restarting my computer) and close iTunes, then reopen iTunes, reconnect and see if the box is available.
Also check this page: http://www.apple.com/support/nikeplus/ also this page http://docs.info.apple.com/article.html?artnum=303933#faq9 -
Wants to send html as inline message instead of attachment(without MTOM)
Hi,
We have reuirement want send html as inile message instead of attachemnt in OSB 11g with out MTOM.
Any pointers on this regard will be of great help.
Regards
VenkataFor example use WSDL like this:
http://axis.apache.org/axis2/java/core/docs/mtom-guide.html#a251
and don't forget to disable MTOM/XOP support for proxy and business service.
You don't need anything but a base64binary element in your request or response message. That's all. When you turn MTOM/XOP support off, binary data will be inlined.
If you will still face an issue, try to send your WSDL, describe input, output and your proxy flow. -
Hello again,
Sorry for asking a lot of questions, but I'm developing an application in jmf and I don't know so much how it works...
I'm trying to receive rtp data from the network, then uncompress to RAW format (but it has to be coded in some codec like g711, g729 or GSM) and save it into a buffer. For this I'm following the example DataSourceReader. I have attached some things like keep off the rtp header, and save the audio data into a bytebuffer (instead of using the printInfo() method I'm using saveIntoByteBuffer() method).
Another class is sending the data (saved in byteBuffer) over the network (UDP, not RTP-UDP).
And anotherone is receiving this data, and creating a DataSource to play the audio data received.
To do this, I don't know exactly how to do it. I need to create a DataSource like the examples (LiveStream and DataSource from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html |http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html] ) or can I do it like JpegImagesToMovie from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html] ?
Sorry if it's an easy question, but I don't understand so much why implementing the 'same' thing (custom DataSource) it's implemented different.
ThanksSorry if it's an easy question, but I don't understand so much why implementing the 'same' thing (custom DataSource) it's implemented different.They aren't the same thing, actually. DataSource is the parent class, but there are 2 different kinds of DataSources.
A PushBufferDataSource will "push" the data out when it's available to be read. Whenever it decides it has data ready to be read, it informs whatever is reading from it that data is available.
A PullBufferDataSource will not do that. Whenever it has data ready to be read, it doesn't do anything to inform what's reading from it.
The next obvious question is, why does it matter?
PullBufferDataSource's are good for situations where the data is always present. For instance, if you're playing a file from your hard drive, it's better to just let your Player object fetch data when it's needed. There's no need for a "data available" event, because, the data is always available...
PushBufferDataSources are good for situations where data is being generated / received from an outside source. You can't read from it until the data comes in, so rather than blocking and waiting for the read, it'll tell your reader class when to come back for the data.
Hope that helps!
P.S. For your needs, you'll want to be using a PushBufferDataSource, so the Live example code. -
Hi guys,
i am making a small web app where i am extracting data from a database table to be viewed on a jsp and adding a html element being a drop down menu under earch row. I've managed to do that successfully, but now i want to put this data in a new table BUT with the addition of the value that was selected in the drop down menu. The problem that i have is trying to do this last part, here is is my current code:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h2>Email Faults</h2>
<%-- Using DataSource to connect to our db --%>
<sql:setDataSource driver="${initParam.driver}" password="${initParam.password}"
url="${initParam.dburl}" user="${initParam.user}" />
<%-- Make a query to query db --%>
<sql:query var="rset">
SELECT * FROM emailmembertbl
</sql:query>
<%-- Display results in a table--%>
<%-- Get column names and store in variable and display them in loop --%>
<%-- Get rows from tables in db and store in variable and display them in loop--%>
<form action="Allocate_Fault_Success.jsp">
<table border=1 cellpadding=5 align="center" valign="center">
<tr>
<c:forEach var="columnName" items="${rset.columnNames}">
<th><c:out value="${columnName}"/>
</c:forEach>
<c:forEach var="row" items="${rset.rowsByIndex}">
<tr>
<c:forEach var="column" items="${row}">
<td><c:out value="${column}"/>
</c:forEach>
<tr> <td> <select name="allocate_technicians">
<option value="Fred_Glen">Fred Glen</option>
<option value="Simon_Taylor">Simon Taylor</option>
<option value="Jamie_Smith"> Jamie Smith </option>
</select> </td>
</c:forEach>
<tr> <td><html:submit value="Submit!" />
</table>
<%-- Now store these results with the allocation in a new table --%>
<sql:update>
INSERT INTO allocate_email_fault(refNo, name, EmailFaultDescription, age, TelNo, Allocated_to)
VALUES (?, ?, ?, ?, ?, ?)
<sql:param value="${param.refNo}"/>
<sql:param value="${param.name}"/>
<sql:param value="${param.EmailFaultDescription}"/>
<sql:param value="${param.age}"/>
<sql:param value="${param.TelNo}"/>
<sql:param value="${param.allocate_technicians}"/>
</sql:update>
</form>
</body>
</html> when i add the insert statement and run the file i get error saying
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
INSERT INTO allocate_email_fault(refNo, name, EmailFaultDescription, age, TelNo, Allocated_to)
VALUES (?, ?, ?, ?, ?, ?)
: Column 'refNo' cannot be null
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)which i understand because it can't be left blank, but all i want to do now is simply send this data with value selected in my drop down menu and store this in my table which has been created. Is there a convenient way to do this ? without having to create things like java classes and actions forms ect because i just want to use the insert to do it.
CheersHi,
thanks for the reply. In response to your question, i would ideally like the param.refNo coming from the variable row. I'm not trying to input any data except the drop down menu. What i am trying to hopefully achieve is once i've selected a value from the drop down menu on each row, i want to send back the data in to a new table(the data from the loop), but with the adition of the value being selected in the drop down menu as another column.
refNo int(11) PRI NULL
name varchar(100) NULL
EmailFaultDescription varchar(100) NULL
age int(11) NULL
TelNo int(11) NULL
Allocated_to varchar(100) NULL
Also why would i need the fields to be hidden, i need these fields to be shown so that i can use a drop down menu to allocate a technician to each row.
Edited by: nvidia1 on Jan 22, 2009 12:46 AM -
How the client can send video data of it's camera out without using JMF?
The client A and B don't install the JMF software.How the client A can send video data of it's camera to another client B,when the client A and B login in a web server on which the JMF software has been installed?Off course,all of them have the JRE.
This is my a video exchang software in doing now using JMF technology.I hope every client using the video exchange function need not install the JMF software when the web server have installed the JMF software.doudouhaha wrote:
The client A and B don't install the JMF software.How the client A can send video data of it's camera to another client B,when the client A and B login in a web server on which the JMF software has been installed?Off course,all of them have the JRE.They can't.
This is my a video exchang software in doing now using JMF technology.I hope every client using the video exchange function need not install the JMF software when the web server have installed the JMF software.Sorry.
For playing back, may be it is possible to "jar" the jmf along with the application and the upload on the server, then it may recognize all the classes but there can still be problem because JMF depends on many ".dll" files which are stored in System folders, as I have seen. So,........This is correct, mostly. Here goes a captfoss inforant...
JMF is a collection of Java files (jmf.jar) that perform a certain set of functions, and it's also a set of native library files. You can use the Java JMF stuff with web-start, so the clients wouldn't have to have JMF installed to use the Java JMF stuff. The problem with doing this approach, you always have to ask yourself "Can I do what I want to do without the native library stuff?"
To answer this question, it's important to take a look at the JMF supported formats page.
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]
If you look in the column "JMF 2.1.1 Cross Platform Version", it'll tell you what you can do in pure JMF, without any of the native libraries. In the case of capturing data, the only thing you can capture without native code is audio through the JavaSound system.
If you take a look at the RTP formats listed, you'll see a problem...the cross-platform version can't send any kind of video data to itself, which means you'd have to send MPEG1 to a transcoding server to bounce it back to the second client as a JPEG image...and that's if you somehow had the video data you want to transmit, which you cannot get from the cross-platform pack anyway.
Maybe you are looking for
-
Why can't i find a tv show I purchased on iTunes?
I purchased Homeland Season 1 on iTunes in January. Since then I have updated my Apple TV software (today) and now it no longer appears in my "Purchased" TV shows on the apple TV. I can see the purchase history on my iTunes account on my Mac but ca
-
Request Phase as Completed and Date Completed Empty (no output file generated yet)?
Hi, When I run the request, the phase = "completed", but when you open the details form, you notice that 'date completed' = empty, and the 'completion text' keeps changing every time you open the details screen.Also, when you try to open the output,
-
I have an ipod and I currently am using a pc with itunes. I want to switch to using my mac, without loosing all of the songs that are on my ipod. Is this possible or will my ipod only have the songs that are on my mac when I connect my ipod and loose
-
SSL-Config: Oc4J does not reload keystore/truststore at runTime
Hi all, i have a little question about the SSL-Config into OC4J. I have a webApp bound to a secure web site that requires mutual-authentication. If I add at run-time (without stopping OC4J) a trusted entry (a CA) to the keystore the secure-web-site i
-
JBO-35007 - Where is it when you need one?
Project details: Jdev 10.1.3.3, ADF BC, ADF Faces Please help me to understand when I can rely on JBO-35007. I have a pretty simple use case: 1. List employees in a table with selection 2. Select an employee and navigate to the edit page. Edit page h