Bony Sen

Greenhorn
+ Follow
since Dec 02, 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 Bony Sen

I have got jars created for various applications which are normally run via command prompt. I want to provide the user easy access to these applications by providing links for these in a web page. Is it possible to execute such an application(in jar form or otherwise) through a jsp?
14 years ago
JSP
We have a jar file of the code which we run through command prompt using:
java <Classname> <parameters>
14 years ago
JSP
Could you please elaborate with an example illustrating the syntax.
14 years ago
JSP
Server-side
14 years ago
JSP
Hi,

I need to make a jsp in which I have to provide links to various java applications.
Is it possible to define the link in such a way that the application associated with that link is executed on clicking the link?

Thanks
14 years ago
JSP
No, not facing any issues with DOM as such. Just trying to find the best technique.
Yes, by block I mean element. Consider the following snippet:

<fileType id="A">
<refer-command>COMMON</refer-command>
<command>commands....</command>
</fileType >

<fileType id="COMMON">
<command-win>commands....</command-win>
</fileType >

So if my file type is 'A', the commands within element A(and hence COMMON) should be executed.


Hi,

Can anyone suggest the best technique of parsing an xml(DOM,JDOM,SAX etc.) ? The size of the xml is around 12 KB.
Requirement is to parse the xml and based on 'id' attribute of each block, that block will be selected and commands within the block executed.
One block may refer other blocks also.
Hi,

Can anyone suggest the best way of parsing an xml? The size of the xml is around 12 KB.
Requirement is to parse the xml and based on 'id' attribute of each block, that block will be selected and commands within the block executed.
One block may refer other blocks also.
14 years ago
Hi,

I have got a pattern ?DB* in an xml file as shown.

<project-name id="?DB*">
<commands>.....
</commands>
</project-name>

Now, I need to match this pattern with a string(Egs. "PDB", "TDB_PLO") I have got in my code. If a match is found, the commands in this block are to be executed.
How should I go about it? Is there any provision in java to handle such a functionality.

Thanks
14 years ago
Hi,

While parsing an XML using DOM parser, is it possible to read the id associated with a tag?

E.g. <command-type-name id="COMMON">
By using NodeList and Node objects I am only able to get "command-type-name ".
I need to read "COMMON".

Any help will be appreciated.
Hi,

Can anyone tell me where I can find the source code for the Views(Console,Problems etc.) in eclipse .
I need to add a new plugin and get a separate view for that; I need to know how to do that by looking at the existing source code.

TIA,
Abhirup
Hi,

In my application, when I move from one screen to another, I would like to clear the previous form(session scope) from my session.
What are the ways in which this can be achieved?

Thanks
14 years ago
In a struts based application, do we have to explicitly remove formbeans(scope:session) from the session when we move to another screen?
Isn't the garbage collector supposed to take care of that?
14 years ago
Hi,

Can anyone tell me which is better for performance; using WHERE EXISTS or using IN clause?
14 years ago