Ramaprasad Kolla

Greenhorn
+ Follow
since Oct 22, 2008
Merit badge: grant badges
For More
India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Ramaprasad Kolla

Hi all,
I have a business scenario here...

1. User logs into SAP Portal with defined userid/password
2. Portal has a hyperlink, that when clicked navigates the user to our application (some xyz say) in a new window. Internally Portal sends
a GET request, appending the userid given in step 1 onto URL, to our application deployed on WebSphere Process Server. URL shown
on the new browser window is in encrypted form but when user opens up a blank window and types the starting characters of the
actual URL of our application it is shown along with the userid parameter appended to URL. If this is the case then users can change
the userid value and can misuse the application. Please provide any suggestions to overcome this misuse..

Note: We have tried a POST request from SAP Portal but we are unable to read the userid parameter

Thank you in advance,
14 years ago
JSF
yeah i need to check running the application in a debugger...
14 years ago
Before the application launches we check the OS and based on that we load the respective OS library (.dll files) in to memory. Yes this is a swing based application. We are using IBM Java/JRE v1.3.1 on XP SP3 OS.
14 years ago

Hi,
We have an application that was developed using IBM Java v1.3.1. Recently all the user PCs were upgraded to Windows XP SP3 from Windows 2000. So respective changes were made in the application to work on XP machines. Now, with the application launched, when user switches between different screens and types fast, the application is freezing on the new XP machines. It works fine on Win 2k machines.

Can anyone hint me what would be problem?

14 years ago
Bear,

Its not any requirement in my project. It got to my mind whether we can capture page refresh or not.
14 years ago
JSP

why do you persist on tooltips ?


In our screen the drop down is of some length and the text populated in it is larger than its size. In that case we need to show the hovered drop down item in a tool tip so that user can select one. This is why I strictly persist on tooltips.

your program will be notified when the mouse is on the particular spot


Though it notifies I cannot find the current hovered drop down item as I donot have appropriate properties for getting the hovered item.

As told by Eric, we have browser issues and I think I have to go for a custom SELECT. Will work on that.
Shri.,

I am also trying the same using scripting (onmouseover event). But I couldnot find how to get the hovered text.
I cannot use the windows concept here as I need to show the populated drop down list items as tool tips.
Hi All,

Good morning!

I have a scenario where I show a drop-down-with-few-items in a JSP page, to the user.
The length of few options in the drop down is greater than that of the drop down's, hence our requirement is to show the
hovered (not selected) option as tooltip for user's convenience.
I could not find a suitable event when hovered a drop down.

Can you please suggest me some a solution?

Thanks in Advance,
Ramaprasad K


Hi All,

When a user refreshes a jsp page, how can we caputre it at server side?
i.e in jsp, how can we know that the current request is because the user has refreshed the page?

Thanks in advance,
Ramaprasad K
14 years ago
JSP

Kudos Deepak..

That's really a good score!! Congrats again.


14 years ago
My jsp path is:

http://localhost:8080/MyWebApp/index.jsp
It is at the context root.

I have installed tomcat afresh in C Drive as C:\tomcat5.0 (non-spaced) and now I'm getting a new error as below:
exception

javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jsp.index_jsp or a class it depends on
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:619)


root cause

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:619)

Now my environment variables are:
CATALINA_HOME=C:\Tomcat5.0
JAVA_HOME=C:\Progra~1\Java\jdk1.6.0_10 (As suggested by one of the ranchers)
CLASSPATH=C:\Tomcat5.0\common\lib\servlet-api.jar

Web Application:
Tomcat5.0
|__webapps
|__MyWebApp
|__index.jsp (trying to access this jsp)
|__WEB-INF
|__classes
|__web.xml
14 years ago

Hi Kalyan,

That was a typo mistake. I have even tried installing the things in no-space named folders but still of no use.

Thanks,
Ramaprasad Kolla

14 years ago
Hi Kees,

It didnot work

Eli,
Same with your suggestion too..
14 years ago

Hi,
Howdy all,

I have to work on JSPs using Tomcat 5.0. I have set the below environment variables
1. JAVA_HOME = C:\Program Files\Java\jdk1.6.0_10
2. CATALINA_HOME = C:\Program Files\Apache Software Foundation\Tomcat 5.0\binC:\Program Files\Apache Software
Foundation\Tomcat 5.0
3. PATH = C:\Program Files\Java\jdk1.6.0_10\bin

When I am accesing a JSP with the below code:

Error message is:

exception:

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause:

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Even though I have set the JAVA_HOME variable, the error reports about JAVA_HOME
Please let me know the reason.

Thanks in Advance,
Ram

14 years ago