Shahnoor Ali

Greenhorn
+ Follow
since Mar 26, 2010
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 Shahnoor Ali

Hi
what's the difference between prop and attr i.e. when to use "prop" and when to use "attr". I remember till version 1.4 I could use "attr" for disabling passing either true or false, but in version 1.7 it only works using "prop".

thanks
hmm I will go with amazon's customer reviews suggestion, which give struts 2 in action more stars
13 years ago
ok i have found two books with my requirements, "Struts 2 in action" and "Practical Apache Struts2 Web 2.0", which one will be better?
13 years ago
hi all

could someone suggest a book in which a practical web application is built from start to finish and deployed, like there is one for "ASP.NET Problem, Design, Solution" or something like "PHP and MySQL" in which there is a section "Building Practical PHP and MySQL projects" in the end.

thyankyou
13 years ago
can I add scope to all JSTL tags?
13 years ago
JSP
can I add scope to all JSTL tags?
13 years ago
JSP
hi all
can i add scope to all JSTL tags? forEach; if; set; ?
13 years ago
JSP
hi all
i am reading head first servlets, its a very good book, but i am feeling that there should be some jdbc practice too together, so can anyone suggest a good jdbc book or some online jdbc tutorials written in a very easy and straightforward manner like head first servlets
thanks
right! now i get it, thankyou vijitha, but i have one more silly question, the code for the listener class on page 173 would be compiled with the servlet compile command right? o and by the way i removed the the CLASSPATH variable from environment variables and then compiled the code with full path

package com.example;

import javax.servlet.*;

public class MyServletContextListener implements ServletContextListener {

public void contextInitialized(ServletContextEvent event) {
.
.
.
}
public void contextDestroyed(ServletContextEvent event) {
.
.
.
}

}

13 years ago
ughhhh the code gets compiled without using the classpath and servlet-api.jar and just by javac -d classes without any error, but you see i cant go any further without knowing exactly the right compiling procedure, and knowing why does it needs servlet-api.jar when it gets compiled without it so basically the question in my first post stands as it is, so please it would be gratifying if anyone can help and by the way, after trying all i could i joined this forum and asked the question
13 years ago
its d:/tomcat/lib/servlet-api.jar but still how do i use this path in the command???
should i use it like this...javac -classpath d:\tomcat\lib\servlet-api.jar:classes:. -d classes src/com/example/web/beerselect.java or how please tell, this small stuff is so annoying
13 years ago
hi all
please help me compile my first servlet, i cant figure out how to compile the BeerSelect servlet code on page 80 of head first servlets, i have installed tomcat in D:\Tomcat\ and created the following environment variables

CATALINA_HOME d:\tomcat
CLASSPATH d:\tomcat\lib\servlet-api.jar;d:\tomcat\lib\jsp-api.jar
JAVA_HOME D:\Program Files\Java\jdk1.6.0_17
PATH D:\Program Files\Java\jdk1.6.0_17\bin

my project is created in this structure
c:\myprojects\beerv1\..(and the same development structure in the book)
so this gives my BeerSelect.java file the following location
c:\myprojects\beerv1\src\com\example\web\BeerSelect.java

but i cant figure out how to customize the following compile command given in the book,
javac -classpath /Users/bert/Applications2/tomcat/common/lib/servlet-api.jar:classes:. -d classes src/com/example/web/BeerSelect.java

please help me out!!!
13 years ago