Atanu Banerjee

Greenhorn
+ Follow
since Nov 11, 2008
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 Atanu Banerjee

This is no longer my query and may be closed.
14 years ago
Dear Members :

My JDK ver is : 1.6.0_11
xjc version "JAXB 2.1.3 in JDK 1.6" (as displayed)

<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"> is not going to work - I understand.
Then how can I use <XJC> task in build file ?

If it's not at all possible in JDK 1.6, is there any work around, using "G:\glassfishv3-prelude\glassfish\bin\xjc" - I mean taking help of glassfish, to make and run this ant task ?

Thanks in advance.
Atanu
14 years ago
Dear Members :

I tried to compile xyz.jsp from command prompt (using Tomcat 6):
jspc -uriroot . xyz.jsp -classpath <jar_file_name> -d <directory_name>

getting errors but when I simply try:
[jspc -uriroot . xyz.jsp] it shows no errors, but doesn't produce xyz.java
which is expected.

Could someone tell me please the correct command to do this, which will also dump the generated clss file to designated directory ?

Thaks in advance
Atanu
15 years ago
Thanks everybody for eloquent suggestions. But I adopeted William's getParameterMap() approach - thinking of long term usage of this application.

I'd be still interested to know the syntax of sending/receiving of array from/to javascript/servlet. Could someone throw some light on this please ?

Thanks very much.
Atanu
15 years ago
Can I do something like this to achieve, as I described in my first mail ?

On user's clicking the "checkout" button call a javascript function which will read the (modified) table elements in array and send it to the final servlet, for it to collect & display summary info ?

If someone could please review this idea and post the syntactical summary -do appreciate very much. Thanks.
15 years ago
Are you suggesting hidden select field approach ? Could you please paste some code snippet, what you mean ? Thanks.
15 years ago
Dear Members :

I have a table populated in servlet, with one column as "delete button".
This button when clicked, the row gets deleted and this code is written in a Javascript file. After user alters the table (deleting rows), a checkout button below the table is clicked, and user would be taken to another page (displaying summary info collected from modified table).

When checkout button is going to submit the modified table to another servlet, how this servlet is going to read the modified table ?
Simply put, how a servlet can read (row,cell) of a html table ?

Thanks in advance
Atanu
15 years ago
Hi Joanne :

Thanks very much - got it what you say.

Atanu
15 years ago
Dear Members :

Could you please let me know the difference each of the following declarations will make ?

Collection xList = new ArrayList(); ---- 1
List xList = new ArrayList(); ---------- 2
ArrayList xList = new ArrayList();------ 3

I am ignoring the 1.5 way of declaration ie; ArrayList<Item> itemsList = new ArrayList<Item>();

What I am trying to understand - what advantage/disadvantage I will get
in declaring above ways (1-3) ?

Thanks in advance.
Atanu
15 years ago
Dear Members :

Is it possible in java to raise and catch Business Events as is possible in other languages, I know.

For instance - when I create a vehicle instance, that will trigger an event, which will add that vehicle to vehicle_list(List) - something like that ?

Java does provide Observer Pattern, but that's only changed-state trigger; what I wanna do is triggering any kind of Business Event, like example I provided above.


Thanks in advance
Atanu
15 years ago