Servlet / JSP hosting
Hi!
I need FREE servlet / jsp hosting.
I searched the net, but I didn't found a provider that hosts ~10Mb of servlets, jsp and mysql database.
I realy need it to earn money. Can anyone help me??
the provider has to give me access to a 10 Mb mysql database, and 5 jsp pages.
Thanks in advance.
no, they don't provide mysql database.
I already tested it.
Or am I in wrong?? in this case, can you explain me how to add a mysql database on mycgiservers??
thanks.
Similar Messages
-
Hosting a Servlet-JSP application onto Portal
Hi,
I have a scenario where I need to host a pure Servlet-JSP based application onto portal.
This application is not developed using Web Dynpro. It is a pure java based application having two separate URLs for Dev and for Production.
Now I want to give access point to this application via SAP Portal. How can I achieve it?
Thanks and regards,
Amey MogareThank you for reply Michael.
Actually, this TestApp is already deployed on its Dev as well as Prod server as ear file. So we can use same ear file? If yes, then how? If not, then how do I go about?
But I have one question here. How will we manage the different URLs of this application on portal?
I mean, how would Production portal will know to point to production URL of this application???
Thanks and regards,
Amey Mogare
Edited by: Amey Mogare on May 22, 2009 8:29 AM -
Using sjsws to host many small servlet/jsp sites on one server
Hello. I visited the web page at http://www.sun.com/software/products/web_srvr/features.xml, which mentions that sjsws supports mass hosting of thousands of domains. Anyone knows more information about this feature? I want to find out whether sjsws is a good choice for hosting many small servlet/jsp sites on one server.
Some time ago, I tried using apache+tomcat to host many small servlet/jsp sites on one server. But the result was not satisfactory. If a private tomcat/jvm is used for each site, too many resources are consumed and as a result, not many sites can be hosted on one server. If a shared tomcat/jvm is used for all sites, the resources consumed are reduced, but it becomes very difficult to isolate the sites. Is it possible to overcome such problems with sjsws?
Thx.Of course you dont have to use multiple VMs to host multiple applications.
You can either choose to have multiple Virtual Servers, all in one instance of the web server, serving multiple applications. In this case only one java VM is used.
Or you can go in the route posted in the link above, in which there is only one "physical" virtual server, with many dynamic virtual servers.
Whether you chose to have many multiple web applications, or do the server division in a similar way to what is described in the blog, it is up to you.
Many different web applications will give you more fine level control on the application separation, but it will probably also mean greater resource consumption associated to the web application managing.
Less web applications, but with dynamic separation, in a similar way to what is described in the blog, will give a lesser control on the applications, but will save you a good number of resources.
SJS Web Server is known to work in massive web sites, with very high number of JSPs and Servlets. There is some real life examples of this massive hosting. Maybe others can provide some numbers here :P -
hi,
I try to view my presentation in jsp page.I use oracle jdeveloper 9.2.0.4 and bibeans 9.2.0.4 and once 1 month ago I did this taks (I view a presentation from bibdemo in jsp file)
now I try to view my own presentation in jsp but I recieve error message in my own schema and bibdemo schema!!
when I use windows xp I recieve following error :
500 Internal Server Error
javax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.
BIB-10101 Handler failed to handle UserObject.
BIB-14067 Persistable object threw exception during lookup on method setXMLAsString; component class oracle.dss.dataSource.client.QueryClient; exception oracle.dss.util.persistence.BIPersistenceException.
BIB-9509 Oracle OLAP did not create cursor.
oracle.olapi.data.source.UnmatchedInputsException
BIB-9509 Oracle OLAP did not create cursor.
oracle.olapi.data.source.UnmatchedInputsException
oracle.olapi.data.source.UnmatchedInputsException
at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:194)
at test.jspService(test.jsp:6)
[test.jsp]
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
and when I use windows NT I recieve following error :
500 Internal Server Error
javax.servlet.jsp.JspException: java.lang.NullPointerException
at oracle.dss.addins.jspTags.RenderTag.doEndTag(RenderTag.java:212)
at kafa_report__7._jspService(kafa_report_7.jsp:18)
[kafa_report_7.jsp]
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
I
what the problem is ????????
thanks in advance,hi,
here the result :
<?xml version="1.0" encoding="UTF-8" ?>
- <BICheckConfig version="1.0.2.0">
<Check key="JDEV_ORACLE_HOME" value="d:\jdev904" />
<Check key="JAVA_HOME" value="C:\j2sdk1.4.2_01" />
<Check key="JDeveloper version" value="9.0.4.0.1419" />
<Check key="BI Beans release description" value="BI Beans 9.0.4 Production Release" />
<Check key="BI Beans component number" value="9.0.4.23.0" />
<Check key="BI Beans internal version" value="2.7.5.32" />
<Check key="host" value="200.20.20.11" />
<Check key="port" value="1521" />
<Check key="sid" value="ora10g" />
<Check key="user" value="dw_targetschema" />
<Check key="Connecting to the database" value="Successful" />
<Check key="JDBC driver version" value="9.2.0.4.0" />
<Check key="JDBC JAR file location" value="D:\jdev904\jdev\lib\patches" />
<Check key="Database version" value="10.1.0.2.0" />
<Check key="OLAP Catalog version" value="10.1.0.2.0" />
<Check key="OLAP AW Engine version" value="10.1.0.2.0" />
<Check key="OLAP API Server version" value="10.1.0.2.0" />
<Check key="BI Beans Catalog version" value="N/A; not installed in dw_targetschema" />
<Check key="OLAP API JAR file version" value="9.2" />
<Check key="OLAP API JAR file location" value="d:\jdev904\jdev\lib\ext" />
<Check key="OLAP API Metadata Load" value="Successful" />
<Check key="Number of metadata folders" value="2" />
<Check key="Number of metadata measures" value="1" />
<Check key="Number of metadata dimensions" value="3" />
- <Check key="OLAP API Metadata">
- <![CDATA[
==============================================================================
Type Name (S=Schema, C=Cube, M=Measure, D=Dimension) Status
========= ======================================================= ============
Folder... ROOT
Folder... KAFA_COLLECTION
Folder... KAFA_COLLECTION2
Measure.. SALARY Unsuccessful
S=DW_TARGETSCHEMA, C=EMPLOYEMENT_CUBE, M=SALARY
Connection lost. Reconnect Successful
Dimension DEP_DIM Successful
S=DW_TARGETSCHEMA, D=DEP_DIM
Dimension EMP_DIM Successful
S=DW_TARGETSCHEMA, D=EMP_DIM
Dimension JOB_DIM Successful
S=DW_TARGETSCHEMA, D=JOB_DIM
]]>
</Check>
- <Check key="StackTrace">
- <![CDATA[
============================================================================
Queries on the following measures or dimensions failed
(S=Schema, C=Cube, M=Measure, D=Dimension)
"SALARY" measure query with S=DW_TARGETSCHEMA, C=EMPLOYEMENT_CUBE, M=SALARY
============================================================================
Exception stacktrace for "SALARY" measure query with S=DW_TARGETSCHEMA, C=EMPLOYEMENT_CUBE, M=SALARY
============================================================================
1) BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
2) BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
1) BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
============================================================================
oracle.dss.dataSource.common.QueryRuntimeException: BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
java.lang.CloneNotSupportedException: BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
at oracle.dss.dataSource.common.Query.addQueryListener(Query.java:480)
at BICheckConfig.runDefaultMeasureQuery(BICheckConfig.java:480)
at BICheckConfig.printFolder(BICheckConfig.java:405)
at BICheckConfig.printFolder(BICheckConfig.java:464)
at BICheckConfig.checkConnection(BICheckConfig.java:350)
at BICheckConfig.main(BICheckConfig.java:1348)
2) BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
============================================================================
java.lang.CloneNotSupportedException: BIB-9009 Oracle OLAP could not create cursor.
oracle.express.idl.util.OlapiException: No more data to read from socket
at oracle.dss.dataSource.common.CubeCursor.clone(CubeCursor.java:387)
at oracle.dss.dataSource.common.Query.addNewCubeCursorCopy(Query.java:2366)
at oracle.dss.dataSource.common.Query.addQueryListener(Query.java:477)
at BICheckConfig.runDefaultMeasureQuery(BICheckConfig.java:480)
at BICheckConfig.printFolder(BICheckConfig.java:405)
at BICheckConfig.printFolder(BICheckConfig.java:464)
at BICheckConfig.checkConnection(BICheckConfig.java:350)
at BICheckConfig.main(BICheckConfig.java:1348)
]]>
</Check>
</BICheckConfig>
when I was transfering the collection from warehouse builder to database I recieve some error messages.
but when I try to connect to database from bibeans every thing was ok so I thougth maybe it is because of that.
and that about bibdemo why it doesn't work???
it works before and I check it with bi_checkconfig
thanks ,
shima -
Disable tomcat servlet & jsp examples
Running apache 2.0.63 on my nw65sp8 server, using it to host my web
page. Server is also running tomcat 4.1 for misc other things such as
GW webaccess.
I'm wondering what I need to do to 'disable' the servlet & jsp examples
from being available from my webpage.
IE, so if I go to the following urls, nothing happens:
http://my_web_page/examples/servlets/index.html
http://my_web_page/examples/jsp/index.html
https://my_web_page/examples/servlets/index.html
https://my_web_page/examples/jsp/index.html
Thanks,
StevoNevermind, got it.
In the portion of my httpd.conf where I'm loading the jk_module stuff
(IIRC I had to put this stuff in for webaccess), I rem'd out the line
to jkmount the examples.
Stevo -
How to -only- invoke a Servlet/JSP
Hi,
I would like to invoke a Servlet or JSP inside a standalone application WITHOUT opening a stream. When I use url.openConnection() or con.connect() the servlet/JSP is not executed, I must also do "ObjectInputStream o = new ObjectInputStream(con.getInputStream());" in order to get the servlet/jsp executed.
I just want to invoke the servlet/JSP, because I use the returned data for nothing.
ThanksIf you openConnection, you might also have to get the output stream from the servlet to make it work properly. (Otherwise, the server, or proxies in-between, might consider that the client has decided it doesn't want the page after all, and may stop requesting it.)
A cheap way to request a page but get less data back would be..
conn.setRequestMethod("HEAD");HEAD is exactly like GET, except it doesn't return the body (just the headers, hence the name.) Not entirely sure if it works on Java.
Failing that, you should be able to just open the input stream, and close it again straight away. -
Hi,
I have 2 servers.
One with WebLogic6.1 & one with WebLogic9.2
With WL6.1, i have errors like :
<i>
<2 août 2006 13:00:20 IRST> <Error> <HTTP> <[WebAppServletContext(10414345,imargo,/imargo)] Root cause of ServletException
javax.servlet.jsp.JspException: Missing message for key MG01.loc.index
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:297)
at jsp_servlet._jsp.__im_in_tec_MGN01_MGN001._jspService(__im_in_tec_MGN01_MGN001.java:1711)
</i>
With WL9.2, i don't have those errors in my logs...
I have no errors o_o
Help me plz
Many thanksI never used DynaActionForm, what I have noticed here is, don't you need to declare the form bean? I may be wrong.
<form-beans>
<form-bean name="newProdForm" type="com.package.form.NewProdForm"></form-bean>
</form-beans> -
why i cant open my report in JDeveloper tools but i can open in report builder ????
this is the error i get ...
Reports Error Page
Fri Oct 18 15:41:54 SGT 2002
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
int oracle.reports.jsp.ReportTag.doStartTag()
ReportTag.java:329
void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
MyReport.jsp:4
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpJsp.java:119
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
JspPageTable.java:302
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:407
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:328
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:336
void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:684
void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:269
boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:735
void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:243
void com.evermind.util.ThreadPoolThread.run()
ThreadPoolThread.java:64i still get the same error .. is it i need to set any environment variable or ... any setting ...??
login Oracle Database
user name = system
password = manager
services = dbhenry
setting JSP Report
Report Name = MyReport1
Reports Server = reportserver
Parameters = userid=system/manager@dbhenry
the cource code below is my JSP report coding :
<rw:report id="MyReport1" parameters="server=reportserver&userid=system/manager@dbhenry">
<rw:objects id="objects">
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<report name="MyReport1" DTDVersion="9.0.2.0.0">
<xmlSettings xmlTag="MYREPORT1" xmlPrologType="text">
<![CDATA[<?xml version="1.0" encoding="&Encoding"?>]]>
</xmlSettings>
<data>
<dataSource name="Q_1">
<select>
<![CDATA[SELECT ALL HENRY.TEL, HENRY."ADD", HENRY.NAME, HENRY.ID
FROM HENRY ]]>
</select> -
How to display RTF File in Browser Using Servlets/JSPs
Hi All,
I have some RTF Files, which contains some data.
The data needs to be displayed in the frame of jsp page .
How i can display the RTF File Content using either servlets/jsps
Can any body have idea on this.
Help me out on this.
With Regards
HariIf you only need to display it, consider your HttpServletRequest just as byte stream. :) Just read from ServletInputStream and write it back into ServletOutputStream of HttpServletResponse.
If you want to process incoming XML, please give some details first, what exactly you want to do. :) -
Problem: package javax.servlet.jsp does not exist
I am a novice JSP programmer. My projects that use any javax.servlet classes are not seeing those at all. I am working with a group of folks using Java SE 1.5. (Note: I'm using Windows so the directory separator is "\")
What Used to work:
1. Nearly all my projects were working using Java version 1.6. These projects were developed as examples from Wrox and Apress books about JSP and Struts.
What has changed:
1. I un-installed the version 1.6 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
2. I installed version 1.5 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
3. I updated my JAVA_HOME, CATALINA_HOME, CLASSPATH, and PATH environmental variables. I made sure that the path to servlet-api.jar (in the tomcat common\lib) is included in the classpath.
What is wrong:
1. References to javax.servlet.* are not satisfied--they are flagged in the source code in NetBeans and I get compiler errors with any project containing those references. For example:
... package javax.servlet.jsp does not exist
import javax.servlet.jsp.*;
What I've found:
1. My CATALINA_HOME=C:\Java\Tomcat 5.5
2. My JAVA_HOME=C:\Java\jdk1.5.0_11
3. My CLASSPATH=.;C:\Program Files\QuickTime\QTSystem\QTJava.zip;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;%JAVA_HOME%\lib\jsp-api.jar;%CATALINA_HOME%\common\lib\servlet-api.jar;C:\Java\logging-log4j-1.2.14\dist\lib\log4j-1.2.14.jar
4. My PATH=c:\wint\BIN;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%CATALINA_HOME%\bin;C:\MySQL\MySQL Server 5.0\bin;D:\MiKTeX 2.5\miktex\bin;C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\SFU\Perl\bin\;C:\SFU\common\;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Bin;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Win32\Bin
What I need:
1. I need to have some reference to the servlet classes satisfied in my configuration. Any help is appreciated.
thanks
jondrOh. I got some over-the-shoulder debug help.
My error was in the classpath specification:
The path: %JAVA_HOME%\lib\jsp-api.jar
Should be: %CATALINA_HOME%\lib\jsp-api.jar
That contains the javax.servlet.jsp.*
Thimk.
Message was edited by: jon
jondr -
Need a good charting library (for use in a servlet/jsp environment)
Anyone know of a good charting library for use in a servlet/jsp environment.
Use JFreechart combined with cewolf.
www.object-refinery.com/jfreechart/
To use charts in a jsp page you can use cewolf ( a taglib) based on jfreechart.
http://cewolf.sourceforge.net/
Both are free. -
Javax.servlet.jsp.el.ELParseException in WLS 9.1
I have a spring/hibernate application working fine on Tomcat. I am trying to make it work on weblogic 9.1 and get javax.servlet.jsp.el.ELParseException. Does anyone know what could be wrong? Thanks.
I am using a 2.3 web.xml. The first line in my web.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
The error I get is:
Error 500--Internal Server Error
javax.servlet.jsp.el.ELParseException: Error occured while trying to parse 'command.listHolder.source[${results.firstElementOnPage + forStatus.count - 1}].selected'
at javelin.jsp.el.ExpressionEvaluatorImpl.parseEL(ExpressionEvaluatorImpl.java:113)
at javelin.jsp.el.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:82)
at javelin.jsp.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:73)
at org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:216)
at org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(ExpressionEvaluationUtils.java:150)
at org.springframework.web.servlet.tags.BindTag.doStartTagInternal(BindTag.java:104)
at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:68)
at jsp_servlet._web_45_inf._pages._templates.__td_45_pick._jspService(__td_45_pick.java:3618)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
..... -
Class not found javax.servlet.jsp.jstl.sql.Result in Richfaces
When I try to run the richfaces application using Weblogic 10.3 AS and Netbean IDE 6.9.1, I found ClassNotFoundException on javax.servlet.jsp.jstl.sql.Result class.
I class path the following libs.
commons-beanutils-core-1.8.0.jar
commons-digester-1.8.jar
commons-fileupload-1.2.1.jar
commons-io-1.2.jar
commons-logging-1.1.1.jar
glassfish.el_2.1.1.jar
glassfish.jsf_1.2.9.0.jar
javassist-3.8.0.GA.jar
jhighlight-1.0.jar
jsf-facelets.jar
jsf-api.jar
log4j-1.2.14.jar
richfaces-api-3.3.0.GA.jar
richfaces-impl-3.3.0.GA.jar
richfaces-ui-3.3.0.GA.jar
glassfish.jstl_1.2.0.1.jar
Also I try to deploy without using some jar files already exists in application server.
My web.xml configuration is-
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>#{skinSelector.skin}</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
<param-value>enable</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.SKIN</param-name>
<param-value>skin_name</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
I also try to configure <library-ref>....</libray-ref> configuration in weblogic.xml and weblogic-application.xml and I also deploy JSF-2.0.war as library in application.
Please
h5.MUTUSo why didn't you think that the JSP forum here wasn't a good place to ask JSP questions like this one?
You can use <c:for-each> with a List. That's how it's designed. I don't understand why you say you can't. Perhaps you were confused by the SQL tags in JSTL. But anyway, you should just return a List from your EJB and forget about using obscure internal JSP classes. -
"javax.servlet.jsp.JspException: null" When trying to use JSTL
Hello,
I am trying to use some taglibs from Apache but I am getting the following error when trying to access the relevant page:
org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: null
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspService(EL_005f2_jsp.java:171)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(Unknown Source)
org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspx_meth_c_set_0(EL_005f2_jsp.java:208)
org.apache.jsp.WEB_002dINF.EL_005f2_jsp._jspService(EL_005f2_jsp.java:113)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.Questions_jsp._jspService(Questions_jsp.java:42)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)My web.xml file is as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
version="2.4">
<display-name>Jsp_Ex09 - JSP Standard Tag Library</display-name>
<welcome-file-list>
<welcome-file>welcome.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>/simplequestions</taglib-uri>
<taglib-location>/WEB-INF/tlds/simplefaq.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
</taglib>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>false</el-ignored>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>
</web-app>I have the standard and jstl jars in my lib directory and the relevant tlds files int the tlds directory. I am using Tomcat 5.5 and J2EE 5.
The jsp in question is as follows:
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
<title>JSTL Q2</title>
</head>
<body>
<h1>JSTL Question 2</h1>
<h2>How do I use the JSTL?</h2>
<jsp:useBean id="questions" class="com.apress.faq.Questions"
scope="page">
<jsp:setProperty name="questions" property="topic" value="EL"/>
</jsp:useBean>
<table border="1">
<!-- the literal JSTL tag will be in left column of table -->
<!-- the evaluated JSTL tag will be in right column of table -->
<tr><th>tag</th><th>result</th></tr>
<!-- this tag uses c:out to send the value of an EL to the response -->
<tr><td><c:out value="${'${'}questions.topic}"/></td>
<td><c:out value="${questions.topic}"/></td>
</tr>
<!-- this tag uses c:set to set the property of a JavaBean -->
<c:set target="${questions}" property="topic" value="JSTL" />
<tr>
<td><c:set target="${'${'}questions}" property="topic"
value="JSTL"/>
</td>
<td><c:out value="${questions.topic}"/></td>
</tr>
<!-- this tag uses c:if to determine whether to create another row -->
<c:if test="${questions.topic == 'EL'}">
<tr><td>This row will not be created</td>
<td></td>
</tr>
</c:if>
<c:if test="${questions.topic == 'JSTL'}">
<tr><td>This row was created because the c:if tag result was true</td>
<td></td>
</tr>
</c:if>
</table>
<h2>Multiplication table, 1 - 5</h2>
<!-use the forEach tag to create a table -->
<table border="1">
<tr><td></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<c:forEach var="i" begin="1" end="5">
<tr><td><c:out value="${i}"/></td>
<c:forEach var="j" begin="1" end="5">
<td><c:out value="${i*j}"/></td>
</c:forEach>
</tr>
</c:forEach>
</table>
<h2>Formatting numbers</h2
<br><fmt:formatNumber value="23.456" type="number" /> results in
<fmt:formatNumber value="23.456" type="number" />
<br><fmt:formatNumber type="currency">23.456
</fmt:formatNumber> results in <fmt:formatNumber
type="currency">23.456</fmt:formatNumber>
<br><fmt:formatNumber value=".23456" type="percent"/> results
in <fmt:formatNumber value=".23456" type="percent"/>
<br><fmt:formatNumber value=".23456" type="percent"
minFractionDigits="2"/> results in <fmt:formatNumber
value=".23456" type="percent" minFractionDigits="2"/>
</body>
</html>Can anyone spot the problem?
Sorry for such a big post!ava.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(Unknown Source)From the stacktrace, it appears to be from a <c:set> tag.
Invocation target exception would meant that an error was encountered calling the setter.
That would focus on this part of the code:
<!-- this tag uses c:set to set the property of a JavaBean -->
<c:set target="${questions}" property="topic" value="JSTL" />
<tr>
<td><c:set target="${'${'}questions}" property="topic"
value="JSTL"/>
</td>That nesting of ${ } inside ${} looks dodgy to me. What is it you are trying to achieve? -
Hi All,
I'm a System Engineer. My application code in Java and using JDK 1.3.1.
My Application deploy in IBM iSeries V5R2 and not error. But after I upgrade to iSeries V5R3, my application encounter missing message error such as "javax.servlet.jsp.JspException: Missing message for key common.business.BankAddress".
I already downgrade for iSeries V5R3 to JDk 1.3.1.
Did Weblogic 6.1 support IBM iSeries V5R3?
Do you have any ideas?
Thank you.hi siewmun ,
weblogic 6.1 does't support IBM iSeries V5R3 .
IBM iSeries V5R3 is supported by IBM products mostly.
go through the link, you can find the documention on IBM iSeries v5r3
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm
Anilkumar kari
Maybe you are looking for
-
Not Connecting to Wired Network and Forcing the loss of all Connections on the Home Network
Just got a new G550 laptop w/Win 7 OS. Tried to connect to wired router and got message "network cable not connected". Recycled laptop and router and came up with router connected to the laptop. Same message after search and identify steps finished.
-
I wrote a manual using MS Word on Vista 64 bit I have images in the manual. When I open the File in Acrobat 9 Pro, the images are displayed. BUT, when I opne it in ACrobat reader, the images are black boxes ! Would you be kind to help me solve this m
-
Any method have similar function as 'when_mouse_enter' trigger in 10g
in 10g, we cannot use 'when_mouse_enter', 'when_mouse_leave' functions, is there any other functions provide similar interactive functions in 10g?
-
Constantly getting "Do Not Disconnect"
Hi, OK so I have a video ipod 60gb. I keep getting the DO NOT DISCONNECT thing flashing on my screen as soon as i connect it to the usb. I have uninstalled the usb port, reinstalled it, same thing happens. I have erased itunes and reinstalled it, sam
-
How can I guarantee the consistency of tracsaction
Hi, We have a product called SMS(Subscribe Management System). It is a CCB(Customer Care Billing) System used in DVB domain, and contains two server: billing server and customer server. Billing server is written using C++, Customer server is written