Aditya Tallapally

Greenhorn
+ Follow
since Aug 28, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Aditya Tallapally

I have bunch of small JSF web apps that used to work.
I am running them on weblogic v8.

Now I am getting strange error when I am trying to run all these Web Apps

Error 500--Internal Server Error
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1018)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:894)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:873)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:812)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

It would be greatly appreciated if any body can help me.
19 years ago
JSF
I am also in the same situation.
I would like to retrieve data from multiple tables for which i have a complex sql. But I am not sure whether I can write sql in the Managed bean at the back end or come up with separate class?
If so can i get some example?
19 years ago
JSF
Here is the answer for your 1st question
http://www.exadel.com/tutorial/jsf/jsftutorial-validation.html

See this example, it shows validation like min to max etc

second question, i have to see abt it.
19 years ago
JSF
You could use javascript or backing beans as you said.
I prefer doing it using javascript, add implementation to form button.

Guys correct me if i am wrong.
19 years ago
JSF
Can any one tell me what's the problem with this faces-config.xml file:

<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

<faces-config>
<navigation-rule>
<from-view-id>/pages/inputname.jsp</from-view-id>
<navigation-case>
<from-outcome>greeting</from-outcome>
<to-view-id>/pages/greeting.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>personBean</managed-bean-name>
<managed-bean-class>jsfks.PersonBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config>


All i was trying was to run this on a weblogic server:
http://www.exadel.com/tutorial/jsf/jsftutorial-validation.html

A small JSF webapp.

Thanks in advance.
19 years ago
JSF
Gregg Bolinger, Thanks for your time.
Actually i figured it out and it works on Weblogic 8.1 sp3.

I have not read much abt weblogic 9.0 and now i figured out how to deploy on that too.
Thanks for your time.
19 years ago
JSF
Gregg Bolinger, Thanks for your time.
Actually i figured it out and it works on Weblogic 8.1 sp3.

I have not read much abt weblogic 9.0 and now i figured out how to deploy on that too.
Thanks for your time.
19 years ago
JSF
To be more precise

I was trying to run this simple JSF App
http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html

on Weblogic 9.0 Server.
I was successful in deploying it on Tomcat but not weblogic.

Thanks in Advance.
19 years ago
JSF
I have got the following Folder Structure

MyProject - Main Folder
Pages-Subfolder containing some .jsp files
WEB-INF - subfolder
classes - subfolder in web-inf
lib - subfolder in web-inf containing all jar files for jsf etc
faces-config.xml - jsf config file
web.xml - web content xml file
index.jsp - this is under main project

I created a war out of all subfolders and files under MyProject folder.
It works great on tomcat but not an Weblogic9.0
Error that i see is 404 error.
19 years ago
JSF
I am trying to deploy JSF on Weblogic8.1
Is it possible? If so can i get any link or procedure.
I would be thankful.
Thanks in advance.
19 years ago
JSF