sandeep kapse

Greenhorn
+ Follow
since Jun 07, 2007
Merit badge: grant badges
For More
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 sandeep kapse

Hi,

I got an offer from [REMOVED] Pune as a Software Developer. I want to know how is the working environment/culture in [REMOVED] Pune.?
What projects they have? What salary they offer for 3 yrs of experience?

Currently I am working with [REMOVED]. But I am not satisfied with the work. Other thing is I want to settle down (marrige and all ) with a job which will offer me
good work life balance and good salary also.

So Is it a good to join [REMOVED] job ?

I am really confused about which way to go?

please i want some serious help,

Thanks.

[company names removed]
12 years ago
Hi All,

I have developed custom shell in java. It is used to execute some commands. It works like this:
User types command on the prompt, then it press "Enter" to execute it.
Command then executes and displays output on the shell and shell prompt is displayed to accept another command.
Just like normal shell.

Here the problem is, after user press "Enter" key to run command, the command takes some time to execute, in mean time if user types anything on console, it is displayed on the console. I don't want this to happen. How should I block user input while command is executing?

Any help is really appreciated! Thanks.

-Sandeep.
14 years ago
Ok.
But why there is limit in JVM on method size?

Thanks
-Sandeep.
14 years ago
JSP
Hi,
I got following error when I was accessing a JSP page, which is quite a big:

Error Page by Tomcat 5 :
------------------------------------------------------------------------------------------

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:


An error occurred at line: 29 in the generated java file
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:319)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.filters.LoggingFilter.doFilter(LoggingFilter.java:35)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.
Apache Tomcat/5.5.28
----------------------------------------------------------------------------------------------------------------

What it is exactly? I got such kind of error first time.
Can anybody help for a solution?

Thanks.
-Sandeep.
14 years ago
JSP
I think 'E' is the correct one.
Because service() method is not the first method invocked, the flow is class-load->constructor->init(). After this servlet is initialized then on each request separate thread is created and service method is called in that thread. This is my understanding on what i read till not in HFSJ.
And 'C' is also the choice in the sense that service() method internally calls doPost()/doGet(), but in case of HttpServlet. In the case of GenericServlet (not specific to http) I found 'E' the correct one.
(please correct me if i am wrong).
Yeah....Thanks.
14 years ago
Congrats ! Ivan For such a great score!
What time did it take to prepare?
14 years ago
HFSJ is a good book. I am also preparing for SCWCD and using the same book. You can go for it.
Congrats! and Best of Luck for your next Exam.
14 years ago
Congratulations!
14 years ago
I passed SCJP 6.0 with 73%. I know its not pretty good score, But I am happy :-).
Exam was in the updated format i.e 60 questions. Questions were tricky and from all topics, pretty balanced.
It was nice experience in all, from preparation to exam.
Though I was not very active on this forum, i used to visit this site. It helped me alot. This is awesome site.
Thanks to all all members and makers of this site! :-)




14 years ago
Hey Congrats! :-)
14 years ago