Hi all,
I am trying to write an application which will open an MS Excel sheet,
and display an image in one of the cells. I am using Apache POI for
opening, and populating values in the Excel sheet.
Here, the image path will be somewhere in my server, or hard disk.
Any pointers regarding the s
Hi Priya,
You can use a for each Question row. For each question,
you can have another inner for each answer radio
button.
<%-- Question comes here --%>
the client, in which case I
doubt you'll find many options... *maybe* an applet that could grab the
written contents of the document body and generate a PDF, but even that
would be way more work than it needs to be.
Generate on the server, that's the simplest and best answer :)
27;t make a stop as HTML first, so it might help to
understand a little better what your trying to do to offer some
suggestions. But, it is definitely more than just the content type.
Frank
Anjishnu Bandyopadhyay wrote:
> Hi all,
>
>
>
>
> I am trying
Hi all,
I am trying to programmatically convert an HTML file to pdf dynamically;
by setting the content type. But, I am not being able to succeed.
Any pointers regarding the same will be of much use.
Please note that, I am not using a JSP here. (So that, I could be able
to set the "content"
Hi,
You can try something like:
function updatetext()
{ var val =
document.getElementbyid("secondForm.attribute").value;
window.opener.func(val);
}
Here, "func" is a JS function in the parent window. In "func", write
your code to set the value.
With best regard
Hi all,
I want to print an IE screen, along with it's background color. On
option is to "Tools --> Internet Options --> Advanced --> Printing" and
set the option of printing background colors.
But we need an alternative to this. May be in any CSS styles, or
JavaScript; or anything like that.
Hi all,
I need to open a popup screen from a main window (on click of a button),
with the same data as the main window. (The purpose is that the popup
will serve a print preview screen for the data to be printed.)
I cannot go to the server back and fetch the data. (This needs to be
implemented
?
- Original Message -
From: "Anjishnu Bandyopadhyay" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, March 21, 2006 5:51 AM
Subject: Problem with character encoding.
Hi all,
I am generating a MS Word document through a JSP, by setting
Hi all,
I am generating a MS Word document through a JSP, by setting the JSP's
content type as "application/msword;".
The ".doc" that is generated contains accentuated French characters
(special French characters).
I use Websphere (WSAD) to develop the code, but use Tomcat server for
deploy
: Re: Set focus on a table on page load.
Anjishnu Bandyopadhyay wrote:
> I have a JSP page, which has a table (). On load of the page, I
> need to set focus on this table.
>
Why would you want to set focus on something that can't receive use
Hi all,
I have a JSP page, which has a table (). On load of the page, I
need to set focus on this table.
I gave an "id" to the table, and tried something like this:
var tblObj = document.getElementById("...");
docTblObj.focus();
But this does not work.
So, I declared an anchor tag ()
Hi all,
I am using the Struts resource bundle to display internationalized
messages in my JSP,
Eg.
Here, the message is displayed according to the current locale.
Now, I want to display a "French" string irrespective of the current
locale.
Can you tell me how to implement this?
is
Hi all,
I had posted the same mail a few days ago, but didn't get a proper
solution.
I am generating a MS Word document through JSP, by setting the JSP's
content type as "application/msword;".
In the Word document, I want to display an image.
But, I am not being able to export that image
Hi Dave,
Thanks a lot.
I will have a look at it.
With best regards,
Anjishnu.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 3:19 AM
To: Struts Users Mailing List
Subject: Re: Exporting an image from JSP to MS Word
Anjishnu Bandyopadhyay
Hi all,
I am generating a MS Word document through JSP, by setting the JSP's
content type as "application/msword;".
In the Word document, I want to display an image.
But, I am not being able to export that image. I have tried giving the
complete context path, and, the relative path; as the
Hi all,
I am trying to generate a MS Word document through WordML. The report contains
some special (accentuated) French characters (e.g. é).
In my java code, I am using "XMLOutputter" to generate the document.
In the action class, I set the "response.setContentType("application/msword;
cha
Hi all,
I have a static MS Word document, which I want to open on click of a
hyperlink in my JSP page.
I am trying like: window.open('abc.doc','',600,600);
But the Word doc is not properly opening.
In IE, the document opens in the browser itself.
In Mozilla, the Word doc opens along with
On 2/7/06, Anjishnu Bandyopadhyay <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
>
>
> I am generating a HTML screen through JSP. Now, I need to save/export
> the data in the JSP to a Word document.
>
> Any pointers in this respect will be ve
Hi,
Try this out: In the formBean, instead of an array list, try putting a String
array.
ActionForm:
private String[] listEdad = null;
public String[] getListEdad () {
return listEdad;
}
public void setListEdad (String[] listEdad) {
this.listEdad = listEdad;
}
With b
Hi all,
I am generating a HTML screen through JSP. Now, I need to save/export
the data in the JSP to a Word document.
Any pointers in this respect will be very much helpful.
Thanks for your time.
With best regards,
Anjishnu.
CAUTION - Disclaimer *
T
Hi all,
I have a tag within another tag.
< nested:define id="year" value=".."/>
Here, on change of the text box in the inner , I want to
send some value to a java script function, that is available from a
/ va
Hi all,
I have a where I am iterating
over a list of objects. Each object has a property “label”, which
is being displayed as a textbox.
Now, I have a hidden field “hdnField”, for
each row of object.
I want to call a _javascript_ function
“fnUpdate” onChange of the textbo
Hi Anuradha,
I think this will work:
onclick="return validateDelete('')"
where "abc" is the java variable that you put in request/session.
With best regards,
Anjishnu.
-Original Message-
From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 2:26 PM
Hi all,
I have a where I am iterating over a
list of objects. Each object has a property label,
which is being displayed as a textbox.
Now, I have a hidden field hdnField, for each row of
object.
I want to call a javascript function fnUpdate
onChange of the textbox to update the hidden
25 matches
Mail list logo