vijaykumar shah

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

Recent posts by vijaykumar shah

That i got it, but we are planning for smooth migration, so this is code change where in jdk1.3 , weblogic 6.1 that t3shutdowndef code will remain and here in jdk1.4 this code will be gone and i have to configure in weblogic.. Is there no other alternative for it

Regards

Vijay
19 years ago
Hello Weblogicians..

There is one problem.

I have an java code written which works fine for weblogic 6.1 but now my task is to migrate from weblogic 6.1 to weblogic 8.1, very easy task but difficult too.

In my java code i am using

import weblogic.common.T3ShutdownDef;

public class myclass implements T3ShutdownDef {
-- here i am writing the two methods of that interface...
setServices(T3ServicesDef){
}
shutdown(...) {
}
}

Now T3shutdowndef is deprecated in weblogic 8.1 so what is the replacement for weblogic 8.1 if its deprecated.

What change i make in code so that i don't get deprecation warning, i want to make my code compatabile with weblogic 8.1 SP4 , jdk1.4

The same is the case with

import weblogic.io.common.T3FileSystem;

What to do .. please suggest

Regards

Vijay
19 years ago
You got me very right .. and u suggested right answer . i have worked in the same fashion and i got the results what i needed..

Thanks

Vijay
20 years ago
This is two in one question ...

i already have a Java program using FO in XSL that generated pdf as o/p file in the browser..... now i want to save that file on hard disk .. how can i save it .. is there any api for saving the pdf file.... as we have for generating pdf files


secondly .. how do we append two pdf files in java ... i am using jdk1.3 , weblogic . I need api .. pure java program to append the pdf files

vijay
20 years ago
hello..
the error is very simple .. there is a conflict in java_home .. or tools.jar file ... do one thing .. check your java's classpath and check the tomcat's lib directory . is there any file conflicting.. if yes remove that file from one location your problem will be solved
vijay
21 years ago
JSP
Hello..
It is very simple when using javamail to send emails.. there are certain files and packages to be downloaded and are required to be kept in the classpath for e.g. activation , mail .jar files are required to be kept in classpath and then u can access those packages...
lastly check that that mail smtp server which u are using does allow sending of emails to out side email ids.. is there any filter added to outgoing or incoming mails..
This is all.. the code is very perfect... infact if u have downloaded...
vijay
21 years ago
JSP
In fact you need to go for GRE and TOEFL score in those exams good and then u will have to collect admission forms from the top colleges from usa..
before that u need to have a handsome of money in your pocket... around 20 lakhs to be shown on paper ....which is white amount and next is your own expenditure that is not less than 10 lakhs ..
that's all if you are done with this ... go ahead
best luck
Vijay Shah
B.E Computer Science
[email protected]
21 years ago
Hello,
There are two ways by which this error can be solved ..
before that some questions
1. Are you calling this servlet from a form where u get the data through a html file .
2. what is the configuration of the IE at your place and at office.. are both IE version same
if after this also the error is not solved try using generic servlet and write the service method and try it .. may be it would solve the problem
also see that on tomcat r u getting any error message..
may be its problem with the tomcat settings also
also try putting try catch block in your code and use exception.printstacktrace...
this would help you to solve the problems
best luck
vijay shah
[email protected]
21 years ago
hello..
Frank Carver is very right and his solution is very feasible rather than creating a bean just for nothing ...
or would rather suggest to elaborate your question that would be more feasible to be answered....
any java programmer knows to make a class object and instantiate the variable and use the methods of the class ...
its very simple and jsp is not other thing than java its also a java code
for more queries..always welcome
vijay shah
[email protected]
21 years ago
JSP
Hello..
its very simple.. and more of logic then jsp question ..
let's say query is select id , name from atable;
this will fetch 100 records
save this records in the arraylist .. i.e id [primary key]
so total no. of records is 100
records per page = 10
total no. of page = 10
now u have to show page1 first...
for others show links 2,3,4 5,6,7,8,9,10
1 is inactive as we are showing first page..
now when there is a code of showing the records make a loop of 1 - 10
now when user click on 2 u are to display 11-20
so for start and end condition of the loop to display the records from the arraylist
write small code i.e equation to get start and end condition depending on page number
u are done
vijay
21 years ago
JSP
Hello,
So i am clearing the perspective of my approach to write this program and asking the question,
What i need is At Run time a report should be created and The report design should also be made at run time and depending on the dynamic results i.e query results the columns and its data should be shown in run time
so it s all together a Complete Dynamic report
So there are few confusions in the code ..
First is what is "aData"
Next is "HashToArraySorter"
Then "NextvaluePair"
Then "Value"
so either provide me with these classes and methods or put the functionality of the same here in the same code..
So for example u can take a Microsoft Access as a database
create a table "personal"
add columns id , name , address , designation , joindate
Now i want to display a report with
Header/title: Personal Data Information
Then below will be the details
ID Name Address Designation JoinDate
1 Vijay Sharjah Software Engineer 12-12-2003
and like wise ..
so in future i would get the records depending on date so let's say i want user from 1-1-2002 till 1-12-2003 so i will get the two parameters from the user and execute the query and show the results..
Now let's say the table in future get's too complex where in the address is not accessible to a user who is making the report ... so when i create a report i would first check what are the user rights and then depending on it i will create the columns and then display the report to the user...
so i guess this would make more clear..
Next thing i wanted to ask is "Do i need to create a .jasper file before executing the program"
Below is the code...along with the error list
You can also modify the code and let me know

--Edited to add CODE tags JAM
[ December 23, 2003: Message edited by: Joel McNary ]
Hello,
So i am clearing the perspective of my approach to write this program and asking the question,
What i need is At Run time a report should be created and The report design should also be made at run time and depending on the dynamic results i.e query results the columns and its data should be shown in run time
so it s all together a Complete Dynamic report
So there are few confusions in the code ..
First is what is "aData"
Next is "HashToArraySorter"
Then "NextvaluePair"
Then "Value"
so either provide me with these classes and methods or put the functionality of the same here in the same code..
So for example u can take a Microsoft Access as a database
create a table "personal"
add columns id , name , address , designation , joindate
Now i want to display a report with
Header/title: Personal Data Information
Then below will be the details
ID Name Address Designation JoinDate
1 Vijay Sharjah Software Engineer 12-12-2003
and like wise ..
so in future i would get the records depending on date so let's say i want user from 1-1-2002 till 1-12-2003 so i will get the two parameters from the user and execute the query and show the results..
Now let's say the table in future get's too complex where in the address is not accessible to a user who is making the report ... so when i create a report i would first check what are the user rights and then depending on it i will create the columns and then display the report to the user...
so i guess this would make more clear..
Next thing i wanted to ask is "Do i need to create a .jasper file before executing the program"
Below is the code...along with the error list
You can also modify the code and let me know

--Edited to add CODE tags JAM
[ December 23, 2003: Message edited by: Joel McNary ]
21 years ago
Hello experts
I am working on jasper reports to generaete reports and also i have downloaded ireports latest version for working with jasper reports and creating reports .. its all working fine ... but now my requirement currently is something different
1. User will have a page where he would input the parameters like From Date - To Date and will select one another parameter
2. Depending on the parameter the search would be executed on the db and all the records matching the same criterial are required to be shown would be saved into the array list or what ever..
3. Now a report shall be generated for the same.. means a pdf, .html will be generated and given to the client in the email ..
so my report creation is dynamic .. i have worked for attaching files in email using java mail and all .. but now the major question is how do i totally create a dynamic report using jasper report and its api..
a sample code matching to the same would be highly appreciated as i am working under time constraints ..
awaiting for response
with regards
vijay
:roll:
21 years ago
Hello experts
I am working on jasper reports to generaete reports and also i have downloaded ireports latest version for working with jasper reports and creating reports .. its all working fine ... but now my requirement currently is something different
1. User will have a page where he would input the parameters like From Date - To Date and will select one another parameter
2. Depending on the parameter the search would be executed on the db and all the records matching the same criterial are required to be shown would be saved into the array list or what ever..
3. Now a report shall be generated for the same.. means a pdf, .html will be generated and given to the client in the email ..
so my report creation is dynamic .. i have worked for attaching files in email using java mail and all .. but now the major question is how do i totally create a dynamic report using jasper report and its api..
a sample code matching to the same would be highly appreciated as i am working under time constraints ..
awaiting for response
with regards
vijay
:roll:
Hello experts
I am working on jasper reports to generaete reports and also i have downloaded ireports latest version for working with jasper reports and creating reports .. its all working fine ... but now my requirement currently is something different
1. User will have a page where he would input the parameters like From Date - To Date and will select one another parameter
2. Depending on the parameter the search would be executed on the db and all the records matching the same criterial are required to be shown would be saved into the array list or what ever..
3. Now a report shall be generated for the same.. means a pdf, .html will be generated and given to the client in the email ..
so my report creation is dynamic .. i have worked for attaching files in email using java mail and all .. but now the major question is how do i totally create a dynamic report using jasper report and its api..
a sample code matching to the same would be highly appreciated as i am working under time constraints ..
awaiting for response
with regards
vijay
:roll:
21 years ago