Combine two jsp pages into single
hai how to combine two jsp pages in to one
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;
import com.latchiya.Constants;
import com.latchiya.model.Staffinfo;
import com.latchiya.service.Manager;
import com.latchiya.webapp.form.StaffinfoForm;
* Action class to handle CRUD on a Staffinfo object
* @struts.action name="staffinfoForm" path="/staffinfos" scope="request"
* validate="false" parameter="method" input="mainMenu"
* @struts.action name="staffinfoForm" path="/editStaffinfo" scope="request"
* validate="false" parameter="method" input="list"
* @struts.action name="staffinfoForm" path="/saveStaffinfo" scope="request"
* validate="true" parameter="method" input="edit"
* @struts.action-forward name="edit" path="/WEB-INF/pages/staffinfoForm.jsp"
* @struts.action-forward name="list" path="/WEB-INF/pages/staffinfoList.jsp"
* @struts.action-forward name="search" path="/staffinfos.html" redirect="true"
public final class StaffinfoAction extends BaseAction {
public ActionForward cancel(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return mapping.findForward("search");
public ActionForward delete(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'delete' method");
ActionMessages messages = new ActionMessages();
StaffinfoForm staffinfoForm = (StaffinfoForm) form;
// Exceptions are caught by ActionExceptionHandler
Manager mgr = (Manager) getBean("manager");
Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
mgr.removeObject(Staffinfo.class, staffinfo.getStaffId());
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("staffinfo.deleted"));
// save messages in session, so they'll survive the redirect
saveMessages(request.getSession(), messages);
return mapping.findForward("search");
public ActionForward edit(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'edit' method");
StaffinfoForm staffinfoForm = (StaffinfoForm) form;
// if an id is passed in, look up the user - otherwise
// don't do anything - user is doing an add
if (staffinfoForm.getStaffId() != null) {
Manager mgr = (Manager) getBean("manager");
Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
staffinfo = (Staffinfo) mgr.getObject(Staffinfo.class, staffinfo.getStaffId());
staffinfoForm = (StaffinfoForm) convert(staffinfo);
updateFormBean(mapping, request, staffinfoForm);
return mapping.findForward("edit");
public ActionForward save(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'save' method");
// Extract attributes and parameters we will need
ActionMessages messages = new ActionMessages();
StaffinfoForm staffinfoForm = (StaffinfoForm) form;
boolean isNew = ("".equals(staffinfoForm.getStaffId()) || staffinfoForm.getStaffId() == null);
Manager mgr = (Manager) getBean("manager");
Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
mgr.saveObject(staffinfo);
// add success messages
if (isNew) {
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("staffinfo.added"));
// save messages in session to survive a redirect
saveMessages(request.getSession(), messages);
return mapping.findForward("search");
} else {
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("staffinfo.updated"));
saveMessages(request, messages);
return mapping.findForward("edit");
public ActionForward search(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'search' method");
Manager mgr = (Manager) getBean("manager");
request.setAttribute(Constants.STAFFINFO_LIST, mgr.getObjects(Staffinfo.class));
return mapping.findForward("list");
public ActionForward unspecified(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return search(mapping, form, request, response);
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import com.latchiya.Constants;
import com.latchiya.webapp.form.UploadForm;
* This class handles the uploading of a resume (or any file) and writing it to
* the filesystem. Eventually, it will also add support for persisting the
* files information into the database.
* <p>
* <i>View Source</i>
* </p>
* @author Matt Raible
* @struts.action name="uploadForm" path="/uploadFile" scope="request"
* validate="true" input="failure"
* @struts.action-forward name="failure" path="/WEB-INF/pages/uploadForm.jsp"
* @struts.action-forward name="success" path="/WEB-INF/pages/uploadDisplay.jsp"
public class UploadAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
// Did the user click the cancel button?
if (isCancelled(request)) {
request.removeAttribute(mapping.getAttribute());
return (mapping.findForward("mainMenu"));
//this line is here for when the input page is upload-utf8.jsp,
//it sets the correct character encoding for the response
String encoding = request.getCharacterEncoding();
if ((encoding != null) && (encoding.equalsIgnoreCase("utf-8"))) {
response.setContentType("text/html; charset=utf-8");
UploadForm theForm = (UploadForm) form;
//retrieve the name
String name = theForm.getName();
//retrieve the file representation
FormFile file = theForm.getFile();
//retrieve the file name
String fileName = file.getFileName();
//retrieve the content type
String contentType = file.getContentType();
//retrieve the file size
String size = (file.getFileSize() + " bytes");
String data = null;
String location = null;
// the directory to upload to
String uploadDir =
servlet.getServletContext().getRealPath("/resources") + "/"
+ request.getRemoteUser() + "/";
//write the file to the file specified
File dirPath = new File(uploadDir);
if (!dirPath.exists()) {
dirPath.mkdirs();
//retrieve the file data
InputStream stream = file.getInputStream();
//write the file to the file specified
OutputStream bos = new FileOutputStream(uploadDir + fileName);
int bytesRead = 0;
byte[] buffer = new byte[8192];
while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
bos.write(buffer, 0, bytesRead);
bos.close();
location = dirPath.getAbsolutePath()
+ Constants.FILE_SEP + file.getFileName();
//close the stream
stream.close();
// place the data into the request for retrieval on next page
request.setAttribute("friendlyName", name);
request.setAttribute("fileName", fileName);
request.setAttribute("contentType", contentType);
request.setAttribute("size", size);
request.setAttribute("data", data);
request.setAttribute("location", location);
//destroy the temporary file created
file.destroy();
//return a forward to display.jsp
return mapping.findForward("success");
===========================================================================================
i want to get second jsp file ie upload file to student file
if anybody know please tell i am new to java side
regards
ranga
ur not able to give solution
insted giving comment mind ur words being in software fied
commentting like bad words not good i warn u mind ur words
Similar Messages
-
How to merge two A5 pages into a single A4 page.
I have three PDF documents that I want to print duplexed onto a single A4 sheet. The first two pages (front and back) are A5 which is causing a problem when printing as it will not allow me to print in booklet format without cropping the back page.
Is there any way to combine the two A5 pages into a single A4 page within Acrobat??
I am currently running Acrobat 6.0 Standard on Windows XP SP2When you have been around since AA5 and earlier, the printer used to be the trick to doing things. Since AA5 a lot of the features have been built into Acrobat and it might be possible to create the page in another way. However, the print approach should still work.
-
How do I combine two one page documents into one two page document?
How do I combine two one page documents into on two page document?????
Menu > View > Show Thumbnails > Click on the thumbnail > Copy > Paste into the Thumbnails of the 2nd document
Peter -
Reg: Combining two display lists into one list
Dear All,
i want to combine two display lists into one display list. Please give the idea for this one issue.
*****************dispaly list 1 starting here*********************
*& Form F_006_DISPLAY_LIST
* text
* --> p1 text
* <-- p2 text
FORM F_006_DISPLAY_LIST.
* TABLES : LFA1 .
DATA : V_DEBIT_TOTAL TYPE P DECIMALS 2 ,
V_CREDIT_TOTAL TYPE P DECIMALS 2 ,
V_CLOSE_BAL TYPE P DECIMALS 2 .
DATA : V_CNT TYPE I .
SORT ITAB_OPG BY LIFNR.
LOOP AT ITAB_OPG.
NEW-PAGE.
* Displaying Vendor Name
SELECT SINGLE NAME1 FROM LFA1 INTO LFA1-NAME1 WHERE
LIFNR EQ ITAB_OPG-LIFNR .
FORMAT COLOR COL_POSITIVE INTENSIFIED ON.
WRITE:/2 'Vendor Code:' ,
ITAB_OPG-LIFNR ,
40 LFA1-NAME1 .
CLEAR : LFA1 .
WRITE :/(190) SY-ULINE .
* Displaying Opening Balance
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON .
READ TABLE ITAB_OPG WITH KEY LIFNR = ITAB_OPG-LIFNR .
IF ITAB_OPG-BAL LE 0 .
WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
171(18) ITAB_OPG-BAL .
ELSE.
WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
151(18) ITAB_OPG-BAL .
ENDIF.
WRITE :/(190) SY-ULINE .
* Displaying Line Items
LOOP AT ITAB_DISPLAY WHERE LIFNR EQ ITAB_OPG-LIFNR.
V_CNT = SY-TABIX MOD 2.
IF V_CNT EQ 0.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
ELSE.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
ENDIF.
* Selecting Bank Name and Cheque Number
SELECT SINGLE CHECT HBKID INTO (PAYR-CHECT , PAYR-HBKID)
FROM PAYR WHERE
ZBUKR EQ P_BUKRS AND
VBLNR EQ ITAB_DISPLAY-BELNR AND
LIFNR EQ ITAB_DISPLAY-LIFNR .
SELECT SINGLE BANKS BANKL INTO (T012-BANKS , T012-BANKL) FROM
T012 WHERE BUKRS EQ P_BUKRS AND
HBKID EQ PAYR-HBKID.
SELECT SINGLE BANKA INTO BNKA-BANKA FROM BNKA WHERE
BANKS EQ T012-BANKS AND
BANKL EQ T012-BANKL .
WRITE :/2 ITAB_DISPLAY-BUDAT ,
14 ITAB_DISPLAY-BELNR ,
26 ITAB_DISPLAY-BLDAT ,
40 ITAB_DISPLAY-XBLNR ,
58(16) PAYR-CHECT ,
75 BNKA-BANKA ,
105(40) ITAB_DISPLAY-SGTXT ,
146(4) ITAB_DISPLAY-BLART .
* Determinig Debit or Credit
IF ITAB_DISPLAY-SHKZG EQ 'S'.
V_DEBIT_TOTAL = V_DEBIT_TOTAL + ITAB_DISPLAY-DMBTR.
WRITE:151(18) ITAB_DISPLAY-DMBTR ,
171(18) SPACE .
ELSEIF ITAB_DISPLAY-SHKZG EQ 'H'.
V_CREDIT_TOTAL = V_CREDIT_TOTAL + ITAB_DISPLAY-DMBTR.
WRITE:151(18) SPACE ,
171(18) ITAB_DISPLAY-DMBTR .
ENDIF.
CLEAR : T012 , BNKA , PAYR .
ENDLOOP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/(190) SY-ULINE.
* Displaying Debit and Credit Totals
WRITE:/125 TEXT-001 ,
151(18) V_DEBIT_TOTAL ,
171(18) V_CREDIT_TOTAL .
WRITE:/(190) SY-ULINE.
* Displaying the Closing Balance
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
V_CLOSE_BAL = ITAB_OPG-BAL + V_DEBIT_TOTAL - V_CREDIT_TOTAL .
IF V_CLOSE_BAL GT 0.
WRITE:/122 TEXT-002 ,
151(18) V_CLOSE_BAL NO-SIGN. " D00K909674
ELSEIF V_CLOSE_BAL LE 0.
WRITE:/122 TEXT-002 ,
171(18) V_CLOSE_BAL NO-SIGN. " D00K909674
ENDIF.
CLEAR : V_CLOSE_BAL.
ENDLOOP.
ENDFORM. " F_006_DISPLAY_LIST
*****************dispaly list 1 ending here*********************
*****************dispaly list 2 starting here*********************
*& Form F_006_DISPLAY_LIST1
* text
* --> p1 text
* <-- p2 text
FORM F_006_DISPLAY_LIST1 .
TABLES : KNA1 .
DATA : V_DEBIT_TOTAL1 TYPE P DECIMALS 2 ,
V_CREDIT_TOTAL1 TYPE P DECIMALS 2 ,
V_CLOSE_BAL1 TYPE P DECIMALS 2 .
DATA : V_CNT1 TYPE I .
SORT ITAB_OPG1 BY KUNNR.
LOOP AT ITAB_OPG1.
NEW-PAGE.
* Displaying Vendor Name
SELECT SINGLE NAME1 FROM KNA1 INTO KNA1-NAME1 WHERE
KUNNR EQ ITAB_OPG1-KUNNR .
FORMAT COLOR COL_POSITIVE INTENSIFIED ON.
WRITE:/2 'Customer Code:' ,
ITAB_OPG1-KUNNR ,
40 KNA1-NAME1 .
CLEAR : KNA1 .
WRITE :/(190) SY-ULINE .
* Displaying Opening Balance
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON .
READ TABLE ITAB_OPG1 WITH KEY KUNNR = ITAB_OPG1-KUNNR .
IF ITAB_OPG1-BAL1 LE 0 .
WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
171(18) ITAB_OPG1-BAL1 .
ELSE.
WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
151(18) ITAB_OPG1-BAL1 .
ENDIF.
WRITE :/(190) SY-ULINE .
* Displaying Line Items
LOOP AT ITAB_DISPLAY1 WHERE KUNNR EQ ITAB_OPG1-KUNNR.
V_CNT1 = SY-TABIX MOD 2.
IF V_CNT1 EQ 0.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
ELSE.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
ENDIF.
* Selecting Bank Name and Cheque Number
SELECT SINGLE CHECT HBKID INTO (PAYR-CHECT , PAYR-HBKID)
FROM PAYR WHERE
ZBUKR EQ P_BUKRS AND
VBLNR EQ ITAB_DISPLAY1-BELNR AND
KUNNR EQ ITAB_DISPLAY1-KUNNR .
SELECT SINGLE BANKS BANKL INTO (T012-BANKS , T012-BANKL) FROM
T012 WHERE BUKRS EQ P_BUKRS AND
HBKID EQ PAYR-HBKID.
SELECT SINGLE BANKA INTO BNKA-BANKA FROM BNKA WHERE
BANKS EQ T012-BANKS AND
BANKL EQ T012-BANKL .
WRITE :/2 ITAB_DISPLAY1-BUDAT ,
14 ITAB_DISPLAY1-BELNR ,
26 ITAB_DISPLAY1-BLDAT ,
40 ITAB_DISPLAY1-XBLNR ,
58(16) PAYR-CHECT ,
75 BNKA-BANKA ,
105(40) ITAB_DISPLAY1-SGTXT ,
146(4) ITAB_DISPLAY1-BLART .
* Determinig Debit or Credit
IF ITAB_DISPLAY1-SHKZG EQ 'S'.
V_DEBIT_TOTAL1 = V_DEBIT_TOTAL1 + ITAB_DISPLAY1-DMBTR.
WRITE:151(18) ITAB_DISPLAY1-DMBTR ,
171(18) SPACE .
ELSEIF ITAB_DISPLAY1-SHKZG EQ 'H'.
V_CREDIT_TOTAL1 = V_CREDIT_TOTAL1 + ITAB_DISPLAY1-DMBTR.
WRITE:151(18) SPACE ,
171(18) ITAB_DISPLAY1-DMBTR .
ENDIF.
CLEAR : T012 , BNKA , PAYR .
ENDLOOP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/(190) SY-ULINE.
* Displaying Debit and Credit Totals
WRITE:/125 TEXT-001 ,
151(18) V_DEBIT_TOTAL1,
171(18) V_CREDIT_TOTAL1 .
WRITE:/(190) SY-ULINE.
* Displaying the Closing Balance
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
V_CLOSE_BAL1 = ITAB_OPG1-BAL1 + V_DEBIT_TOTAL1 - V_CREDIT_TOTAL1 .
IF V_CLOSE_BAL1 GT 0.
WRITE:/122 TEXT-002 ,
151(18) V_CLOSE_BAL1 NO-SIGN. " D00K909674
ELSEIF V_CLOSE_BAL1 LE 0.
WRITE:/122 TEXT-002 ,
171(18) V_CLOSE_BAL1 NO-SIGN. " D00K909674
ENDIF.
CLEAR : V_CLOSE_BAL1.
ENDLOOP.
ENDFORM. " F_006_DISPLAY_LIST1
*****************dispaly list 2 ending here*********************
Thanks,
Sankar MHi,
Can you post it as two halves ?
Regards,
Swarna Munukoti -
How can I combine two itunes accounts into one?
How can I combine two itunes accounts into one?
Items purchased from the iTunes Store are permanently associated with the account from which they were originally purchased. Apple provides no way to change this.
However, if you wish to put content from two accounts into a single iTunes library, you can easily do so. Use the command File > Add File (or Folder) to Library. -
Can i merge multiple jsp files into single jsp file
i have two jsp pages,and these two jsp pages generate different outputs,then i want merge these jsp pages output and generte new single file.
yes what the do what the previous poster said.. this can also help to limit the file size of your jsp..
-
Search view : Combine two search views into one serch view
Hi ,
We have a requirement for combining two search views into one and display single result view consisting of some fields from One search and few fields from other search.
Ex. There are two seperate search views for Oppotunity and Quotation. Now we want to combine search views of both into one search view with selected fields and then display a single result view with combined fields from both result views .
Kindly suggest me the steps I can follow to achieve the same.
Thanks,
MadhuraHi,
This is possible by creating dynamic views in a window.
1)create views you required.
2)create a tray in the view 1 and a link and set the properties.
3)create an outbound plug for the view1 and save the application.
4)create one more link in the tray for view1 and set the properties and create one more outbound plug.
5)go the main view view and create 2nd tray and create a UI container element in it.
6) now embed view1 and view2 in the container .........................
<removed_by_moderator>
regards,
Muralidhar .C
Edited by: Stephen Johannes on Jan 26, 2010 7:53 AM -
Is it possible to combine two pivot report into one ?..
Is it possible to combine two pivot report into one ?..
Then trying to display a chart or table result.Thanks for the reply.
Let me explain it briefly. I am creating a Report 1 based on one fitler condition and second report is created based on second filter condition.
I have similar column (time periods) in the both report. Then measure column has to combine and show as single report.
This is my requirement. -
Scanning multiple pages into single document
Is there a way to scan multiple pages into single document? I am using the following: HP pavilion laptop with windows 8, HP photosmart C6380 all in one printer scanner copier.
Hi,
Please try
Double click printer icon on desktop,
Select Scan a Document or Photo,
Put the first page on the glass (face down),
Check options (size, dpi ...), and select Scan document to file,
Click Scan - machine will scan the first page
Remove the first page on the glass, put the second page,
Click + (plus sign) It sits on the left hand side of a red x
Machine will scan the second page, put 3rd page on the glass and click + again ..... to the end then click Save
Click Done after Save
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How do I combine two slide shows into one?
I need to combine two slide shows into one and put the whole thing into a loop for a Kiosque. Can someone help?
Drag and drop the slides from the Thumbnail viewer (left side of the window) from one Keynote to the other. They should copy with all the Actions and Transitions still in place. Then go to Inspector>Document Tab and check the box that says to Loop slideshow.
-
How do i combine two user accounts into one
how do i combine two user accounts into one
Drag one account's home folder from the Users folder to the other account's desktop, provide your administrator password, and then move your files from it.
(75344) -
How to Append two word documents into single using java
How to Append two word documents into single using java
we tried this but it's not append the one word document to other
source code:public class AppendTwoWordFiles {
public static void main(String []arg)throws IOException
FileInputStream fi=null;
FileOutputStream fo=null;
try {
System.out.println("Enter the source file name u want to append");
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
File f1=new File(br.readLine().toString());
System.out.println("Enter the Destination file name ");
File f2=new File(br.readLine().toString());
fi = new FileInputStream(f1);
fo = new FileOutputStream(f2,true);
byte b[]=new byte[2];
while((fi.read(b))!=-1);
fo.write(b);
System.out.println("Successfully append the file");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
finally{
fi.close();
fo.close();
plz reply me quickly ,,,what can i followUse this code ..
and give the path of the both file like this.....
source file ---- C:/workspace/Practice/src/com/moksha/ws/test/practice.text
destination file ---- C:/workspace/City/src/com/moksha/ws/test/practice1.text
import java.io.*;
public class AppendTwoWordFiles {
public static void main(String[] arg) throws IOException {
FileInputStream fi = null;
FileOutputStream fo = null;
try {
System.out.println("Enter the source file name u want to append");
BufferedReader br = new BufferedReader(new InputStreamReader(
System.in));
File f1 = new File(br.readLine().toString());
System.out.println("Enter the Destination file name ");
File f2 = new File(br.readLine().toString());
fi = new FileInputStream(f1);
fo = new FileOutputStream(f2, true);
byte b[] = new byte[2];
int len = 0;
while ((len = fi.read(b)) > 0) {
fo.write(b, 0, len);
System.out.println("Successfully append the file");
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
fi.close();
fo.close();
} -
Ive just learned that i can use loadjava to load jsp pages into the database.
Ive just learned that i can use loadjava to load jsp pages into the database. How is that possible. How can someone go to my lets say, index.jsp page and actually see it if its inside the database? What authenticates it? Where would you set the parameters to tell http(apache) to look inside the db for the pages?
Any ideas?Thanks for the reply. If I put the file on the database, does it have to be in a particular location? I've put it on the database server, launched sql*plus (as APPS) and ran the following:
execute dbms_java.loadjava('-v', 'ZebraGetPrinterFromXML.class');
PL/SQL procedure successfully completed.Then when I try to run a process that uses this I get this:
ORA-29540: class ZebraGetPrinterFromXML does not exist -
How to add Jsp pages into existing portal (JDeveloper 9.0.4)
I am a jsp developer. I have to add a jsp page into existing portal. I am new to portal. Could anyone help me how to develop jsp using portal classes like PortletRenderRequest,ProviderSession and others.
Rigoberto, there should be no space between "-Xbootclasspath/p:" and the path "C:\oracle\infra\jdbc-10.1.0.4\ojdbc14.jar;C:\oracle\infra\jdbc-10.1.0.4\orai18n.jar"
By the way, one can always take a look at the logs at
$ORACLE_HOME/opmn/logs
especially those files whose names start with OC4J~ if there is some wrong with oc4j processes. Those files are the default oc4j stout and sterr. If oc4j can not init, there should be some kind of error message in them.
By the way, the following line may be deleted since no property file is specified.
<data id="oc4j-options" value="-properties"/>
Hope this helps. -
Exporting Content of a JSP page into Excel Spread Sheet
I am trying to export the content of a JSP page into an excel spread sheet. I know this issue had been posted before, but if you any one has the source code of a sample that's working please send it to me at [email protected]
Your help is appreciated.
Jamais.http://forum.java.sun.com/thread.jspa?threadID=664249
Maybe you are looking for
-
Can't sync Yahoo calendar with Palm Pre
I've been having a hell of a time trying to get this palm pre up and running. I've tried all sorts of apps to try and get my Palm desktop data onto my phone, but since I never used the Outlook program none of them worked. I've always just operated
-
Re: How to use the second hard drive in Satellite A300?
I have been given a second hand Satellite A300 that was being thrown out due to a faulty DVD. I fixed the DVD and have a perfect working system. On opening the case I discovered it has 2 x 250GB hard drives. I checked CMOS and the 2 drives show. Yet,
-
Hi, We've had skype for ages. We use it for our business and have skype numbers and multiple skype users. For some reason, the past three days, any incoming calls on our user sales.munz1 is not going to voice mail. It just rings, and rings and ring
-
I have the most up-to-date version of iTunes (have just uninstalled and reinstalled it), and am trying to download iOS5. Everything says iTunes should present me with the option to do this, but it doesn't. When I use the iTunes search box it just r
-
Hi Dear; how can i use the DTW in SDK? best regards;