Sachin Junghare

Greenhorn
+ Follow
since Aug 19, 2003
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 Sachin Junghare

Please look into the JavaRanch SCWCD Links.Some links are out-dated and cannot be accessible.Please update the page and remove the links that are not valid.

Sachin.
18 years ago

Originally posted by chandana sapparapu:
Hi,
I have this JSP which uses some tlds. I have all these tlds directly under web-inf. I get the following exception. Could you tell me if it's an issue with placing files at the wrong location?
I also tried placing struts*.tld under web-inf\jsp\, but that didnt work either.
Someone please help me!
Thanks,
chandana
JSP
---
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true">
<head>
<html:base/>
<title><bean:message key="index.title"/></title>
</head>
<body bgcolor="white">
<h2>Create a book</h2>
<html:errors/>
<html:form action="createBook.do" method="GET">
Title:<html:text property="title"/> <br/>
<html:submit property="submit"/>
</html:form>
</body>
</html:html>
------------------------
EXCEPTION
-------------------------
Error 500--Internal Server Error
java.lang.NoClassDefFoundError
at jsp_servlet.__createbook._jspService(__createbook.java:157)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


------------------------------------
Please check your action defination. it should be /createBook.do and check entry into the Web.xml file for the tag liberary
Regards,
Sachin.
SCJP.
19 years ago
Dear All,
I have recently got a score in SCJP exam and thinking to go for SCWCD exam.What should be the step to start the exam.How much time required to prepare for exam.
I am already working in the area of J2EE for last 2 years.
Would it be benificial by having the certification ?
Thank You.
Sachin
Hi All,
I have passed the SCJP2 with 86%.It is really feel good having the SCJP certification.
Thanks everyone for their help for preparing examination directly or indirectly
[ October 30, 2003: Message edited by: Sachin Junghare ]
19 years ago
Dear Guru,
I am planning to give the XML examination.How do rate the harden level of XML examination in the scale of 1 to 10.
Sachin.
-------
SCJP2
Dear All,
I passed SCJP 1.4 today morning.It is really feel good having certifcation.First of all thanks to all javaranch members and javaranch creator, I must say that this the only place where every one should start for prepareation of examinations.The material organized are par excellent and helpful.Specially mocks examination link for the SCJP exam.I am enjoying the moment and all the best who are preparing for the examination.
Sachin.
19 years ago
Thanks a lot Guys !
Sachin.
19 years ago
it may be the possible way we can have relationship between interfaces
[code]
interface I1 {}
interface I2 {
class myclass implements I1{}
}
public class A {
public static void main(String arg[]) {
}
}
[code]
right!
Sachin.
19 years ago
The question I am trying to ask without extends interfaces means how we contains Interface one members into interface two ....
I just know one way by extending ...but the question is asked me in the interview ....
so i put it here.
Sachin.
19 years ago
How can make relationship between two interface
interface I1 {}
interface I2 {}
without using extending the one with other.
Thanks in adavnce.
Sachin
19 years ago
Working with Tag library .... how to set the setter/getter method for following attributes of tld file
1. OnTutorChange
2. UTF8Text
will it be

getOnTutorChange() / setOnTutorChange(String OnTutorChange)
getUTF8Text() / setUTF8Text(String UTF8Text)
Please help me how can I define this methods ?
Thanks
Sachin.
19 years ago
JSP
I don't know where you missed out ...but it is working fine for me ...!!!
It is correct code.
I do just few changes ... nothing great !!!
a.jsp
------

a_action.jsp
-----------

I get values for both the println...
Hope you resolve yur problem.
J Sachin.
19 years ago
JSP
We know that what are advantages of the struts ...!!! and how easy it can implement in MVC architecture.

But Could you tell me what are disadvantages of struts ...??

J Sachin.
____________________________________
[ August 31, 2003: Message edited by: Sachin Junghare ]
19 years ago
JSP
We know that what are advantages of the struts ...!!! and how easy it can implement in MVC architecture.

But Could you tell me what are disadvantages of struts ...??

J Sachin.
____________________________________
[ August 31, 2003: Message edited by: Sachin Junghare ]
19 years ago
You may getting error do to tld cannot find by JSP.I am not find any error in class and tld file created by you.I work on Tag library in Apache-Tomcat enviroment so I may wrong.
I do it as

1. Create a tld file
2. Create a handler (classess)
3. Modify the Web.xml (include the tld file location)
4. restart the server
Now you can access the Tag in JSP with url mention in Web.xml.
Do you miss some steps while porting ....
________________________________
Sachin.
19 years ago
JSP