Lakshmi siri

Ranch Hand
+ Follow
since Feb 06, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Lakshmi siri

Hi,
Now i got it.

Thanks
Lakshmi
20 years ago
Hi,
I am trying simple HellpWorld.jsp program .When i select run on server ,iam getting same source code(tags) on web browser.

What i need to do now.is it necessary to copy the jsp class file to somewhere.Please help me

Thanks
Lakshmi
20 years ago
yes .I created jsp file in web project.
20 years ago
Hi,
Iam new to Websphere.Iam using IBM Websphere application developer 5.0.How can i deploy(run) JSP files in websphere.

i created a jsp file in websphere

when i click run on server , iam getting same source code in the web browser. what i need to do now .



Thanks
Lakshmi
20 years ago
Hi,
I want to take IBM Certification For Application Development with IBM WebSphere Studio V 5.0 [Test 286].Which book and material is good for this certification preparation.I need your advices to prepare thiscertification.
Thnaks for your help.

Lakshmi
Hi Nandini,

Now i got it.Thanks for your help.

-Lakshmi
20 years ago
JSP
Hi Nandini,

I created mypack package.i modified
<jsp:useBean id="user" class="mypack.UserData" scope="session"/>
.When iam ruuning on Tomcat server iam getting the following error

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: /SaveNam.jsp(1,1) The value for the useBean class attribute mypack.UserData is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1227)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
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)


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

Thanks
Lakshmi
20 years ago
JSP
Hi Nandini,
Thank u for resonse. The class file is created for UserData bean.I put that class file Web_inf /Classes.When i run on tomcat server i am getting the following error.


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: 1 in the jsp file: /SaveNam.jsp
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\SaveNam_jsp.java:42: cannot access org.apache.jsp.UserData


An error occurred at line: 1 in the jsp file: /SaveNam.jsp
Generated servlet error:
bad class file: C:\jakarta-tomcat-5.0.28\webapps\ROOT\WEB-INF\classes\org\apache\jsp\UserData.class
class file contains wrong class: UserData
Please remove or make sure it appears in the correct subdirectory of the classpath.
UserData user = null;
^
1 error



org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
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)


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


Thanks
Lakshmi
20 years ago
JSP
Hi,
Hi iam new to jsp.Iam following instructions given in the below links to compile UserData.java bean.But iam getting an error when i compile the bean.
http://www.jsptut.com/Forms.jsp
http://www.jsptut.com/Classpath.html
Iam using j2sdk1.4.2_03.

ERROR:Cannot read UserData.java file

Thanks
Lakshmi
20 years ago
JSP
Thanks.now i got it.
20 years ago
Thanks.now i got it.
20 years ago
Iam getting 404 error When iam trying
http:\\localhost:8080\hello.jsp
20 years ago
Hi,
Iam new to JSP.I have just down loaded tomcat 5.0.28.How can i compile and run the following hello.jsp in tomcat.

<HTML>
<BODY>
Hello! The time is now <%= new java.util.Date() %>
</BODY>
</HTML>

Thanks
20 years ago
Hi,
I want to prepare for websphere certification.Which books i have to prepare for this certification.Please send the details of this certification.
Thanks for your help.
--Lakshmi
20 years ago
Hi,
What is anormous class?WHat is the use of anormous class?Why this class is mainly used in GUI applications?

Thanks
20 years ago