jsp « Glassfish « JSP-Servlet Q&A





1. jspx script element on GlassFish v3    stackoverflow.com

The .war is served from GlassFish v3. I am trying to include a javascript file from my jspx.

<script type="text/javascript" src="/base/interface/Service.js"></script>
I get the following in my http response
<script src="/base/interface/Service.js" type="text/javascript" />
The ...

2. Can't get jsps to isntantiate java classes in glassfish    stackoverflow.com

I'm trying to a simple thing: instantiate a normal Java Object from a JSP deployed in the default domain on GlassFish. GlassFish can never seem to find the class so ...

3. Glassfish: How does it work?    stackoverflow.com

I'm trying to learn how to create dynamic websites using Glassfish (a Java application server). I'm an advanced PHP programmer and a pretty good Java programmer, but I've never looked into ...

4. Want to display file list using jsp    stackoverflow.com

I am new to netbeans with glassfish server.My html code looks like,

<html>
    <body>
<form id="file_upload_form" method="post" enctype="multipart/form-data" action="upload.java">
    <div style="float:center">
       ...

5. Glassfish 3 - gzip compression does not work for .jsp    stackoverflow.com

Please watch this short video which shows my problem in detail: http://youtu.be/uAza4m3fxpY?hd=1 I have a Glassfish 3.1 server running a Netbeans Web Project. I have a very simple .jsp file with ...

6. First JSP + Glassfish app    stackoverflow.com

I'm very beginner, I tried to make JSP application HelloWorld, very simple like on the youtube video here http://www.youtube.com/watch?v=m_33ZHYCjf8&feature=related, without changing almost anything But on my computer I can't ...

7. My glassfish stops working after i run my web application (jsp)    forums.netbeans.org

incrivel Joined: 27 Nov 2009 Posts: 2 Posted: Fri Nov 27, 2009 3:35 pm Post subject: My glassfish stops working after i run my web application (jsp) Need ...

8. config glassfish    coderanch.com

9. Audit trail in Glassfish    coderanch.com





10. glassfish installation    coderanch.com

11. Glassfish v3 - ARH!    coderanch.com

Why o why o why have I suddenly started getting this when I try to depoy the most basic of webapps in Glassfish 3? Exception while deploying the app : org.glassfish.deployment.common.DeploymentException: Error in generating security policy for my_project -- Inconsistent Module State Everything was working find, then aboiut 3hrs ago this started and I haven't been ablle to deploy since! It's ...

12. Glassfish InitialContext From App    coderanch.com

14. Java EE 6 Glassfish App problem    coderanch.com

I have a problem trying to get my Java EE 6 test setup working according to http://blog.arungupta.me/2009/08/totd-99-creating-a-java-ee-6-application-using-mysql-jpa-2-0-and-servlet-3-0-with-glassfish-tools-bundle-for-eclipse/ In my case I use Eclipse instead of Netbeans. I have installed Eclipse 3.4.1, GlassFish v3 Java EE 6, MySQL 5.1 and have the sakila connection set up in database perspective. Here I can see the tables alright. In project facets I have Java ...

15. Glassfish + jdbcrealm    coderanch.com

Hi, I'm trying to setup a jdbcrealm in Glassfish with MySQL and I can't find any complete examples on how to do this. All the examples I've seen so far just assumes that you're going to insert the appropriate values directly into the tables, but what about the corresponding JPA entities and the mappings between them? If I have the following ...

16. Communicating with Glassfish v2 from v3    coderanch.com





17. display of JSP code in browser    java.net

I am facing a grave problem. I am using Glassfish 3.0 on ubuntu. When I change the extension of my JSP file with any random name , I get JSP code in browser instead of error page. How can I prevent it.? how can i just allow JSP , HTML and PDF extensions and block any other in my web application? ...

18. JSP Servlet not generated    java.net

20. Precompiling JSPs    java.net

That's all well and good, but on the machine I'm deploying to, this takes almost 20 minutes (and I don't have a lot of JSPs, it's just a slow machine). Once compiled, things run fine, but that deployment is agony (though not as much agony as having every mouse click take 1-2 minutes).

21. Duplicated entrie in JSP    java.net

23. OutOfMemory (Java heap space) while doing lots of JSP includes    java.net

I'm not sure about it, but I think with the RequestDispatcher.include() the includes are done on the fly (at runtime => high refresh level, low perfomance), and with the jsp directive they're included on deploy time. If you change your code to use directives, all that work should be done at deploy time and your problem should correct.

25. jsp:include and glassfish    java.net

26. Set a Cookie with JSP    java.net

27. Want to schedule task for every night at 8pm, using Java,Servlet,JSP    java.net

The features I mentioned are not available in the current release. You can use a third-party scheduler/work management API such as quartz. You can also use the existing EJB 3.0 timer functionality, but it's fairly cumbersome for your use-case. You would need to define a stateless session bean that exposes a business method that creates the timer. Then you'd need to ...

28. Using JSP , I want to do the following: - Its urgent please help    java.net

That sort of UI trick doesn't depend on Java, JSP, MySQL or anything server-side. It's just a little javascript on the client side to change the display CSS property of various elements, thereby showing and hiding elements in an order that makes them appear to rotate. If you don't want to write your own JavaScript to do it, I'd check out ...

34. Servlet is not passing value to JSP, it passes 0 instead of the real value    java.net

glassfish@javadesktop.org wrote: > I have written the following code, but still variable value is coming zero. > > Servlet calls JSP,and passes the value to JSP > > JSP code: > > String dialogidString= request.getParameter("dialogId"); > if(dialogidString == null){ > dialogidString = (String)request.getAttribute("dialogId"); > } > int dialogid= new Integer(dialogidString).intValue(); > > > Servlet code: > RequestDispatcher rd = null; > ...

36. Servlets/JSPs and crossContext?    java.net

38. Java.lang.NPE when publishing simp JSP using GlassFish JavaEE 5 SJSAS PE9.1    java.net

All Using the model from the Eclipse Web Tools Platform book by Mike Milinkovich, etal., I have created a new GlassFish server adapter plug-in (pages 566 to 580) using Eclipse IDE. This work included the creation of an Ant script to provide publishing capability. This Ant script is an xml file identified in the plug-in project as sjsas.xml.

39. JSP question    java.net

41. does glassfish supports JSP 2.2?    java.net

legolas wrote: > Hi > thank you for reading my post > Can someone please tell me whether GlassFish supports JSP 2.2? > I read in a weblog that GF 3 supports JSP 2.2 but I can not find anything > about JSP 2.2 in the web. even I was not able to find its JSR number. > > Thanks > ...

42. Problem with JSPs on AIX 5.3 and IBM JDK    java.net

One bit of speculation I have based on a bunch of Google searches is that we might be running the server on a JRE instead of a JVM. So, here's my question. Is there a definitive way to know which version of the JVM (JDK or JRE) the server is actually running on and if it is a JRE how do ...

45. glassfish/jsp    java.net

46. Jsp and xhtml    java.net

47. index.jsp cannot display?    java.net

52. Dynamic creation of JSP    java.net

53. Re: Dynamic creation of JSP    java.net

54. JSP dataSource problem    java.net

55. Glassfish suddenly failes to present JSP files of deployed web application    java.net

Hi all, I'm using glassfish v.3 with netbeans v 6.9 for a little university web project. I've set the auto-compile & auto-deploy options off in the netbeans IDE because they were very irritating and made a lot of problems. Since then, every once in a while when I use the "Clean and Build" option followed by deploying the web application in ...