Win a copy of Rust Web Development this week in the Other Languages forum!

harsha madiraju

Greenhorn
+ Follow
since Dec 20, 2004
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 harsha madiraju

Hi all,

I am trying to execute the AdviceClient demo.

I have added all the jars under lib and the stub jar in classpath and iam still getting following exception. Can someone help?

In the forum, I saw people quoting about appserv-rt.jar, which i donot have in lib. I am using j2ee1.3.1. Is this Jar needed? If so, where can i get it??

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte
rnal/util/JDKBridge
at com.sun.corba.ee.internal.core.IOR$LocalCodeBaseSingletonHolder.<clin
it>(IOR.java:90)
at com.sun.corba.ee.internal.core.IOR.<init>(IOR.java:238)
at com.sun.corba.ee.internal.iiop.messages.LocateReplyMessage_1_2.read(L
ocateReplyMessage_1_2.java:137)
at com.sun.corba.ee.internal.iiop.IIOPInputStream.unmarshalHeader(IIOPIn
putStream.java:126)
at com.sun.corba.ee.internal.iiop.IIOPConnection.getResponse(IIOPConnect
ion.java:671)
at com.sun.corba.ee.internal.iiop.IIOPConnection.send(IIOPConnection.jav
a:778)
at com.sun.corba.ee.internal.corba.InitialNamingClient.locateObject(Init
ialNamingClient.java:786)
at com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostIn
fo(InitialNamingClient.java:597)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveCorbaloc(I
nitialNamingClient.java:573)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingORBIn
itRef(InitialNamingClient.java:544)
at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialRefe
rences(InitialNamingClient.java:1080)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_r
eferences(InitialNamingClient.java:981)
at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.ja
va:2425)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:52)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
)
at javax.naming.InitialContext.lookup(Unknown Source)
at AdviceClient.go(AdviceClient.java:29)
at AdviceClient.main(AdviceClient.java:15)


thanks
harsha
Hi all,

I am using JSF with Resin 3.0. I am facing a strange problem.

When I make a request like http://localhost:2009/pages/login.jsf?param1=test

(assuming in web.xml all requests with .jsf are mapped to FacesServlet, all request with .jsp are mapped to Resin JSPServlet which is responsible for loading the JSP and login.jsp is available)

then when i try to print query string in login.jsp in the jsp expression, it prints null.

harsha

But when i make a requets like http://localhost:2009/pages/login.jsp?param1=test, the query string is getting printed in the jsp page

This looks like there is a problem in JSF FacesServlet but this whole thing works fine in tomcat.

Please let me know your thoughts on this.
16 years ago
JSF
Thank you guys
16 years ago
Hi all,

I have just cleared SCWCD 1.4, and like to prepare for SCBCD.
I would like to know, does the current SCBCD 1.3 adds value, when the EJB 3.0 spec is around.

Harsha
Hi all,

I am gald to tell that I have cleared SCWCD 1.4 with 92%.

I would like to thank kathy, bert and Bryan Basham for providing a good exam oriented book

Harsha
16 years ago
Hi,

I am using following JSP

Form bean is as follows

DemoVO has got setters and getters for empName and empId

When I hit my action, the form is displayed with all fields
populated from corresponding properties, but when i submit the
form I get following exception. Please clarify



javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate
(RequestUtils.java:1254)
org.apache.struts.action.RequestProcessor.processPop
ulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost
(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service
(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)


root cause

java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
16 years ago
Hi all,

I am trying to pass some data to a servlet from a java class using HttpURLConnection. But I am not getting the desired output i.e. the servlet is not invoked (it does not print the dummy strings given println())

Following is the code of the java class



Following is the code of servlet



thanks in advance,
harry
16 years ago
In my JSP i gave simple EL code as ${person.name} with person as object added to request scope and name is the property of the object....but the in the browser the o/p is the same EL code.

Is there any way to enable EL..btw im using weblogic 8.1

thanks in advance
harsha
17 years ago
In my JSP i gave simple EL code as ${person.name} with person as object added to request scope and name is the property of the object....but the in the browser the o/p is the same EL code.

Is there any way to enable EL..btw im using weblogic 8.1

thanks in advance
harsha
Hi all,

I need some clarification in HFS mock exam in page 266,Question 3, Option A

The option says "A session whose timeout period has been set to -1 will never expire"

Does it mean that even if the user closes the browser, session does'nt expire??

Pls clarify

Thanks in advance
harsha