PALANI KUMART

Greenhorn
+ Follow
since Oct 22, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by PALANI KUMART

Congrats Dave,
Nice to see one more guy climb up the moountain. Can you please send me the notes - [email protected]. Thanks
Hi All,
I'm trying to learn Struts as well as Eclipse. New to both the fields. I'm using the following websites
http://www.reumann.net/do/struts/lesson1
http://www.coreservlets.com/Apache-Struts-Tutorial/
I'm doing the Reumann tutorial now. I have done everything and getting the default pages for Tomcat & Struts. But when I type in org.apache.struts.action.ActionForm. Eclipse is not able to resolve.
I have set the classpath for eclipse,java,tomcat & struts. Am I doiong something wrong ? Please advice.
Thank you
Kumar
Is there a site or other sourcec to read more about JMS Selector ? If any one has good suggestion please let me know. Thanks in advance.
Hi all,
I have installed Jboss 3.2.1, Java 1.4.1_02 and Eclipse 2.1 , Lomboz 2.1.2. I'm trying the tutorial at
http://www.tusc.com.au/tutorial/html/chap3.html
In Chapter 3 I'm creating a stateless session bean. Made changes in Xdoclet.xml instead of the ejbGenerate.xml as given in the example. (there is no ejbGenerate.xml file!!!).
When creating DAO I'm coming across lot of problems.
The file StoreAccessDAO.java is not getting created. So the program gives a lot of error messages saying "not able to resolve dao". Am I doing something wrong or the tutorial needs to be revsised ? Please advice ......

Desperate. Spend 1.5 days on this alread y . Thank you
21 years ago
Hi Everyone,
I did the pre-assessment for the IBM -340 Websphere5.0 Admin Exam and got the free voucher to take the exam. Must be done before March 31st.
I'm following the Red Books from the IBM site.
1) Is there any other resources ?
2) From the forum I can see that the real test is much harder than the assesssment one . Do we have any mock exams for this certification ?
Please advice. Thanks guys
Hi Rufus,
Did you use any mock test? Any site or materials relating to this? I have my free voucher with me. Have to use it before March 31. I just started cramming. Any advices ?
Kumar
Hi Ray,
Not sure what went wrong. I renamed the file. Removed the old one stopped and started the Server. (By the way each time i do that the time taken to start is increasing!!!). Now it works Thank you very much for your input.
Kumar
21 years ago
Hi Ray,
Not sure what went wrong. I renamed the file. Removed the old one stopped and started the Server. (By the way each time i do that the time taken to start is increasing!!!). Now it works Thank you very much for your input.
Kumar
21 years ago

Originally posted by Ray Stojonic:
Calendar is not in the java.lang package, so you'll need to tell the compiler where to find it with an import statement.
DateFormatSymbols is also not in the java.lang package, and it's not in same package as Calendar, so you will require another import statement to tell the compiler where that one is.
read about the jsp page tag (hint: it has an import attribute)


Sorry Ray,
I should have made everything clear in my question. I do have a page directive
<!@ page import = "java.util.*, java.text.DateFormat, java.text.DateFormatSymbols"%>
Thas is what bugs me. all this worked fine last night. That is why I wanted to make sure whether the compiler is understanding all the classes ?
Thanks for the input
Kumar
21 years ago
Sorry Ray,
I should have made everything clear in my question. I do have a page directive
<!@ page import = "java.util.*, java.text.DateFormat, java.text.DateFormatSymbols"%>
Thas is what bugs me. all this worked fine last night. That is why I wanted to make sure whether the compiler is understanding all the classes ?
Thanks for the input
Kumar
21 years ago
I have solved all the previous problems. Now I'm back to square one again. i am trying to create a calendar in my Tomcat Engine using Eclipse IDE. Yesterday everything was dandy. Bujt suddnely they are not working The error i get during compliation is :-
E:\eclipse\workspace\Test1\work\org\apache\jsp\Auct_jsp.java:10: cannot resolve symbol
symbol : class Calendar
location: class org.apache.jsp.Auct_jsp
Calendar cal = Calendar.getInstance();
^
E:\eclipse\workspace\Test1\work\org\apache\jsp\Auct_jsp.java:10: cannot resolve symbol
symbol : variable Calendar
location: class org.apache.jsp.Auct_jsp
Calendar cal = Calendar.getInstance();
^
E:\eclipse\workspace\Test1\work\org\apache\jsp\Auct_jsp.java:11: cannot resolve symbol
symbol : class DateFormatSymbols
location: class org.apache.jsp.Auct_jsp
String[] monthNames = (new DateFormatSymbols()).getMonths();
^
E:\eclipse\workspace\Test1\work\org\apache\jsp\Auct_jsp.java:49: cannot resolve symbol
symbol : variable Calendar
location: class org.apache.jsp.Auct_jsp
out.print(monthNames[cal.get(Calendar.MONTH)]);
^
4 errors
So the compiler is not able to understand the Calendar Interface.
? But HelloWorld is working fine. Please someone help. It will be annoying to see one person putting so many questions but I'm really desperate please help.
Kumar
21 years ago
Folks,
Still having problem with the Tomcat.
I created a Calendar application using JSP. It compiled and worked fine last night. But today I'm getting a error. I stopped and started the server. Removed all the JSP code and put the HTMl alone but still same problem persists. Did any one ecounter a problem like this before ?
My Hello World is working fine. So I'm not sure what is wronf with the code. Even just a HTML file with no JSP gives this 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
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:558)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause
java.lang.ArrayIndexOutOfBoundsException: 430
org.apache.jasper.compiler.JspReader.peekChar(JspReader.java:193)
org.apache.jasper.compiler.JspReader.isSpace(JspReader.java:386)
org.apache.jasper.compiler.JspReader.isDelimiter(JspReader.java:453)
org.apache.jasper.compiler.JspReader.parseToken(JspReader.java:434)
org.apache.jasper.compiler.Parser.checkUnbalancedEndTag(Parser.java:1737)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1599)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

note The full stack trace of the root cause is available in the Tomcat logs.
21 years ago
Hi All,
I have developed some Servlets and JSP's using Tomcat Servlet Engine 5.0.16. I'm using Eclipse 3.0M IDE. Want to move on and learn more about the Bean world .
Since I'm using Eclipse thinking of using Websphere Express for Bean development. My doubts
1) Does Websphere have built in Http Server or should I add Apache ?
2) Any detailed documentation online for the integration of Tomcat, Websphere and Apache (if needed)?
Please advice. My head is spinning afte going through a lot of sites. Millions of suggestions. Would like to go systematic from ground so need the advise of all of you guys. Thanks in advance.
PK
21 years ago
Never mind .....I stopped and started the Tomcat and everything is working fine. Even my calemdar update is working .....Cool ......
Now do we have to start and stop the Tomcat every time we start a new project in the Eclipse IDE ?!!!
21 years ago
Hi All,
I'm trying to learn JSP and Javaservlets by designing a Auction house from the book JSP from Scrath.
I'm using Tomcat 5.0.16 and Eclipse IDE. I created a new Tomcat Project Tom1. Then did a Helloworld.jsp. It works fine.
Now I created a new Project Tom2. Did all the basic adjustments I di with the Tom1 project. Put the same code of Helloworld an it will not work > Http:404 Error message !!!. Can some one please help. It is real frustrating to hit a wall even before the start
I have set the JDK_HOME, TOMCAT_HOME and classpaths everything. If anything was wrong there Tom1 was not supposed to work. Cannot figure out H.E.L.P
Thanks :
21 years ago