Using MVC with Applet inside Servlet
Hello fellow Java developers,
I want to implement the Model View Controller concept inside a Bean Applet combination running in a servlet environment.
When my model (the Bean) changes, I want my Applet (the View) to get notified so it can get the update from the Bean. The Applet is incorporated inside the jsp page (e.g. the servlet). The Bean is known inside the jsp. How do I make that same Bean known inside the Applet?
When I create a new Bean during init, or in the constructor of the Applet, I get a complete other reference than the Bean inside the jsp. So, when I ask information from the Bean, I often get NullPointerExceptions, because I am referencing the wrong Bean.
Does anyone have a solution for my problem?
Regards,
Michel
hi,
a servlet is server side object, an applet is client side object.
For the communication, you should try HttpUrlConnection from applet to servlet.
another way is tu use ejb, or rmi communcation
Similar Messages
-
Is it possible to use javaagents with applets?
If it is, how?FYI... my environment is:
Oracle9iAS (9.0.3.0.0)
JDeveloper (9.0.3.4) -
Probem with applet and servlets
subject "not able to invoke applet from servlets"
i have attached files also..
Respected sir,
I am thomas from prateek techologies ,referred by madam Pratibha.
Actually i have to plot point marks on a image(it is a Banglore map) in an applet(Uploadimg3.java).so, for doing so, iam getting values from database in my servlet file named Mapuser_sev.java
which is in the directory
WEB-INF/classes.
now after fetching the values ,i am not able invoke the Applet (Uploadimg3.java)which is in the directory
WEB-INF/classes/mapuser.
i have used the api ,response.sendredirect("/prakash/jspfiles/displaymap1.jsp");-->up to here it's ok..
I have used the plugin tag as follows:-
displaymap1.jsp
<html>
<body>
<jsp:plugin type="applet" code="Uploadimg3.class" codebase="WEB-INF/classes/mapuser" width="400" height="400">
</jsp:plugin>
</body>
</html>
if the plugin tag is wrong then please send me the correct coding for "jsp: plugin" with explaination.
this is my directory hierarchy..
jspfiles-->directory(folder)
Prakash/jspfiles/displaymap1.jsp ----->this file has the plugin tags as mentioned above..
Prakash is my context..
WEB-INF/
classes/Mapuser_serv.class -----> this is a servlet file
mapuser/
Uploadimg3.java -----> this is a Applet file
Uploadimg3.class
Mapuser1.java ---> i used this file to fetchdata from db ,please forget this file ..
Mapuser1.class
with regards,
Thomas..It might be the restrictions java has about opening files in a web browser. I don' t know if it's allowed or not..
-
Hi,
I was wondering if you have any tips on using bc4j in applets. The 2 biggest problems I'm having is the jar size of the applet after all libs are included
(4MB+) and the fact that I can't use XDK, JNDI, BC4J and some other libs from applets unless I sign them or change the policy file at each client using the applets.
I really think all the calls to System.getProperties(), etc. should be placed inside try catch blocks to catch the security exceptions raised by xdk, RMIInitialContextFactory, etc. and handled using
defaults for properties... it'd be even better if these properties could be set in another way as well.
Thanks in advance,
Leonardo BuenoFYI... my environment is:
Oracle9iAS (9.0.3.0.0)
JDeveloper (9.0.3.4) -
Hello,
I've got an applet that consumes a lot of CPU. I'm studying to migrate this applet to a pda, but it's not enough cpu for it. I'm reading JMF docs and I decide to generate a movie with the output of an applet. �If it's possible? My idea is to create the movie on the server. I can modify my applet to avoid the use of the applet inheritance and then render the output to an standard movie format. After I will send the movie to the browser
You can see the applet here. Click on View route 3D under the flash movie.
http://www.tmb.net/vullanar/en_US/resultatcerca.jsp?tipusrepre=0&origenx=31514.420&origeny=82758.000&descripcioorigen=L1+-ARCDE+TRIOMF&destix=34704.550&destiy=87378.460&descripciodesti=L2+-ARTIGUES-SANTADRI%C0&tipustransport=0&numtransbords=2&tempscaminant=20&velocitatcaminant=1&tipushora=1&dia=27&mes=05&hora=12&minut=22&idioma=en_US&operador=TMB&poblacioorigen=1&poblaciodesti=1
Thanks in advance,
David B.passionforjava2 wrote:
...I have issues with applet unable to transmit voice using JMF. i know it is a security issue. As the error on the console says
java.lang.RuntimeException: No permission to capture from applets
Error : Couldn't create DataSourceWhen JMF is installed, it generally offers a checkbox to allow or deny 'capture in applet'. By default it is not checked, and if the user goes with that recommendation, I am not sure that anything will overrule that.
In a folder iPhone/myphone/What is the URL where we can visit this applet?
.. i have applet embedded html file along with .jar files with required classed and applet signed. Are you prompted to trust the digitally signed code? You can see the dialog I mean by visiting the applet linked from [http://pscode.org/test/docload/].
..Along with that .jar i do have jmf.jar and java.policy.applet file and jmf.properties file . Forget the policy files, they are a waste of time, and completely impractical for end users. -
Using JNI with weblogic JSP & Servlets
I want to use native libraries from JSP and Servlets.
Everything works fine befire redeploying.
After redeploying there is an error:
Servlet failed with Exception
java.lang.UnsatisfiedLinkError: Native Library D:\WINNT\system32\XXXX.dll
already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1346)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at HelloWorld.<clinit>(HelloWorld.java:9)
at NativeTestServlet.doGet(NativeTestServlet.java:31)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:208)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1127)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Can anybody solve it?
Best wishes, Oleg.
Java will not allow us to reload any class that is dependent on a native
library. I suggest that any classes that depend on native code should be
put in the system classpath. If you change these classes or the native
library you will need to restart your server.
Sam
"Jennifer Yin" <[email protected]> wrote in message
news:[email protected]...
> Oleg-
>
> I'm having the exact same problem and was wondering how you fixed it. I
ran
> javah -jni <classname> to verify the correct method call and have also
verified
> that the library file is included in the system path.
>
> Any other suggestions?
>
> Jennifer
>
> Oleg wrote:
>
> > I want to use native libraries from JSP and Servlets.
> > Everything works fine befire redeploying.
> > After redeploying there is an error:
> >
> > Servlet failed with Exception
> > java.lang.UnsatisfiedLinkError: Native Library
D:\WINNT\system32\XXXX.dll
> > already loaded in another classloader
> > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1346)
> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
> > at java.lang.Runtime.loadLibrary0(Runtime.java:749)
> > at java.lang.System.loadLibrary(System.java:820)
> > at HelloWorld.<clinit>(HelloWorld.java:9)
> > at NativeTestServlet.doGet(NativeTestServlet.java:31)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> > :208)
> > at
> >
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
> > ntext.java:1127)
> > at
> >
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
> > :1529)
> > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> > >
> >
> > Can anybody solve it?
> >
> > Best wishes, Oleg.
>
-
How to use dll with applet?
I want to use a dll with a applet.
I try several solutions : signed applet, dll in jar, ... But without any result.U can use it if u sign the applet. It is a bit trick way though.
Create an inputstream, read and copy the dll to some where path is defined (System dir for ex) from jar. Then load that library.. But u need a dummy class for that before starting applet. Rest is ur brain.. Best of luck. I tried and succeded. -
Hi -
We have a few applets accessing EJB's on WebLogic 5.1 (SP 6) which utilize
"t3" as the protocol and don't have any problem getting Contexts and issuing
requests. However, once we switch to t3s, we get an error indicating that
the server can't be found at t3s://myserver:443. This is not a firewall
problem (we've tested it with no firewall in place), nor does it appear to
be a certificate problem (WL server is running in 128-bit mode with a valid
cert, etc.) Does anyone have any experience running applets and WL,
particularly over t3s? I've included a stack trace below. Thanks in
advance -
Andy
[email protected]
=========================
javax.naming.CommunicationException. Root exception is
java.net.ConnectException: No server found at T3S://myserver:443
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:161)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:195)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:148)
at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:123)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
[applet call stack goes here]
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)FYI, I believe we have a legitimate fix, but we're still waiting for an
official stance from WL. The "fix" we've implemented includes the previously
mentioned workaround, plus the layering of SP8 weblogic.security package on
top of SP6.
Andy
"Andrew King" <[email protected]> wrote in message
news:[email protected]...
Hi -
It appears there's a bug with WL's RSA classes in SP6 (RSAKey, RSApkcs1),
128-bit vesion. We've hacked a couple of fixes which appear to work, butI'm
wondering if anyone else can confirm this. Thanks -
Andy
"Andrew King" <[email protected]> wrote in message
news:[email protected]...
Hi -
We have a few applets accessing EJB's on WebLogic 5.1 (SP 6) which
utilize
"t3" as the protocol and don't have any problem getting Contexts andissuing
requests. However, once we switch to t3s, we get an error indicating
that
the server can't be found at t3s://myserver:443. This is not a firewall
problem (we've tested it with no firewall in place), nor does it appearto
be a certificate problem (WL server is running in 128-bit mode with avalid
cert, etc.) Does anyone have any experience running applets and WL,
particularly over t3s? I've included a stack trace below. Thanks in
advance -
Andy
[email protected]
=========================
javax.naming.CommunicationException. Root exception is
java.net.ConnectException: No server found at T3S://myserver:443
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:161)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:195)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:148)
at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:123)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
[applet call stack goes here]
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) -
Hey,
I have a website which has an applet on one of the pages. I put in code that uses a socket to connect to MY computer. ( i want to use my computer as a server which stores data/accounts/etc) A SecurityException was thrown when I tested the applet. Is what I'm trying to do possible? or does something like this have to connect to a server which is on my website?
ThanksI believe you can run something like this by signing the applet.
And then the user has the option of allowing or disallowing a signed applet to do that kind of thing. I don't know which is the default. -
Problem using SAAJ with Applets
This method to do a SOAP connection call does not work within a Applet -- but it works fine otherwise.
Any help would be appreciated.
Thanks.
public void execute() {
try {
SOAPConnectionFactory
soapConnectionFactory = SOAPConnectionFactory.newInstance();
connection = soapConnectionFactory.createConnection();
response = connection.call(request, endpoint);
connection.close();
} catch (Exception ex) {
ex.printStackTrace();
} Trace follows:
Jun 8, 2006 8:22:12 PM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0009: Message send failed
com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
at imt.util.SOAPTrans.execute(SOAPTrans.java:52)
at test.util.applet_soap.init(applet_soap.java:54)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 4 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 6 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setFactory)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkSetFactory(Unknown Source)
at java.net.HttpURLConnection.setFollowRedirects(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:239)
... 7 more
CAUSE:
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at imt.util.SOAPTrans.execute(SOAPTrans.java:52)
at test.util.applet_soap.init(applet_soap.java:54)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 6 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setFactory)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkSetFactory(Unknown Source)
at java.net.HttpURLConnection.setFollowRedirects(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:239)
... 7 more
CAUSE:
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at imt.util.SOAPTrans.execute(SOAPTrans.java:52)
at test.util.applet_soap.init(applet_soap.java:54)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 6 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setFactory)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkSetFactory(Unknown Source)
at java.net.HttpURLConnection.setFollowRedirects(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:239)
... 7 more
java.lang.NullPointerException
at imt.util.SOAPTrans.getXMLResponse(SOAPTrans.java:37)
at test.util.applet_soap.init(applet_soap.java:56)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)Solved my own problem.
I was erroneously not signing one of my jar files.
cheers. -
Need help with applet servlet communication .. not able to get OutputStream
i am facing problem with applet and servlet communication. i need to send few image files from my applet to the servlet to save those images in DB.
i need help with sending image data to my servlet.
below is my sample program which i am trying.
java source code which i am using in my applet ..
public class Test {
public static void main(String argv[]) {
try {
URL serverURL = new URL("http://localhost:8084/uploadApp/TestServlet");
URLConnection connection = serverURL.openConnection();
Intermediate value=new Intermediate();
value.setUserId("user123");
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(false);
connection.setDefaultUseCaches(false);
// Specify the content type that we will send binary data
connection.setRequestProperty ("Content-Type", "application/octet-stream");
ObjectOutputStream outputStream = new ObjectOutputStream(connection.getOutputStream());
outputStream.writeObject(value);
outputStream.flush();
outputStream.close();
} catch (MalformedURLException ex) {
System.out.println(ex.getMessage());
} catch (IOException ex) {
System.out.println(ex.getMessage());
}servlet code here ..
public class TestServlet extends HttpServlet {
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println(" in servlet -----------");
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
ObjectInputStream inputFromApplet = null;
Intermediate aStudent = null;
BufferedReader inTest = null;
try {
// get an input stream from the applet
inputFromApplet = new ObjectInputStream(request.getInputStream());
// read the serialized object data from applet
data = (Intermediate) inputFromApplet.readObject();
System.out.println("userid in servlet -----------"+ data.getUserId());
inputFromApplet.close();
} catch (Exception e) {
e.printStackTrace();
System.err.println("WARNING! filename.path JNDI not found");
} finally {
out.close();
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println(" in foGet -----------");
processRequest(request, response);
* Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println(" in doPost -----------");
processRequest(request, response);
* Returns a short description of the servlet.
* @return a String containing servlet description
@Override
public String getServletInfo() {
return "Short description";
}// </editor-fold>
}the Intermediate class ..
import java.io.Serializable;
public class Intermediate implements Serializable{
String userId;
public String getUserId() {
return userId;
public void setUserId(String userId) {
this.userId = userId;
}Hi,
well i am not able to get any value from connection.getOutputStream() and i doubt my applet is not able to hit the servlet. could you review my code and tell me if it has some bug somewhere. and more over i want to know how to send multiple file data from applet to servlet . i want some sample or example if possible.
do share if you have any experience of this sort..
Thanks. -
How to show an html page using JEditorPane in applet.
I have never use jeditorpane with applet so i dont know how to show a html page.if you have some code or any example then please posted that.Thanks
public class MyApplet extends JApplet{
private JTextPane textPane = null;
public void init(){
HTMLEditorKit editorKit = new HTMLEditorKit();
HTMLDocument htmlDoc = (HTMLDocument)editorKit.createDefaultDocument();
textPane = new JTextPane();
textPane.setEditable(false);
textPane.setEditorKit(editorKit);
textPane.setContentType("text/html");
textPane.setDocument(htmlDoc);
Container c = getContentPane();
c.add(new JScrollPane(textPane), BorderLayout.CENTER);
c.add(buttonPanel, BorderLayout.SOUTH);
c.add(Box.createVerticalStrut(5), BorderLayout.NORTH);
c.add(Box.createHorizontalStrut(5), BorderLayout.EAST);
c.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
public void setHtml(String html){
// you should check the textpane's document to detrmine if there
// is already text in there..if so, then clear the textpane text and then
// set the new html...Note: JTextPane only show basic Html ..
// not like a full blown browser
textPane.setTextt(html);
textPane.setCaretPosition(0);
} -
Hi,
This may be a dumb question but I'm new to JDeveloper. I created my Business Components and can use it inseide applets and JSP's - but ich couldnt find a way to use it (via wizzard) inside a servlet. Could anybody give me a tip
TIA
Oliver
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Roberts ([email protected]):
I would like to use the functionality of bc4j data tags inside servlets.
My aim is to do code intensive operations inside a servlet and forward the results, if necessary, to a JSP page.
The most convenient way of accessing data in BC4J are the JSP data tags. I was wondering if there is a way of instantiating them as normal Java Classes in a servlet, and using class methods to perform the database update operations that I want?<HR></BLOCKQUOTE>
null -
Hi
i was trying to do some example with JNI. I can use JNI with standalone Java application but I just cannot figure out how I can use JNI with Servlet.
Can some one show me a sample code using JNI with Servlets.
thanks very muchhi,
I am also facing the same problem,
when I am using JNI with stand alone application it works fine but when i tried to use it with a servlet It gives unsatisfied linker error
stack: java.lang.UnsatisfiedLinkError: createSocket
at RelayConnector.createSocket(Native Method)
at RelayServlet.doGet(RelayServlet.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:458)
It seems i have to do some path settings in my iplenet web server.
If some one have faced the problem i would be glad to know the solution for this, i am literally bugged up,.... -
Use XML Digital Signature(Apache XML security) with Applet
I have problem when I use xml-security-1_2_1 library from Apache with applet and access denied errors occur.
6 May 2005 10:06:45 org.apache.xml.security.Init init
SEVERE: Bad:
java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.xml.security.resource.config read)
bla bla....
How should I do ? Please! T_T and thank you ..An applet cannot read the local file system, connect to any other computer than the one
it came from or read properties it's not supposed to read. And I think it cannot write to any
property.
If you sign the applet or set up a policy for it the applet can do the same as an application
allthough the jre will still check the stack trace if the entire stack has the same privileges
as you signed applet.
http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
second post and last post for the java class file
Maybe you are looking for
-
MacBook Air Mid-2013 Battery Draining FAST (about 5-6 hours at best)
I have been having problems with my Mac's battery draining very fast even on light usage. Simply using Safari will drain my battery in 5 to 6 hours, when my laptop would last the stated 12+ hours before when browsing the internet. I followed these st
-
End of file reached when saving?
Hello, I have 3 short movies (around one minute each) that I want to append using QuickTime (I do that all the time, and these 3 movies are taken from the same source than the other usually used). So, I copy and paste all of them in a new movie and t
-
Sending mail based on condtion using smartform
Hi friends, I have header data and item data...in the below way.. header data vbeln = 1000 item data posnr recipient materail no quanity amount 10 1000 abc 100 10
-
Original photo size without using full screen mode...
Like in Preview. Is there a way?
-
Why am I given option to "convert selection to aac"?
Help with AAC and my library being added all at once to Itunes I just downloaded Itunes 5.0 for the first time. I am about to purchase an Ipod. Most of my music was downloaded via napster and lots of it is wma protected (not sure if that is relevant