This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Sridhar Raman

Greenhorn
+ Follow
since Jun 29, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sridhar Raman

Then in your web.xml file, set up a mapping such that, say, "formletter.rtf" maps to "formletter.jsp".
How this is done in web.xml

(note especially to set the content-type and content-disposition headers!)
How
18 years ago
JSP
Hi Tim,
The user will edit and take a printout and fax it for now atleast he has not requested to make the changes in server side
so if you know how to achieve it please reply
18 years ago
JSP
Hi Tim
I would really appreciate if you send me the boiler plate word and all stuff needed.
my email id is shriya@hotmail.com
18 years ago
JSP
I have application server (Tomcat) running on linux machine.
I create some report (I converted a word document to html ) which was basically in doc format to html format and used jsp to fill some data from database. This is working fine but the user wanted to change the report and edit it if needed Since it is in html he cannot edit directly but if i could create the report and convert to doc format and send it the user can edit it.
18 years ago
JSP

Originally posted by manoj kumar:
I'm working on a project in which it is required to convert the reports being generated to PDF format. can anybody help me out in this regard?
Also, i need to know if there is any special class which converts the HTML reports being generated to b converted into XLS, DOC and RTF format.
Thanks in advance

18 years ago
Hi,
Is there any free java reporting tool available.
can i generate report with rtf and doc format like crystal report
18 years ago
I have the following requirements.
I want a Letter generated by calling jsp page which contains some predefined text with embedded data from database. This can be achieved by jsp. But i want the user to modify the letter if he wished so the output file should be in rtf format. Can i achieve it.
Can I tell servlet engine to process all files ending with .rtf also in tomcat if yes how
18 years ago
JSP
What i wanted to know is using Ant you can compile java files, jar it war it create ear and also deploy it. but is there a way to use ant script and compile jsp code also
18 years ago
JSP
How can i precompile jsp using Ant and tomcat
18 years ago
JSP
What different PDA's does j2me work at present.
How can I start coding and testing in j2me.
------------------
19 years ago
Dear Friends I just started working in EJB using JRUN
I am doing the simple HelloBean
I get following error Can u fix it. I am at loss
java.lang.IllegalAccessException:
on the client side
******************************************************
HelloHome Object createdHelloHomeObject_Stub[RemoteStub [ref: [endpoint:[localho
st:2333](remote),objID:[31b4c3:e77b57615a:-8000, 0]]]]
******************************************************
java.rmi.RemoteException: System exception/error caught by container; nested exc
eption is:
java.lang.IllegalAccessException: HelloBean
java.lang.IllegalAccessException: HelloBean
<<no stack trace available>>
Exception in thread "main" java.lang.RuntimeException: System exception/error ca
ught by container; nested exception is:
java.lang.IllegalAccessException: HelloBean

on the server side
Server is running (type h[elp]<ENTER> for help on commands)
>Exception: [17:33:55] java.lang.IllegalAccessException: HelloBean
java.lang.IllegalAccessException: HelloBean
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at allaire.ejipt._SessionHomeObject._createContext(allaire/ejipt/_Sessio
nHomeObject.java:267)
at allaire.ejipt._ContextPool._getContext(allaire/ejipt/_ContextPool.jav
a:184)
at allaire.ejipt._SessionHomeObject._create(allaire/ejipt/_SessionHomeOb
ject.java:114)
at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java
:103)
at java.lang.reflect.Method.invoke(Native Method)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
ce)
at java.lang.Thread.run(Unknown Source)
My ejb-xml.jar file is
<?xml version="1.0"?>
< !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD EnterpriseJavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">;
<ejb-jar>
<enterprise-beans>
<session>
<display-name>HelloBean</display-name>
<ejb-name>HelloHome</ejb-name>
<home>HelloHome</home>
<remote>Hello</remote>
<ejb-class>HelloBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<env-entry>
<env-entry-name>ejipt.maxContexts</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>400</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>ejipt.maxFreeContexts</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>20</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>ejb.sessionTimeout</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>60</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>ejipt.isTimeoutFromCreate</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>true</env-entry-value>
</env-entry>
</session>
</enterprise-beans>
</ejb-jar>

My Deploy.properties is
ejipt.classServer.host=localhost
ejb.allowedIdentities=all
ejipt.ejbJars=Hello_ejb.jar
ejipt.logStackTrace=true
security.policy
grant {
permission java.security.AllPermission;
};
Hi,
In Jndi context.lookup("Object_Name") gives the Object However is it possible to get a list of object available using lookup or any other method if so can u post some example