Edit a word document from a JSP page
hi all,
i would like to know if it is possible to edit a Word document from a JSP page (without uploading it).
thanks.
Technically no. But what you can do is output a word document to the browser with the contenttype "application/msword" and if word is installed it will be opened inside the browser.
Similar Messages
-
I am trying to download a word document from mail into pages and I keep getting an unknown error message, are there special settings for this? Any help much appreciated!
Not there aren't any special settings for this. You just use the Open In feature to save the document into Pages. You could have a font in the document that Pages doesn't like, maybe something that you copied and pasted from somewhere into the document that went corrupt. But there is nothing special about the way that you save a Word document into Pages. You save it like you save any document or file into a compatible app.
-
To open a pdf document or word document from a JSP into a new window
Hi,
How to open a PDF document or word document from a JSP into a new window. i.e say from a jsp when a hyperlink or button is clicked it should open a new window with the pdf document or word document in it.
thanks in advance,
radki_jHi ,
when i tried to use the below code to open my word document , it will open as html and with some garbage details. Doesnt open as word document. How to solve this kind of probem?Need advice urgently.
Open Document -
Editing a Word document from Dropbox on iPad. How?
I Have saved a Word document into Dropbox on my laptop.
I can open it in my ipad2 but cannot edit it.
i Have Docs and Word on the iPad but they will not open a document in Dropbox.
tried Google but.
WHat hat do I need to do?
thank youAfter I open the document in DropBox, there are two ways to send the file to Word. I can tap on the action icon in the upper right and use the Open In option, (you may have to swipe to get the the App icon on the bottom of that window) or I can tap on the edit icon in the lower right corner of the document and the option to open in Word appears.
The app icon that I am referring to looks just like the App Store icon, but it appears in grey in the open in window. -
Create/Edit Word documents from Form 6 in the web
How can I create/edit Microsoft Word documents from a form running under IAS.
In client/server I can do it using OLE2.On the Web the OLE2 option would still work if your Forms server is on a windows machine with word on it. The files will be created on the server and you can get them to the client with the web.show_document built-in.
If you want to create them on the client machine directly you need a Java bean that will activate the COM interface. -
I am using One Drive for business on my ipad. When I tryo to edit a word document in Word Online I receive the following message ...
Cannot Open Page Safari cannot open the page because the address is invalid. How do I correct?You could also ask here:
http://answers.microsoft.com/en-us/onedrive/forum -
How do I save documents from the new Pages into a Word Document
How do I save documents from the new Pages into a Word Document?
Thank you so much - so simple! I had been using the 'share' option (worked in old Pages) and only had icloud or email as options. I have to attach word documents to emails to send to work. I don't want to use icloud because it's too public and I don't trust it. Also, you have to be able to access the internet and I need word documents on my USB stick for work where there's no internet.
I love my Mac but I do wish Apple would remember those of us living in less-than-perfect computer-land.
Thanks again
Lindsay -
I've created a Word document from a pdf file. How do i make it editable?
I've created a Word document from a pdf file. How do i make it editable?
Hi Kaz1,
The Word document should be editable after the conversion is complete. What happens when you try to edit it?
Thanks,
David -
How to edit a converted Word Document from a PDF file
how to edit a converted Word Document from a PDF file
Hi Edit Converted Word Doc,
What's happening when you try to edit the file? Have you tried triple-clicking in the text block that you want to edit?
Please let us know what sort of trouble you're running into. It would also be helpful to know how the PDF file was created, and what version of Word you're using.
Best,
Sara -
Still unable to edit a word document after conversion from pdf?
I converted a pdf file to a word document but am still unable to edit the word document and save as a newly created word document. please help, thanks.
Hi Disc9,
In order to help you. Let me know which application of Adobe you are using including the version.
Also let me know the complete workflow how you convert the PDF to docx/doc.
Regards. -
Invoking BPEL Process from a JSP Page 500 Internal Server Error
Hi,
I try to invoke a BPEL Process from a JSP Page and receive the following error. I just pasted the example from the Oracle PM Developer's Guide tutorial. Previously I deployed the CreditRatingService BPEL Process.
Can anyone help me, please?
D.
Here is a sequence from my JSP / and the error I get:
String ssn = request.getParameter("ssn");
if(ssn == null)
ssn = "123-12-1234";
String xml = "<ssn xmlns=\"http://services.otn.com\">"
+ ssn + "</ssn>";
Locator locator = new Locator("default","welcome1");
IDeliveryService deliveryService =
(IDeliveryService)locator.lookupService
(IDeliveryService.SERVICE_NAME );
// construct the normalized message and send to oracle bpel process manager
NormalizedMessage nm = new NormalizedMessage( );
nm.addPart("payload", xml );
NormalizedMessage res =
deliveryService.request("CreditRatingService", "process", nm);
Map payload = res.getPayload();
out.println( "BPELProcess CreditRatingService executed!<br>" );
out.println( "Credit Rating is " + payload.get("payload") );
500 Internal Server Error
java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.lookup(ApplicationContext.java:197)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at _InvokeBP._jspService(_InvokeBP.java:65)
[InvokeBP.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180Here is the solution:
Properties props = new Properties();
props.setProperty("orabpel.platform", "oc4j_10g");
props.setProperty("java.naming.factory.initial",
"com.evermind.server.rmi.RMIInitialContextFactory");
props.setProperty("java.naming.provider.url", "ormi://localhost/orabpel");
props.setProperty("java.naming.security.principal", "oc4jadmin");
props.setProperty("java.naming.security.credentials", "welcome1");
and several jars have to be added to the project:
Orabpel.jar , Orabpel-common.jar, oc4j*.jar,
%ANT_HOME%\lib\ant.jar;
%ANT_HOME%\lib\xercesImpl.jar;
%ANT_HOME%\lib\xml-apis.jar;
%AXIS_HOME%\lib\axis.jar;
%AXIS_HOME%\lib\axis-ant.jar;
%AXIS_HOME%\lib\commons-discovery.jar;
%AXIS_HOME%\lib\commons-logging.jar;
%AXIS_HOME%\lib\jaxrpc.jar;
%AXIS_HOME%\lib\log4j-1.2.8.jar;
%AXIS_HOME%\lib\saaj.jar;
%AXIS_HOME%\lib\wsdl4j.jar; -
After decades, I finally gave up on Microsoft and bought a MacBook Pro. However, for work, I still have to use Microsoft. When I try to edit a Word Document in any way a screen pops up saying Microsoft Word has encountered a problem and needs to close; gives me an option to recover my work and restart Word; when I click that option Word restarts but I alway lose my work. This just started; before it was working fine. Help?
This is a Microsoft problem. Contact them for assistance: http://support.microsoft.com/kb/295539
mitch86 wrote:
... However, for work, I still have to use Microsoft.
Are you certain about that? There are many alternatives to Office today. Consider
LibreOffice (donation-supported)
NeoOffice ($10 but older version is free)
OpenOffice (completely free)
In addition to the above I also recommend Apple's Pages ($19.99). All of these options allow you to open, edit, and save Word-formatted documents and spreadsheets. I use OpenOffice and Pages and have been completely Microsoft - free for over a year now. Life is better without Microsoft. -
Which app should i use if i want to open and print Word-documents from my email on ipad?
Documents to Go and Pages are two options and there are others. Just search the app store for word processors. Some are free, others not.
-
How do I save documents from iCloud into pages on my ipad?
HOw do I save documents from iCloud into pages using an ipad?
Where are you expecting to see "iCloud document?" Pages stores copies of your documents in iCloud but the documents appear in the Pages app. When you edit the document changes are automatically saved to iCloud. You do not go to iCloud to look for documents to open or copy.
-
Pass the data back from the jsp page to the java code
Hi,
I have written an iView that receives an event using EPCF and extracts data from the client data bag.
I need this iView to pass the data back from the jsp page to the java code.
I am trying to do this using a hidden input field, but I cannot get the code to work.
Here is the code on the jsp page.
<%@ taglib uri="tagLib" prefix="hbj" %>
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId">
<hbj:inputField id="myInputField" type="string" maxlength="100" value="" jsObjectNeeded="true">
<% myInputField.setVisible(false);%>
</hbj:inputField>
</hbj:form>
</hbj:page>
</hbj:content>
<script language=JavaScript>
EPCM.subscribeEvent("urn:com.peter", "namedata", window, "eventReceiver");
function eventReceiver(eventObj) {
var url = eventObj.dataObject;
var funcName = htmlb_formid+"_getHtmlbElementId";
func = window[funcName];
var ipField = eval(func("myInputField"));
ipField.setValue(url);
var form = document.all(htmlb_formid);
form.submit();
</script>
Here is my java code
package com.sap.training.portal;
import com.sapportals.htmlb.InputField;
import com.sapportals.htmlb.page.DynPage;
import com.sapportals.htmlb.page.PageException;
import com.sapportals.portal.htmlb.page.JSPDynPage;
import com.sapportals.portal.htmlb.page.PageProcessorComponent;
public class ListSalesOrder extends PageProcessorComponent {
public DynPage getPage(){
return new ListSalesOrderDynPage();
public static class ListSalesOrderDynPage extends JSPDynPage{
private String merong;
public void doInitialization(){
public void doProcessAfterInput() throws PageException {
InputField reportfld = (InputField) getComponentByName("myInputField");
if (reportfld != null) merong = reportfld.getValueAsDataType().toString();
public void doProcessBeforeOutput() throws PageException {
if ( merong != null ) setJspName("merong.jsp");
else setJspName("ListSalesOrder.jsp");
Here is DD
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="SearchSalesOrder">
<component-config>
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="/pagelet/SearchSalesOrder.jsp"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
<component name="ListSalesOrder">
<component-config>
<property name="ClassName" value="com.sap.training.portal.ListSalesOrder"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
</components>
<services/>
</application>
After receive event, then call java script function "eventReceiver" and call "form.submit()".
But .. PAI Logic in Java code doesn't called ...
Where is my problme ?
Help me ...
Regards, Arnold.Hi Arnold,
you should not do a form.submit yourself. Instead you can put a component called ExternalSubmit to your page:
ExternalSubmit exSubmit = new ExternalSubmit("EX_SUBMIT"));
exSubmit.setServerEventName("MyEvent");
This results in a java script funtion on the page which is called "_htmlb_external_submit_". If you call this function the the form gets submitted and your event handler is called.
regards,
Martin
Maybe you are looking for
-
How do i determine the envelope size in Pages?
I'm printing envelopes for Christmas and I can't find how to adjust to the size envelope that fits my Christmas cards. I'm working with 5x7 envelopes.
-
Changes made in address book not reflecting in itunes sync
I have made a bunch of changes to the groups in address book. removing groups, renaming groups, etc. When i try and sync contacts to my iphone in intunes, those changes aren't reflected. what can i do?
-
Change the Logo in iStore Home page
All, Can any one tell the process to place the custom logo in iStore home page ??? Thanks in advance
-
Error message when backing Music Library up to external drive
I am trying to copy my iTunes music folder from my laptop onto a firewire drive to back it up. I keep getting the same message "Sorry, the operation cannot be completed because an unexpected error occurred. (Error code -50)" Copying other files works
-
When logging into FaceTime I get an error message and it will not log in.
After downloading Lion, when I tried to log into FaceTime it kept giving me an error message, 'The server encountered an error processing registration. Please try again later.' This is with multiple AppleIDs and my ID works on other machines.