Getting a JFrame to display from a JSP, remaining JSP code waits for frame
Hello,
I'm new to Java and just started using JSPs. My objective is to call a display window (from a JSP) that shows the user a list of project selections. Once the user has made their selections and clicked a Submit button, the display class captures the selected projects to the request object as an attribute and then closes the window. The next command in the jsp then forwards the request attribute to a controller. I'm having trouble getting the display window to show-the JSP seems to hang and then timeout. Is there code I'm missing to get the JSP to stop processing while it waits for the choices to be made in the JFrame?
Below is the JSP code and the class I'm calling. I'm seeing all my debug System.out statements but no JFrame pops up. In the JFrame class, the line f.addWindowListener(... does the capture of user selections to the request attribute.
Any help will be greatly appreciated!!
JSP:
<%@ page language="java" contentType="text/html;charset=UTF-8" import="com.plumtree.remote.portlet.*,edu.app.projects.*" %>
<%
request.setAttribute("action", "prefDisplay");
request.setAttribute("orderby", "title");
ServletContext jc = getServletContext();
DualListBox dual = new DualListBox(request,(String)jc.getAttribute("db.driver"), (String)jc.getAttribute("db.connectionstring"),"title");
JFrame f = dual.getFrame();
f.setVisible(true);//expect code to stop here and display frame, waiting for the user to finish.
//Debug code that tests if frame is visible at this point -came true though did not see Jframe displayed
if(f.isShowing()){
System.out.println("Jframe visible");}
//Send to ProjectsController
request.getRequestDispatcher("pc").forward(request, response);%> ---------------------------------------------------------------------------------------------
JFrame Class (below)
-Sets up Frame and corresponding Dialog box
-Populates Dialog box with options from a database call (for user selection)
-Should wait for user input - Window close or Submit! to capture selection and dispose of Jframe
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.SortedSet;
import java.util.TreeSet;
import javax.servlet.http.HttpServletRequest;
import javax.swing.AbstractListModel;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ListCellRenderer;
import javax.swing.ListModel;
public class DualListBox extends JPanel {
private static final long serialVersionUID = 1L;
private static final Insets EMPTY_INSETS = new Insets(0, 0, 0, 0);
private static final String ADD_BUTTON_LABEL = "Add >>";
private static final String REMOVE_BUTTON_LABEL = "<< Remove";
private static final String DONE_BUTTON_LABEL = "Submit!";
private static final String DEFAULT_SOURCE_CHOICE_LABEL = "Available Projects";
private static final String DEFAULT_DEST_CHOICE_LABEL = "Your Selections";
private String orderby, mydriver, connectionString;
private JLabel sourceLabel;
private JList sourceList;
private SortedListModel sourceListModel;
private JList destList;
private String chosenprojects;
private SortedListModel destListModel;
private JLabel destLabel;
private JButton addButton;
private JButton removeButton;
private JButton doneButton;
private DatabaseHelper dh;
protected HttpServletRequest request;
protected JFrame f;
protected JDialog jd;
public DualListBox(HttpServletRequest req, String driver, String connection, String ordering) {
System.out.println("In DualList Setup");
request =req;
orderby =ordering;
connectionString = connection;
mydriver = driver;
f = new JFrame("Projects List Selector");
jd =new JDialog(f,true);
jd.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
System.out.println("B4 initscreen");
initScreen();
System.out.println("After initscreen");
String[] DBprojects = this.dbCall();
System.out.println("After DB Call");
this.addSourceElements( DBprojects );
System.out.println("Filled screen");
jd.getContentPane().add(this, BorderLayout.CENTER);
//f.getContentPane().add(jd, BorderLayout.CENTER);
jd.setSize(800, 600);
System.out.println("OK2");
jd.setVisible(true);
System.out.println("OK3");
Runnable runner = new FrameShower(jd);
EventQueue.invokeLater(runner);
public String getSourceChoicesTitle() {
return sourceLabel.getText();
public String chosenprojects() {
return chosenprojects;
public JFrame getFrame() {
return f;
public void setSourceChoicesTitle(String newValue) {
sourceLabel.setText(newValue);
public String getDestinationChoicesTitle() {
return destLabel.getText();
public void setDestinationChoicesTitle(String newValue) {
destLabel.setText(newValue);
public void clearSourceListModel() {
sourceListModel.clear();
public void clearDestinationListModel() {
destListModel.clear();
public void addSourceElements(ListModel newValue) {
fillListModel(sourceListModel, newValue);
public void setSourceElements(ListModel newValue) {
clearSourceListModel();
addSourceElements(newValue);
public void addDestinationElements(ListModel newValue) {
fillListModel(destListModel, newValue);
private String[] dbCall(){
if(dh==null)
dh = new DatabaseHelper(mydriver, connectionString);
PreparedStatement ps = null;
ResultSet rs = null;
ArrayList<String>children = new ArrayList<String>();
ArrayList<String[]>tree =new ArrayList<String[]>();
if(orderby==null || orderby.equals("")){
orderby ="region";
String query = "select title,id from projects";// order by " + orderby;
System.out.println(query);
try {
Connection conn =dh.getConnection();
ps = conn.prepareStatement(query);
rs = ps.executeQuery();
while (rs.next()) {
children.add(new String(rs.getString(1)));
System.out.println(rs.getString(1));
tree.add(new String[]{rs.getString(1),rs.getString(2)});
request.setAttribute("ResultTree",tree);
return (String[])children.toArray(new String[children.size()]);
} catch (SQLException e) {
throw new RuntimeException(e);
} finally {
try {
if (null != rs) rs.close();
} catch (SQLException e) {
try {
if (null != ps) ps.close();
} catch (SQLException e) {
private void fillListModel(SortedListModel model, ListModel newValues) {
int size = newValues.getSize();
for (int i = 0; i < size; i++) {
model.add(newValues.getElementAt(i));
public void addSourceElements(Object newValue[]) {
fillListModel(sourceListModel, newValue);
public void setSourceElements(Object newValue[]) {
clearSourceListModel();
addSourceElements(newValue);
public void addDestinationElements(Object newValue[]) {
fillListModel(destListModel, newValue);
private void fillListModel(SortedListModel model, Object newValues[]) {
model.addAll(newValues);
public Iterator sourceIterator() {
return sourceListModel.iterator();
public Iterator destinationIterator() {
return destListModel.iterator();
public void setSourceCellRenderer(ListCellRenderer newValue) {
sourceList.setCellRenderer(newValue);
public ListCellRenderer getSourceCellRenderer() {
return sourceList.getCellRenderer();
public void setDestinationCellRenderer(ListCellRenderer newValue) {
destList.setCellRenderer(newValue);
public ListCellRenderer getDestinationCellRenderer() {
return destList.getCellRenderer();
public void setVisibleRowCount(int newValue) {
sourceList.setVisibleRowCount(newValue);
destList.setVisibleRowCount(newValue);
public int getVisibleRowCount() {
return sourceList.getVisibleRowCount();
public void setSelectionBackground(Color newValue) {
sourceList.setSelectionBackground(newValue);
destList.setSelectionBackground(newValue);
public Color getSelectionBackground() {
return sourceList.getSelectionBackground();
public void setSelectionForeground(Color newValue) {
sourceList.setSelectionForeground(newValue);
destList.setSelectionForeground(newValue);
public Color getSelectionForeground() {
return sourceList.getSelectionForeground();
public String getProjects(){
return chosenprojects;
private void clearSourceSelected() {
Object selected[] = sourceList.getSelectedValues();
for (int i = selected.length - 1; i >= 0; --i) {
sourceListModel.removeElement(selected);
sourceList.getSelectionModel().clearSelection();
private void clearDestinationSelected() {
Object selected[] = destList.getSelectedValues();
for (int i = selected.length - 1; i >= 0; --i) {
destListModel.removeElement(selected[i]);
destList.getSelectionModel().clearSelection();
private void initScreen() {
setBorder(BorderFactory.createEtchedBorder());
setLayout(new GridBagLayout());
sourceLabel = new JLabel(DEFAULT_SOURCE_CHOICE_LABEL);
sourceListModel = new SortedListModel();
sourceList = new JList(sourceListModel);
add(sourceLabel, new GridBagConstraints(0, 0, 1, 1, 0, 0,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
EMPTY_INSETS, 0, 0));
add(new JScrollPane(sourceList), new GridBagConstraints(0, 1, 1, 5, .5,
1, GridBagConstraints.CENTER, GridBagConstraints.BOTH,
EMPTY_INSETS, 0, 0));
addButton = new JButton(ADD_BUTTON_LABEL);
add(addButton, new GridBagConstraints(1, 2, 1, 2, 0, .25,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
EMPTY_INSETS, 0, 0));
addButton.addActionListener(new AddListener());
removeButton = new JButton(REMOVE_BUTTON_LABEL);
add(removeButton, new GridBagConstraints(1, 4, 1, 2, 0, .25,
GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(
0, 5, 0, 5), 0, 0));
removeButton.addActionListener(new RemoveListener());
doneButton = new JButton(DONE_BUTTON_LABEL);
add(doneButton, new GridBagConstraints(1, 6, 1, 2, 0, .25,
GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(
0, 10, 0, 10), 0, 0));
doneButton.addActionListener(new DoneListener());
f.addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(WindowEvent winEvt) {
//could set to null here to force use of Done button only
chosenprojects = destList.getSelectedValues().toString();
request.setAttribute("ProjectIDs", destList.getSelectedValues().toString());
System.exit(0);
destLabel = new JLabel(DEFAULT_DEST_CHOICE_LABEL);
destListModel = new SortedListModel();
destList = new JList(destListModel);
add(destLabel, new GridBagConstraints(2, 0, 1, 1, 0, 0,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
EMPTY_INSETS, 0, 0));
add(new JScrollPane(destList), new GridBagConstraints(2, 1, 1, 5, .5,
1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH,
EMPTY_INSETS, 0, 0));
private class AddListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
Object selected[] = sourceList.getSelectedValues();
addDestinationElements(selected);
clearSourceSelected();
private class RemoveListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
Object selected[] = destList.getSelectedValues();
addSourceElements(selected);
clearDestinationSelected();
private class DoneListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
chosenprojects = destList.getSelectedValues().toString();
request.setAttribute("ProjectIDs", destList.getSelectedValues().toString());
System.exit(0);
class FrameShower implements Runnable {
final JDialog frame;
public FrameShower(JDialog frame) {
this.frame = frame;
public void run() {
System.out.println("B4 make visible");
frame.setVisible(true);
System.out.println("Made screen visible");
class SortedListModel extends AbstractListModel {
private static final long serialVersionUID = 8777627817685130496L;
SortedSet model;
public SortedListModel() {
model = new TreeSet();
public int getSize() {
return model.size();
public Object getElementAt(int index) {
return model.toArray()[index];
public void add(Object element) {
if (model.add(element)) {
fireContentsChanged(this, 0, getSize());
public void addAll(Object elements[]) {
Collection c = Arrays.asList(elements);
model.addAll(c);
fireContentsChanged(this, 0, getSize());
public void clear() {
model.clear();
fireContentsChanged(this, 0, getSize());
public boolean contains(Object element) {
return model.contains(element);
public Object firstElement() {
return model.first();
public Iterator iterator() {
return model.iterator();
public Object lastElement() {
return model.last();
public boolean removeElement(Object element) {
boolean removed = model.remove(element);
if (removed) {
fireContentsChanged(this, 0, getSize());
return removed;
}{code}
Edited by: redm14A on Oct 10, 2007 11:34 AM
Edited by: redm14A on Oct 10, 2007 11:37 AM
Edited by: redm14A on Oct 10, 2007 11:40 AM
Edited by: redm14A on Oct 10, 2007 11:45 AM
Edited by: redm14A on Oct 10, 2007 11:47 AM
redm14A wrote:
Hmm, I was trying to avoid writing an applet. Seems my only other option then is to write a JSP that returns a javascript menu populated by options from a database call. Then I'd have the user click submit to send the options to another JSP that simply sets the request attribute and forwards to the controller. Will this be a sound alternative?
Edited by: redm14A on Oct 10, 2007 12:29 PMSounds good to me.
Similar Messages
-
Problem description:
My computer is running very slow ever since I switched to Yosemite. I get the multicolored wheel just opening my browser at times and waiting for a page to open, or an application. Any ideas other than rebooting my computer to get the problem to alleviate for a few days?
EtreCheck version: 2.1.8 (121)
Report generated February 16, 2015 at 2:35:55 PM PST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (21.5-inch, Late 2009) (Technical Specifications)
iMac - model: iMac10,1
1 3.06 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
Empty
BANK 1/DIMM0
Empty
BANK 0/DIMM1
2 GB DDR3 1067 MHz ok
BANK 1/DIMM1
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 9400 - VRAM: 256 MB
iMac 1920 x 1080
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 11 days 19:34:2
Disk Information: ℹ️
ST3500418ASQ disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
BOOTCAMP (disk0s4) /Volumes/BOOTCAMP : 60.76 GB (15.30 GB free)
Macintosh HD (disk1) / : 438.11 GB (351.62 GB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 438.49 GB Online
HL-DT-ST DVDRW GA11N
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple, Inc. Keyboard Hub
Apple Inc. Apple Keyboard
hp officejet 4200 series
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Gatekeeper: ℹ️
Mac App Store and identified developers
Problem System Launch Agents: ℹ️
[killed] com.apple.accountsd.plist
[killed] com.apple.AirPlayUIAgent.plist
[killed] com.apple.bird.plist
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.CallHistorySyncHelper.plist
[killed] com.apple.cloudd.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.coreservices.uiagent.plist
[killed] com.apple.EscrowSecurityAlert.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.iconservices.iconservicesagent.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.pluginkit.pkd.plist
[killed] com.apple.printtool.agent.plist
[killed] com.apple.recentsd.plist
[killed] com.apple.secd.plist
[killed] com.apple.security.cloudkeychainproxy.plist
[killed] com.apple.spindump_agent.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
19 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.AssetCacheLocatorService.plist
[killed] com.apple.awdd.plist
[killed] com.apple.coresymbolicationd.plist
[killed] com.apple.ctkd.plist
[killed] com.apple.diagnosticd.plist
[killed] com.apple.emond.aslmanager.plist
[killed] com.apple.iconservices.iconservicesagent.plist
[killed] com.apple.iconservices.iconservicesd.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.periodic-daily.plist
[killed] com.apple.periodic-monthly.plist
[killed] com.apple.periodic-weekly.plist
[killed] com.apple.sandboxd.plist
[killed] com.apple.softwareupdate_download_service.plist
[killed] com.apple.spindump.plist
[killed] com.apple.tccd.system.plist
[killed] com.apple.wdhelper.plist
[killed] com.apple.xpc.smd.plist
20 processes killed due to memory pressure
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Click for support]
[running] com.GoodShop.updater.plist [Click for support]
User Login Items: ℹ️
None
Internet Plug-ins: ℹ️
o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Click for support]
Google Earth Web Plug-in: Version: 5.2 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Flip4Mac WMV Plugin: Version: 2.4.2.4 [Click for support]
RealPlayer Plugin: Version: Unknown [Click for support]
AdobePDFViewerNPAPI: Version: 10.1.13 [Click for support]
DivXBrowserPlugin: Version: 2.0 [Click for support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 7.0
googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Click for support]
AdobePDFViewer: Version: 10.1.13 [Click for support]
GarminGpsControl: Version: 4.2.0.0 - SDK 10.8 [Click for support]
User internet Plug-ins: ℹ️
CitrixOnlineWebDeploymentPlugin: Version: 1.0.79 [Click for support]
VSeeHelper: Version: VSeeHelper 1.0.0.0 - SDK 10.8 [Click for support]
Safari Extensions: ℹ️
avast! Online Security
Goodshop app
3rd Party Preference Panes: ℹ️
DivX [Click for support]
Flip4Mac WMV [Click for support]
MacFUSE [Click for support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 438.11 GB Disk used: 86.50 GB
Destinations:
Backup [Local]
Total size: 159.70 GB
Total number of backups: 3
Oldest backup: 2014-11-24 05:20:18 +0000
Last backup: 2015-02-01 03:04:02 +0000
Size of backup disk: Too small
Backup size 159.70 GB < (Disk used 86.50 GB X 3)
Top Processes by CPU: ℹ️
8% WindowServer
5% DashboardClient
3% mds
2% launchd
0% ocspd
Top Processes by Memory: ℹ️
64 MB WindowServer
52 MB thunderbird
34 MB mds
34 MB Mail
30 MB mds_stores
Virtual Memory Information: ℹ️
654 MB Free RAM
834 MB Active RAM
777 MB Inactive RAM
903 MB Wired RAM
102.49 GB Page-ins
1.46 GB Page-outs
Diagnostics Information: ℹ️
Standard users cannot read /Library/Logs/DiagnosticReports.
Run as an administrator account to see more information.Hi Linc! Sorry for the delay. Here is the information:
Start time: 16:48:08 02/28/15
Revision: 1241
Model Identifier: iMac10,1
System Version: OS X 10.10.2 (14C109)
Kernel Version: Darwin 14.1.0
Time since boot: 10 days 21:04
UID: 502
SerialATA
ST*******ASQ
USB
officejet 4200 series (Hewlett Packard)
Bluetooth
Apple Wireless Mouse
FileVault 2: On FileVault master keychain appears to be installed
FileVault 1: On
I/O wait time (ms/s)
launchd (UID 0): 53
Font issues: 40
Firewall: On
System caches/logs
1987 MB: /System/Library/Caches/com.apple.coresymbolicationd/data
Diagnostic reports
2015-01-31 SecurityAgent crash
2015-02-01 2BUA8C4S2C.com.agilebits.onepassword4-helper crash
2015-02-01 IMDPersistenceAgent crash
2015-02-01 secd crash
2015-02-20 Inkjet7 crash
2015-02-28 IMDPersistenceAgent crash
2015-02-28 secd crash x2
Kernel log
Feb 23 07:06:08 Failed to get hibernate image filename
Feb 23 17:07:05 Failed to get hibernate image filename
Feb 24 07:06:05 Failed to get hibernate image filename
Feb 24 17:47:13 Failed to get hibernate image filename
Feb 24 18:31:50 IOAudioStream[0xffffff802df40400]::clipIfNecessary() - Error: counted 1 clip more than one buffer ahead errors.
Feb 24 19:14:41 Failed to get hibernate image filename
Feb 24 20:56:40 Failed to get hibernate image filename
Feb 24 22:14:14 Failed to get hibernate image filename
Feb 24 22:38:31 Failed to get hibernate image filename
Feb 25 06:58:23 Failed to get hibernate image filename
Feb 25 17:40:53 Failed to get hibernate image filename
Feb 25 21:04:27 Failed to get hibernate image filename
Feb 25 21:31:52 Failed to get hibernate image filename
Feb 26 07:03:06 Failed to get hibernate image filename
Feb 26 17:06:59 Failed to get hibernate image filename
Feb 27 06:58:56 Failed to get hibernate image filename
Feb 27 17:02:56 Failed to get hibernate image filename
Feb 27 19:17:20 Failed to get hibernate image filename
Feb 27 23:04:12 Failed to get hibernate image filename
Feb 28 10:09:19 Failed to get hibernate image filename
Feb 28 13:07:21 Failed to get hibernate image filename
Feb 28 14:08:38 Failed to get hibernate image filename
Feb 28 15:11:16 Failed to get hibernate image filename
Feb 28 16:18:21 msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
Feb 28 16:29:32 Failed to get hibernate image filename
System log
label = "2.5.4.3";
"localized label" = "2.5.4.3";
type = string;
value = "courier.sandbox.push.apple.com";
Feb 28 16:30:55 loginwindow ERROR | __50-[MCXDLauncher(Private) startNetworkChangeThread:]_block_invoke | Unable to GetMCXAgentPort
Feb 28 16:31:09 apsd Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[8424]
Feb 28 16:31:44 apsd Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[8433]
Feb 28 16:32:36 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "Mail" for over 1.00 seconds. Server has re-enabled them.
Feb 28 16:34:16 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
Feb 28 16:38:37 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "1Password mini" for over 1.00 seconds. Server has re-enabled them.
Feb 28 16:38:49 WindowServer WSGetSurfaceInWindow : Invalid surface 769181205 for window 4518
Feb 28 16:38:49 WindowServer WSGetSurfaceInWindow : Invalid surface 769181205 for window 4518
Feb 28 16:38:56 WindowServer WSGetSurfaceInWindow : Invalid surface 1023641180 for window 4522
Feb 28 16:38:56 WindowServer WSGetSurfaceInWindow : Invalid surface 1023641180 for window 4522
Feb 28 16:39:06 WindowServer WSGetSurfaceInWindow : Invalid surface 1058035653 for window 4525
Feb 28 16:39:06 WindowServer WSGetSurfaceInWindow : Invalid surface 1058035653 for window 4525
Feb 28 16:39:22 WindowServer WSGetSurfaceInWindow : Invalid surface 996085260 for window 4530
Feb 28 16:39:22 WindowServer WSGetSurfaceInWindow : Invalid surface 996085260 for window 4530
Feb 28 16:39:33 WindowServer WSGetSurfaceInWindow : Invalid surface 1034343505 for window 4534
Feb 28 16:39:33 WindowServer WSGetSurfaceInWindow : Invalid surface 1034343505 for window 4534
Feb 28 16:39:39 Google Chrome Helper CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 28 16:39:39 Google Chrome Helper CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 28 16:46:20 apsd Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[8979]
Feb 28 16:49:02 loginwindow ERROR | __50-[MCXDLauncher(Private) startNetworkChangeThread:]_block_invoke | Unable to GetMCXAgentPort
Daemons
com.apple.AccountPolicyHelper
com.apple.AssetCacheLocatorService
com.apple.CodeSigningHelper
com.apple.MobileFileIntegrity
com.apple.awdd
com.apple.backupd-auto
com.apple.cache_delete
com.apple.coresymbolicationd
com.apple.ctkd
com.apple.diagnosticd
com.apple.emond.aslmanager
com.apple.iconservices.iconservicesagent
com.apple.iconservices.iconservicesd
com.apple.ifdreader
com.apple.installd
com.apple.installer.osmessagetracing
com.apple.nehelper
com.apple.networkd_privileged
com.apple.nsurlsessiond_privileged
com.apple.nsurlstoraged
com.apple.periodic-daily
com.apple.periodic-monthly
com.apple.periodic-weekly
com.apple.sandboxd
com.apple.secinitd
com.apple.security.syspolicy
- status: -15
com.apple.softwareupdate_download_service
com.apple.softwareupdated
com.apple.spindump
com.apple.sysmond
com.apple.systemstatsd
com.apple.tccd.system
com.apple.watchdogd
com.apple.wdhelper
org.cups.cupsd
Agents
2BUA8C4S2C.com.agilebits.onepassword4-helper
com.adobe.ARM.UUID
com.apple.AirPortBaseStationAgent
com.apple.imdpersistence.IMDPersistenceAgent
- status: -10
com.apple.secd
- status: -10
User crontab
59 16 * * 7 /Applications/MacScan\ 2/MacScan.app/Contents/MacOS/MacScan -autoscan YES
Firefox extensions
Mozilla Firefox hotfix
Widgets
iCal
iCloud errors
cloudd 7
comapple.InputMethodKit.UserDictionary 2
CallHistorySyncHelper 1
Continuity errors
sharingd 1
Restricted files: 174
Lockfiles: 30
High file counts
Desktop: 54
Accessibility
Scroll Zoom: On
Contents of /System/Library/Security/authorization.plist
- mod date: Oct 9 02:17:00 2014
- checksum: 2720110640
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>The name of the requested right is matched against the keys. An exact match has priority, otherwise the longest match from the start is used. Note that the right will only match wildcard rules (ending in a ".") during this reduction.
allow rule: this is always allowed
<key>com.apple.TestApp.benign</key>
<string>allow</string>
deny rule: this is always denied
<key>com.apple.TestApp.dangerous</key>
<string>deny</string>
user rule: successful authentication as a user in the specified group(5) allows the associated right.
The shared property specifies whether a credential generated on success is shared with other apps (i.e., those in the same "session"). This property defaults to false if not specified.
The timeout property specifies the maximum age of a (cached/shared) credential accepted for this rule.
The allow-root property specifies whether a right should be allowed automatically if the requesting process is running with uid == 0. This defaults to false if not specified.
See remaining rules for examples.
</string>
<key>rights</key>
<dict>
<key></key>
<dict>
<key>class</key>
<string>rule</string>
<key>comment</key>
...and 1850 more line(s)
Contents of /private/etc/authorization.deprecated
- mod date: Oct 25 13:37:39 2014
- checksum: 842352627
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>The name of the requested right is matched against the keys. An exact match has priority, otherwise the longest match from the start is used. Note that the right will only match wildcard rules (ending in a ".") during this reduction.
allow rule: this is always allowed
<key>com.apple.TestApp.benign</key>
<string>allow</string>
deny rule: this is always denied
<key>com.apple.TestApp.dangerous</key>
<string>deny</string>
user rule: successful authentication as a user in the specified group(5) allows the associated right.
The shared property specifies whether a credential generated on success is shared with other apps (i.e., those in the same "session"). This property defaults to false if not specified.
The timeout property specifies the maximum age of a (cached/shared) credential accepted for this rule.
The allow-root property specifies whether a right should be allowed automatically if the requesting process is running with uid == 0. This defaults to false if not specified.
See remaining rules for examples.
</string>
<key>rights</key>
<dict>
<key></key>
<dict>
<key>class</key>
<string>rule</string>
<key>comment</key>
...and 1013 more line(s)
Contents of /private/etc/pam.d/prl_disp_service
- mod date: Mar 5 03:24:01 2010
- checksum: 1160556194
auth required pam_nologin.so
auth optional pam_afpmount.so
auth sufficient pam_securityserver.so nullok
auth sufficient pam_unix.so nullok
auth required pam_deny.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
session optional pam_afpmount.so
Contents of /private/etc/pam.d/prl_disp_service.snow_leopard
- mod date: Mar 5 03:24:01 2010
- checksum: 2633576920
auth optional pam_krb5.so
auth optional pam_mount.so
auth sufficient pam_serialnumber.so serverinstall legacy
auth required pam_opendirectory.so
account required pam_nologin.so
account required pam_opendirectory.so
password required pam_deny.so
session required pam_launchd.so
session required pam_uwtmp.so
session optional pam_mount.so
auth optional pam_krb5.so
auth optional pam_mount.so
auth sufficient pam_serialnumber.so serverinstall legacy
auth required pam_opendirectory.so
account required pam_nologin.so
account required pam_opendirectory.so
password required pam_deny.so
session required pam_launchd.so
session required pam_uwtmp.so
session optional pam_mount.so
Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
- mod date: Aug 1 17:37:19 2012
- checksum: 408149527
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.adobe.ARM.UUID</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>12600</integer>
</dict>
</plist>
Applications
/Applications/Acrobat 6.0 Professional/Acrobat 6.0.2 Professional.app
- N/A
/Applications/Acrobat 6.0 Professional/Acrobat Distiller 6.0.2.app
- com.adobe.distiller
/Applications/Adobe/Acrobat.com.app
- com.adobe.mauby.UUID.1
/Applications/Adobe/Adobe Help.app
- chc.UUID.1
/Applications/Bible Explorer 4.app
- com.BE8.wordsearchbible.corp
/Applications/DivX Converter.app
- N/A
/Applications/DivX Player.app
- com.divx.DivX_Player
/Applications/DivX/DivX Community.app
- com.spritec.DVD
/Applications/DivX/DivX Products.app
- com.spritec.DVD
/Applications/DivX/DivX Support.app
- com.spritec.DVD
/Applications/DivX/Uninstall DivX for Mac.app
- com.divxinc.uninstalldivxformac
/Applications/FOX News Live.app
- FoxPlayerAIR.UUID.1
/Applications/Flip4Mac/WMV Player.app
- net.telestream.wmv.player
/Applications/Garmin Express.app
- com.garmin.renu.client
/Applications/Garmin WebUpdater.app
- com.garmin.WebUpdater
/Applications/Hewlett-Packard/HP Image Edit.app
- com.hp.hpimageedit
/Applications/Hewlett-Packard/HP Image Print.app
- com.hp.photo.imageprint
/Applications/Hewlett-Packard/HP Image Zone.app
- com.hp.imagezone
/Applications/Hewlett-Packard/HP Instant Share.app
- com.hp.photo.instantshare
/Applications/Hewlett-Packard/HP Panorama Stitching.app
- com.hp.PanoramaStitching
/Applications/Hewlett-Packard/HP Photo and Imaging Software/HP E-mail Portal/HP E-mail Portal
- N/A
/Applications/Hewlett-Packard/HP Photo and Imaging Software/HP Photo and Imaging Director/Director Docker.app
- com.hp.director.docker
/Applications/Hewlett-Packard/HP Software Update.app
- com.hp.softwareupdate
/Applications/Hewlett-Packard/HP Uninstaller
- N/A
/Applications/Karaoke Maker/Audacity.app
- net.sourceforge.audacity
/Applications/Macromedia Studio 8/Macromedia Contribute 3/Contribute
- com.macromedia.Contribute
/Applications/Macromedia Studio 8/Macromedia Contribute 3/Contribute/Contents/MacOS/Contribute
- N/A
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8
- com.macromedia.Dreamweaver
/Applications/Macromedia Studio 8/Macromedia Extension Manager/Extension Manager.app
- com.macromedia.ExtensionManager
/Applications/Macromedia Studio 8/Macromedia Fireworks 8/Fireworks 8.app
- com.macromedia.fireworks
/Applications/Macromedia Studio 8/Macromedia Flash 8 VideoEncoder/Flash 8 Video Encoder.app
- com.macromedia.FLVEncoder
/Applications/Macromedia Studio 8/Macromedia Flash 8/Flash 8.app
- com.macromedia.flash.8
/Applications/Microsoft AutoUpdate.app
- com.microsoft.autoupdate
/Applications/Microsoft Office 2004/Additional Tools/Handheld Sync Installer
- com.MindVision.VISEX
/Applications/Microsoft Office 2004/Additional Tools/Handheld Sync Installer/Contents/MacOSClassic/Handheld Sync Installer
- N/A
/Applications/Microsoft Office 2004/Additional Tools/Microsoft Language Register/Microsoft Language Register
- N/A
/Applications/Microsoft Office 2004/Additional Tools/Remote Desktop Connection/Remote Desktop Connection
- N/A
/Applications/Microsoft Office 2004/Additional Tools/Remove Office/Remove Office
- N/A
/Applications/Microsoft Office 2004/Additional Tools/Windows Media Installer
- N/A
/Applications/Microsoft Office 2004/Additional Tools/Windows Media Installer/Contents/MacOS/Windows Media Installer
- N/A
/Applications/Microsoft Office 2004/MSN Messenger.app
- Microsoft/com.microsoft.Messenger
/Applications/Microsoft Office 2004/Microsoft Entourage
- N/A
/Applications/Microsoft Office 2004/Microsoft Excel
- N/A
/Applications/Microsoft Office 2004/Microsoft PowerPoint
- N/A
/Applications/Microsoft Office 2004/Microsoft Word
- N/A
/Applications/Microsoft Office 2004/Office/Alerts Daemon.app
- Microsoft/com.microsoft.AlertsDaemon
/Applications/Microsoft Office 2004/Office/Database Utility
- N/A
/Applications/Microsoft Office 2004/Office/Equation Editor
- N/A
/Applications/Microsoft Office 2004/Office/Microsoft Cert Manager.app
- com.microsoft.certmgr
/Applications/Microsoft Office 2004/Office/Microsoft Clip Gallery
- N/A
/Applications/Microsoft Office 2004/Office/Microsoft Database Daemon
- N/A
/Applications/Microsoft Office 2004/Office/Microsoft Error Reporting.app
- com.microsoft.error_reporting
/Applications/Microsoft Office 2004/Office/Microsoft Graph
- N/A
/Applications/Microsoft Office 2004/Office/Microsoft Office Notifications
- N/A
/Applications/Microsoft Office 2004/Office/Microsoft Query
- N/A
/Applications/Microsoft Office 2004/Office/Microsoft Sync Services.app
- com.microsoft.entourage.syncservices
/Applications/Microsoft Office 2004/Office/Organization Chart
- N/A
/Applications/Microsoft Office 2004/Office/Project Gallery Launcher
- N/A
/Applications/Open XML Converter.app
- com.microsoft.OfficeConverter
/Applications/OpenOffice.app
- org.openoffice.script
/Applications/Quicken 2007/Quicken 2007
- com.intuit.quicken
/Applications/Quicken 2007/Quicken 2007/Contents/MacOS/Quicken 2007
- N/A
/Applications/Quicken 2007/Quicken 2007/Contents/SupportApps/Emergency Records Organizer
- com.intuit.ero
/Applications/Quicken 2007/Quicken 2007/Contents/SupportApps/Emergency Records Organizer/Contents/MacOSClassic/Emergency Records Organizer
- N/A
/Applications/Quicken 2007/Quicken 2007/Contents/SupportApps/Home Inventory.app
- com.intuit.HomeInventory
/Applications/Quicken 2007/Quicken 2007/Contents/SupportApps/Quicken Backup Utility.app
- com.intuit.quicken.dotmac
/Applications/Quicken 2007/Quicken 2007/Contents/SupportApps/Quicken Scheduler
- N/A
/Applications/RealPlayer Converter.app
- com.real.converter
/Applications/RealPlayer.app
- com.RealNetworks.RealPlayer
/Applications/TorBrowser.app
- N/A
/Applications/Utilities/Adobe AIR Application Installer.app
- com.adobe.air.ApplicationInstaller
/Applications/Utilities/Adobe Utilities.localized/Adobe Updater6/Adobe Updater.app
- "com.Adobe.ESD.AdobeUpdaterApplication"
/Library/Application Support/Adobe/AdobePDF.app
- com.Adobe.print.AdobePDF.bef
/Library/Application Support/DivX/DivXUpdater.app
- com.divx.DivXUpdater
/Library/Application Support/Hewlett-Packard/Software Update/HP Rules Processor.app
- com.hp.rulesprocessor
/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app
- com.hp.HPScheduler
/Library/Application Support/Hewlett-Packard/Software Update/HP Software Updater
- N/A
/Library/Application Support/Hewlett-Packard/Software Update/HP Software Updater/Contents/MacOS/HP Software Updater
- N/A
/Library/Application Support/Microsoft/HV1.0/Microsoft Help Viewer.app
- com.microsoft.helpviewer
/Library/Application Support/Microsoft/Office Converter Support/Open XML for Charts.app
- com.microsoft.openxml.chartconverter.app
/Library/Application Support/Microsoft/Office Converter Support/Open XML for Excel.app
- com.microsoft.openxml.excel.app
/Library/Application Support/Microsoft/Office Converter Support/Open XML for Word.app
- com.microsoft.openxml.word.app
/Library/Application Support/Microsoft/Office Converter Support/pptfc.app
- com.microsoft.openxml.powerpoint.app
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
- com.microsoft.silverlight.sllauncher
/Library/Application Support/Script Editor/Templates/Cocoa-AppleScript Applet.app
- com.apple.ScriptEditor.id.cocoa-applet-template
/Library/Application Support/Script Editor/Templates/Droplets/Droplet with Settable Properties.app
- com.apple.ScriptEditor.id.droplet-with-settable-properties-template
/Library/Application Support/Script Editor/Templates/Droplets/Recursive File Processing Droplet.app
- com.apple.ScriptEditor.id.file-processing-droplet-template
/Library/Application Support/Script Editor/Templates/Droplets/Recursive Image File Processing Droplet.app
- com.apple.ScriptEditor.id.image-file-processing-droplet-template
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/flashplayer
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_burn_cd.app
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_export_images.app
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_import_images.app
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_panorama_stitch.app
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_use_folders.app
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_use_image_edit.app
- N/A
/Library/Documentation/Help/HP Photo and Imaging Help/shrd/fscommand/c_use_image_print.app
- N/A
/Library/Documentation/User Guides and Information.localized/Apple Hardware Test Read Me.app
- com.apple.AppleHardwareTestReadMe
/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app
- com.adobe.air.ApplicationInstaller
/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Template.app
- com.adobe.air.Template
/Library/Image Capture/Scripts/Import and View with iPhoto.app
- com.hp.iPhoto.icautotask
/Library/Parallels/Parallels Mounter.app
- com.parallels.server.mounter
/Library/Printers/hp/Fax/fax.backend
- com.hp.fax
/Library/Printers/hp/Fax/rastertofax.filter
- com.hp.rastertofax
/Library/Printers/hp/cups/filters/commandtohp.filter
- com.hp.print.cups.filter.commandtohp
/Library/Printers/hp/cups/filters/pdftopdf.filter
- com.hp.print.cups.filter.pdftopdf
/Library/Printers/hp/cups/tools/autosetup.tool
- com.hp.print.autosetup
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_bepbmhgboaologfdajaanbcjmnhjmhfn/Default bepbmhgboaologfdajaanbcjmnhjmhfn.app
- com.google.Chrome.app.Default-bepbmhgboaologfdajaanbcjmnhjmhfn-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpcfgokakmgnkcojhhkbfbldkacnbeo/Default blpcfgokakmgnkcojhhkbfbldkacnbeo.app
- com.google.Chrome.app.Default-blpcfgokakmgnkcojhhkbfbldkacnbeo-internal
/Users/USER/Library/Caches/com.adobe.Reader.ARM/UUID/Adobe Reader Updater.app
- com.adobe.ARM
/mike's old computer/Adobe/AdobePDF.app
- com.Adobe.print.AdobePDF.bef
/mike's old computer/Adobe/Installers/R2/Setup.app
- com.adobe.Installers.Setup
/mike's old computer/Deimos Rising/Deimos Rising
- N/A
/mike's old computer/IA_Installers/TypingMaster_for_Mac/TypingMasterMac.app
- N/A
/mike's old computer/TypingMasterMac/UninstallerData/Uninstall TypingMaster for Mac.app
- N/A
/mike's old computer/TypingMasterMac/itutoreng.app
- N/A
/mike's old computer/adobe applications/Adobe GoLive CS/Adobe GoLive CS.app
- com.adobe.GoLive
/mike's old computer/adobe applications/Adobe Illustrator CS/2.app
- com.adobe.illustrator
/mike's old computer/adobe applications/Adobe InDesign CS/InDesign CS.app
- com.adobe.InDesign
/mike's old computer/adobe applications/Adobe InDesign CS/Plug-Ins/Online/AUMLibrary.cfm/Contents/SharedSupport/Adobe Update Manager.app
- com.adobe.ESD.AUM
/mike's old computer/adobe applications/Adobe Photoshop CS/Adobe ImageReady CS.app
- com.adobe.ImageReady
/mike's old computer/adobe applications/Adobe Photoshop CS/Adobe Photoshop CS.app
- com.adobe.Photoshop
/mike's old computer/adobe applications/Adobe Version Cue/Uninstall Adobe Version Cue.app
- N/A
/old computer stuff/At Ease Setup Folder/At Ease Setup
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Apple System Profiler
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Calculator
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Chooser
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/FaxStatus
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Graphing Calculator
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Internet Access/Browse the Internet
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Internet Access/Connect To...
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Internet Access/Mail
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Key Caps
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Note Pad
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Remote Access Status
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Scrapbook
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Sherlock
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/SimpleSound
- N/A
/old computer stuff/OLDIESystem Folder/Apple Menu Items/Stickies
- N/A
/old computer stuff/OLDIESystem Folder/Application Support/IntelliTools/Classic Sending Helper
- N/A
/old computer stuff/OLDIESystem Folder/Application Support/Norton AntiVirus ƒ/NAV Small Scanner
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Appearance
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Apple Menu Options
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/AppleTalk
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/ColorSync
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Configuration Manager
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Control Strip
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Date & Time
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/DialAssist
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Energy Saver
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Extensions Manager
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/File Exchange
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/File Sharing
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/General Controls
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Infrared
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Internet
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Keyboard
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Location Manager
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Memory
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Microsoft Office Manager
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Modem
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Monitors & Sound
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Mouse
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Numbers
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/QuickTime™ Settings:™ Settings:
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/QuikSync
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Remote Access
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Speech
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Startup Disk
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/TCP:IP
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Text
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Users & Groups
- N/A
/old computer stuff/OLDIESystem Folder/Control Panels/Web Sharing
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Application Switcher
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/ColorSync Extension
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Control Strip Extension
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Desktop PrintMonitor
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Desktop Printer Spooler
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/FBC Indexing Scheduler
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/FaxMonitor
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Find/Find by Content Indexing
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Folder Actions
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Norton Scheduler
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/PrintMonitor
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Time Synchronizer
- N/A
/old computer stuff/OLDIESystem Folder/Extensions/Web Sharing Extension
- N/A
/old computer stuff/OLDIESystem Folder/Help/Apple Help Viewer/Help Viewer
- N/A
/old computer stuff/OLDIESystem Folder/MacTCP DNR
- N/A
/old computer stuff/OLDIESystem Folder/Scripting Additions/Desktop Printer Manager
- N/A
/old computer stuff/OLDIESystem Folder/Scripting Additions/Network Setup Scripting
- N/A
/old computer stuff/OLDIESystem Folder/Scripting Additions/URL Access Scripting
- N/A
/old computer stuff/OLDIESystem Folder/System Extensions (Disabled)/AOL 5.0 Backup Installer
- N/A
/old computer stuff/Tony Hawk's Pro Skater 4/Tony Hawk's Pro Skater 4.app
- com.aspyr.thps4
Frameworks
/Library/Frameworks/Adobe AIR.framework
- com.adobe.AIR
/Library/Frameworks/DivX Toolkit.framework
- com.divx.divxtoolkit
/Library/Frameworks/EWSMac.framework
- com.eSellerate.EWSMac67108868
/Library/Frameworks/HPSmartPrint.framework
- com.hp.print.HPSmartPrint
/Library/Frameworks/MacFUSE.framework
- com.google.MacFUSE
/Library/Frameworks/PrintMeSSL.framework
- com.efi.printme.ssl
/Library/Frameworks/TSLicense.framework
- net.telestream.license
PrefPane
/Library/PreferencePanes/DivX.prefPane
- com.divx.divxprefs
/Library/PreferencePanes/Flip4Mac WMV.prefPane
- net.telestream.wmv.prefpane
/Library/PreferencePanes/MacFUSE.prefPane
- com.google.MacFUSE
Bundles
/Library/Audio/MIDI Drivers/EmagicUSBMIDIDriver.plugin
- info.emagic.driver.unitor
/Library/Contextual Menu Items/ParallelsCM.plugin
- com.parallels.cmplugin
/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/AdobeCP15.plugin
- com.adobe.adobecp
/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Flash Player.plugin
- com.macromedia.FlashPlayer-10.6.plugin
/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/adobecp.plugin
- com.adobe.adobecp20
/Library/Internet Plug-Ins/AdobePDFViewer.plugin
- com.adobe.acrobat.pdfviewer
/Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
- com.adobe.acrobat.pdfviewerNPAPI
/Library/Internet Plug-Ins/DivXBrowserPlugin.plugin
- com.divx.DivXBrowserPlugin
/Library/Internet Plug-Ins/Flip4Mac WMV Plugin.plugin
- net.telestream.wmv.plugin
/Library/Internet Plug-Ins/GarminGpsControl.plugin
- com.garmin.GarminGpsControl
/Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
- com.Google.GoogleEarthPlugin.plugin
/Library/Internet Plug-Ins/Silverlight.plugin
- com.microsoft.SilverlightPlugin
/Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
- com.google.googletalkbrowserplugin
/Library/Internet Plug-Ins/iPhotoPhotocast.plugin
- com.apple.plugin.iPhotoPhotocast
/Library/Internet Plug-Ins/o1dbrowserplugin.plugin
- com.google.o1dbrowserplugin
/Library/Printers/Macromedia/PDEs/FlashPaperPDE.plugin
- com.macromedia.flashpaper.pde.FlashPaperPDE
/Library/Printers/PPD Plugins/AdobePDFPDE.plugin
- com.Adobe.print.AdobePDF.pde
/Library/QuickLook/GBQLGenerator.qlgenerator
- com.apple.garageband.quicklookgenerator
/Library/QuickLook/ParallelsQL.qlgenerator
- com.parellels.quicklookgenerator
/Library/Spotlight/GBSpotlightImporter.mdimporter
- com.apple.garageband.spotlightimporter
/Library/Spotlight/Microsoft Entourage.mdimporter
- com.microsoft.entourageMDImporter
/Library/Spotlight/ParallelsMD.mdimporter
- com.parallels.mdimporter
/Users/USER/Library/Application Support/Google/Chrome/PepperFlash/12.0.0.70/PepperFlashPlayer.plugin
- com.macromedia.PepperFlashPlayer.pepper
/Users/USER/Library/Internet Plug-Ins/CitrixOnlineWebDeploymentPlugin.plugin
- com.citrixonline.mac.WebDeploymentPlugin
Library paths
/Applications/Karaoke Maker/libmp3lame.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/Frameworks/libwchar.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/MacOS/CoreTypes.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/MacOS/LibCURL.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/MacOS/LibCrypto.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/MacOS/LibSSL.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/MacOS/SystemFrameworkUtils.dylib
/Applications/Macromedia Studio 8/Macromedia Dreamweaver 8/Dreamweaver 8/Contents/MacOS/ZLib.dylib
/Library/Application Support/Adobe/OOBE/PDApp/DWA/DWANative.dylib
/Library/Application Support/Adobe/OOBE/PDApp/DWA/resources/libraries/ARKCmdCaps.dylib
/Library/Application Support/Adobe/OOBE/PDApp/DWA/resources/libraries/ARKCmdFS.dylib
/Library/Application Support/Adobe/OOBE/PDApp/DWA/resources/libraries/ARKEngine.dylib
/Library/Application Support/Adobe/OOBE/PDApp/DWA/resources/libraries/AdobePIM.dylib
/Library/Application Support/Adobe/OOBE/PDApp/LWA/PWANative.dylib
/Library/Application Support/Adobe/OOBE/PDApp/LWA/adobe_caps.dylib
/Library/Application Support/Adobe/OOBE/PDApp/LWA/adobe_oobelib.dylib
/Library/Application Support/Adobe/OOBE/PDApp/LWA/adobe_upgrade.dylib
/Library/Application Support/Adobe/OOBE/PDApp/UWA/UWANative.dylib
/Library/Application Support/Adobe/OOBE/PDApp/core/AdobePIM.dylib
/Library/Application Support/DivX/Libraries/libDivXDesktopSupport.dylib
/Library/Application Support/DivX/QtPlugins/accessible/libqtaccessiblewidgets.dylib
/Library/Application Support/DivX/QtPlugins/iconengines/libqsvgicon.dylib
/Library/Application Support/DivX/QtPlugins/imageformats/libqgif.dylib
/Library/Application Support/DivX/QtPlugins/imageformats/libqico.dylib
/Library/Application Support/DivX/QtPlugins/imageformats/libqjpeg.dylib
/Library/Application Support/DivX/QtPlugins/imageformats/libqmng.dylib
/Library/Application Support/DivX/QtPlugins/imageformats/libqsvg.dylib
/Library/Application Support/DivX/QtPlugins/imageformats/libqtiff.dylib
/Library/Application Support/DivX/QtPlugins/script/libqtscriptdbus.dylib
/Library/Application Support/DivX/QtPlugins/sqldrivers/libqsqlite.dylib
/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/WebKit.dylib
/Library/Frameworks/MacFUSE.framework/Versions/A/Resources/Debug/libfuse.dylib. dSYM/Contents/Resources/DWARF/libfuse.dylib
/Library/Frameworks/MacFUSE.framework/Versions/A/Resources/Debug/libfuse_ino64. dylib.dSYM/Contents/Resources/DWARF/libfuse_ino64.dylib
/Library/Printers/hp/Frameworks/HPDeviceModel.framework/Versions/3.0/Frameworks /Core.framework/Versions/3.0/Libraries/libHPIOnetsnmp.5.dylib
/Library/Printers/hp/Frameworks/HPSmartX.framework/Versions/B/Resources/lib/SxC FReader.dylib
/Library/Printers/hp/Frameworks/HPSmartX.framework/Versions/C/Resources/lib/SxC FReader.dylib
/Users/USER/Library/Application Support/AOL Desktop/Security/libnspr4.dylib
/Users/USER/Library/Application Support/AOL Desktop/Security/libnssckbi.dylib
/Users/USER/Library/Application Support/AOL Desktop/Security/libplc4.dylib
/Users/USER/Library/Application Support/AOL Desktop/Security/libplds4.dylib
/Users/USER/Library/Application Support/Firefox/Profiles/w5owlxqa.default/gmp-gmpopenh264/1.1/libgmpopenh264.dy lib
/Users/USER/Library/Application Support/Google/Chrome/WidevineCDM/1.4.6.758/_platform_specific/mac_x64/libwidev inecdm.dylib
/Users/USER/Library/Caches/com.apple.ScreenSaver.Engine/com.apple.vision/com.ap ple.vision.64FaceCoreCLKernel.dylib
/mike's old computer/adobe applications/Adobe Version Cue/libpbodbc3.dylib
/mike's old computer/adobe applications/Adobe Version Cue/libps-gcc2-v8_50.dylib
/mike's old computer/adobe applications/Adobe Version Cue/libps-jni-gcc2-v8_50.dylib
/mike's old computer/adobe applications/Adobe Version Cue/libps-pb-gcc2-v8_50.dylib
/mike's old computer/adobe applications/Adobe Version Cue/libps-rw-gcc2-v8_50.dylib
/mike's old computer/adobe applications/Adobe Version Cue/libps-util-gcc2-v8_50.dylib
/mike's old computer/adobe applications/Adobe Version Cue/tomcat/webapps/ROOT/WEB-INF/components/com.adobe.bauhaus.nativecomm/res/VCF oundation.dylib
/usr/lib/libgutenprint.2.0.3.dylib
/usr/local/lib/libfreetype.6.3.16.dylib
/usr/local/lib/libfreetype.6.dylib
/usr/local/lib/libfreetype.dylib
/usr/local/lib/libfuse.2.dylib
/usr/local/lib/libfuse_ino64.2.dylib
Installations
Norton AntiVirus Application: 6/20/10, 10:21 PM
Symantec Scheduler: 6/20/10, 10:21 PM
Microsoft® Silverlight™ Browser Plug-In: 6/19/10, 8:25 PM
Parallels Desktop 5 for Mac: 6/10/10, 6:02 AM
MacFUSE Core: 6/10/10, 6:03 AM
Elapsed time (sec): 317
<Edited By Host> -
I am using Vodafone at Delhi India with my Iphone 5S, 3g is activated with my number but i am not getting 3G signals iphone is also activated with vodafone but still waiting for 3G signals contacted vodafone but wasted my time pls help using APN www
Keep on talking to Vodafone and keep pestering them until you get a satisfactory answer. Whether you get a 3G signal or not, is entirely the responsibility of Vodafone India because they are your carrier/phone company and nobody here can help you with that on a public user to user technical support forum.
Contact Vodafone as they are the only ones who can help you. -
Have a Droid Razr M that is stuck in the reboot screen. I tried a hard reboot and a factory reset, and it still gets stuck in the reboot screen. How long should I wait for the reboot to occur until it starts back up? I tried the steps for a factory reset given on this site, but it still does not want to work. Any help would be greatly appreciated.
Hello otter314!
Let's take a look into this to see if we can figure out what happened. When did this begin? What's the software version of the device? Do you remember what was happening with the device right before this started? Please supply me with some additional information, I'm happy to help with a resolution!
ChristinaB_VZW
VZW Support
Follow us on Twitter @VZWSupport -
Result display from 2 queries using VB code(macros)
Hi All,
I have an RRI report.when i execute Query1 it has to jump to query2.In Query1 i have fields Region and Quantity.in Query2 i have Region and sales order quantity.
Query1 Query2
Region Quantity Region SO Quantity
A 20 A 30
A 40 A 40
Result 60 Result 70
Assume above r the results of my Query1 and 2.I should get these 2 query results in workbook as below
Region Quantity SO Quantity
A 60 70
I heard we can do this wring VB code(macros).can anybody help me out how to get this.
Thanks ,
vid.can't you just make a 3rd excel sheet that does a VLOOKUP to the others to get the results and display them on a cover?_
or you could multi-cube...but I guess there's a reason that you don't want to do that -
Hi I was in the procces of uploading photos from my phone three days ago as i have an important art project to finish today. I have tried to restart my computer log off come back on but every time i put my phone to the computer and press up load photos its comes up with "Photos are baeing import to photo library- please wait for import to complete".
There are 90 photos and this came after it uploaded a few - can you help me - i have tried to quit iphone but this keeps coming up and i need these pics imported from my phone to my computer.
please help
thank youApple menu ==> forec quit
LN -
ASSERT: Giving up waiting for the tab closing animation to finish (bug 608589)
Stack Trace:
0:([object XULElement],[object XULElement],0)
Happening since I went to the 4.0b9 beta. Thanks for any help in getting rid of it.They're still working on fixing that Bug - https://bugzilla.mozilla.org/show_bug.cgi?id=608589 - a fix for another Bug - https://bugzilla.mozilla.org/show_bug.cgi?id=613888 - landed earlier this week which might have fixed it. Unless you are willing to install a nightly Trunk which has the latest fixes, you'll have to wait for 4.0b10 for the fix.
-
How to get a pop up window from a jsp form?
hello,
i need to get a pop up window when i click a button on a jsp form page. then
i have to enter some values and get the result on this child window by clicking a button for calculation on the same child window.
what mechanism should i follow for this ? anybody , help me plz..Then u can make a Applet For that or can make a Frame & open it on the client side.
it's so simple .
Do it ok
Bye
Harsh -
How long does it take to migrate mail data from snow leopard to lion. Waiting for hours
OK, so here I thought I was solving a calendar sync problem by updating my OS from 10.6.8 to 10.7.3. Initially unable to load the mail app, however this seemed to work after taking out the "envelope index" file as suggested in this forum. New mail program loaded, but now stuck with rolling blue and white candy bar on a window inside the "Mail Upgrade" window stating "migrating data ...".Thinking I might simply have a lot of data I waited 5 (!!) hours,... No change. I went back to Finder and once again removed the envelope index file as well as all files with a .plist extension. Again started mail, again stuck with the screen "migrating data". So my question: Do I just have to wait (and then for how long? Days?), or do I have to tweek my MacBook Pro a little to be able to once again read and write e-mail?
Thanks12 hours and did not finish. Still left with the message: migrating data. I cannot imagine what the program is doing.
So I force quit mail and cleaned up everything I know to clean up: went to folder "~/library/Mail" and deleted everything I thought was not needed. Emptied the trash. Now, of course, I have a fair amount of mails in different folders that are stored in the mail program. But from a total data amount point of view this should be trivial.
Restarted mail, get the screen: "Mail Message Import", click "Continue"
Then program successfully imports 4563 messages in less than 2 minutes.
Then - once again - rotating candy bar with message "migrating data ..."
There is no way to see what is actually happening and no way to stop the process other than force quit.
Help!!! -
Junk characters like" � � "displayed in the jsp page please help.
Hi,
I am getting junk characters like � � displayed in the jsp page.
In the JSP page i used javascript "& nbsp" for appending spaces to a string "CCR" to get "CCR " .
Now the Resultant string "CCR " has three spaces appended to its right.
This String is set in session in that JSP page.
In the next JSP page i am getting that string from session.
After getting the string the "substring" function is performed to get only the first 5 charcters of the string. Now the result is displayed as " CCR� � " with has last 2 characters as junk values � � insteed of displaying as "CCR ". Please help me in solving this issue.
Please note that initially the sting "CCR" is got from the Oracle database in Solaris Machine.
Regards,
Vijayhave you tried:
strenuously inspecting the string that is coming from the db? do an actual loop over the string, character by character, dumping to System.out to make sure the characters are EXACT coming out of the db.
note you have to append " " not just "& nbsp"
post the code that is doing the output. the relevant bean code, the jsp, everything relevant - WITH COMMENTS discussing where things are happening.
Also, is it "weird characters" in the browser only? have you done a view source on the actual html source that the browser is rendering (right click in IE and click view source). browsers can act odd if you don't feed then exactly what they want, and it looks like you're feeding it escaped characters that it is rendering as something else. -
How to instantiate a .class from a JSP?
Hi,
probably it's a simple problem, byt I'm new in JSP and I couldn't work it out.
I'm converting a SSJS Netscape Application to JSP. My needing is to write a Java .class containing only static methods, to call them from the JSP pages.
For trying, I wrote a simple class that I call from a JSP page, but I get this error:
Error: 500
Location: /JSP24H/cap01/Simple2.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\work\localhost_8080%2FJSP24H\_0002fcap_00030_00031_0002fSimple_00032_0002ejspSimple2_jsp_0.java:80:
Incompatible type for =. Can't convert void to java.lang.String.
v = GenFunction.messaggio();
^
This is the JSP instantiating the Java class:
<HTML>
<HEAD><TITLE>A Simple JSP</TITLE></HEAD>
<BODY>
<FONT COLOR="blue" FACE="Trebuchet">
<CENTER>
<%@ page import = "GenFunction" %>
<% out.println("My name is Charly !" + "<br>"); %>
<%
String v = " ";
v = GenFunction.messaggio();
out.println( v );
%>
</CENTER>
</FONT>
</BODY>
</HTML>
And this is the class instantiated from JSP:
public class GenFunction {
public static void main (String args[]) {
public static String messaggio() {
String a;
a = " Hello world !";
return a;
In order to be sure about what I'm doing, I opened a DOS window and I called the class within the following:
public class call_Class {
public static void main (String args[])
String v;
GenFunction x = new GenFunction();
v = x.messaggio();
System.out.println(v);
When I instantiate the class from DOS it's all right, why not from JSP. It seems to be returning a void value (I tried with casting too but without success).
Thanks !Do you have multiple versions of classes in the server CLASSPATH somehwhere? If you have changed the class, and not bounced the server, try bouncing the server(may be using cached class)
-Mak -
How to i get my iphone 5 unstuck from a frozen apple logo
Hello Beau460,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iOS: Not responding or does not turn on
http://support.apple.com/kb/ts3281
If the device remains unresponsive or does not turn on (or power on), reset your device.
If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
Let charge for at least twenty minutes, then see if it starts normally.
If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
If the screen displays a red battery icon, continue charging the device until the battery is fully charged.
If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
Connect the device to your computer and open iTunes.
If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
Best of luck,
Mario -
No display from Mini on PC Monitor
Hi,
Can anyone help me please? I picked up a used Mac Mini for a little project I'm involved and as a way to test out Apple computing (I'm a complete Apple newb). I got a mini vga cable to connect my old (ish) PC monitor. I can here the Mini boot up (I get the chime) but I'm not getting any signal on the monitor. I saw a thread on a similar line to this but the only answer to the query was to disconnect the monitor and reboot the mini, then reconnect the monitor. I tried this and it didn't work. I know the monitor works fine (I've been running my laptop off it) so can't understand why I can't get the mini to display on the screen.
Would be grateful for any ideas.
Thanks,
AndyThat's a late 2006 originally shipped with a square block DVI to VGA adapter.
also see > http://manuals.info.apple.com/en/Mac_mini_Early_2006_Users_Guide.pdf
Are you using that adapter or an after market one with a pig tail?
for example: > Micro Center - Apple DVI to VGA Adapter M8754G/A
For testing purposes you might try another DVI to VGA adapter, cable and monitor. But personally I would try a barrowed DVI cable and DVI monitor connected straight to the DVI port before buying another DVI to VGA adapter. -
Struts can't display the input jsp page
Hello,
I'm using Struts 1.3.8 to construct a simple user registration system, in which the user could input his info (such as uuname and gpin, both are strings) in a jsp page, and after the submit, the system should go to a success page. However, somehow, when I access the url, it goes directly to the success page, but not stay at the input page.
Here is my {color:#ff0000}struts-xml.config{color}
bq. <?xml version="1.0" encoding="UTF-8"?> \\ <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd"> \\ <struts-config> \\ <form-beans> \\ <form-bean name="{color:#ff0000}anotherUserForm{color}" type="com.visualbuilder.struts.beans.AnotherUser" /> \\ </form-beans> \\ <!-- Global Exceptions --> \\ <global-exceptions></global-exceptions> \\ <!-- Global Forwards --> \\ <global-forwards> \\ <forward name="success" path="success.jsp"/> </global-forwards> \\ <!-- Action Mappings --> \\ <action-mappings> \\ <action path="/{color:#ff0000}addanotheruser{color}" type="com.visualbuilder.struts.action.AddAnotherUserAction" name="{color:#ff0000}anotherUserForm{color}" attribute="user" input="{color:#ff0000}/addanotheruser.jsp{color}" cancellable="true"> \\ </action> \\ </action-mappings> \\ <!-- Message Resources --> \\ <message-resources \\ parameter="registration.resources.ApplicationResources" /> \\ </struts-config>
My action class is:
package com.visualbuilder.struts.action;
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 com.visualbuilder.struts.beans.AnotherUser;
public class AddAnotherUserAction extends Action {
@Override
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
if (isCancelled(request)) {
return mapping.findForward("welcome");
{color:#ff0000}AnotherUser anotherUser = (AnotherUser) form;{color}
System.out.println("UUName: " + anotherUser.getUuname() + "\tGPIN: " + anotherUser.getGpin());
{color:#ff0000}return mapping.findForward("success");{color}
My ActionForm class is:
package com.visualbuilder.struts.beans;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
public class AnotherUser extends ActionForm {
private static final long serialVersionUID = 1058901817587421984L;
private String uuname;
private String gpin;
public String getGpin() {
return gpin;
public void setGpin(String gpin) {
this.gpin = gpin;
public String getUuname() {
return uuname;
public void setUuname(String uuname) {
this.uuname = uuname;
@Override
public void reset(ActionMapping mapping, HttpServletRequest request) {
uuname = null;
gpin = null;
@Override
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
return errors;
The input jsp page is addanotheruser.jsp:
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Another User Registration</title>
</head>
<body>
<h1>Another User Registration</h1>
<html:errors />
<table>
{color:#ff0000}<html:form action="addanotheruser">{color}
<tr>
<td>UUName</td>
<td>{color:#ff0000}<html:text property="uuname"></html:text>{color}*</td>
</tr>
<tr>
<td>GPIN</td>
<td>{color:#ff0000}<html:text property="gpin"></html:text>{color}*</td>
</tr>
<tr>
<td><html:submit/></td>
<td><html:cancel/></td>
</tr>
</html:form>
</table>
</body>
</html>
Everytime I access http://localhost:9080/addanotheruser.do, it jumps to the success.jsp, but not stay at addanotheruser.jsp to wait for the user input, and in the server's console, I could see the output "UUName: null GPIN: null"
I've been stuck at this simple program for three days, could anybody help to find the errors? Thanks a lot.sorry, the post looks ugly. Does anybody know how to make the indent not disappear?
-
Need help on Modifying Jsp Code to establish relationships in iStore.
I am currently working on iStore an internet enabled product
from Oracle.
In iStore one can establish relationships between products like
cross sell , complimentary, substitute, conflict etc. However at
the moment only one relationship works i.e: Related. This is
because this is a bug in iStore. Only the relationship Related
is defined in the jsp. We have been asked to modify the jsp
ibeCCtdItemDetail.jsp
Please find pasted below the jsp which only had the arrays for
related i.e: relitems and service i.e service have added the
array complimentary to establish such a relationship and pasted
the relitems code once again and changed relitems to
complimentary. I am stuck up on this since the past 2 weeks i
would appreciate if anybody could help.
<%@include file="jtfincl.jsp" %>
<!-- $Header: ibeCCtdItemDetail.jsp 115.24 2001/06/16 15:21:05
pkm ship $ -->
<%--
=================================================================
========
| Copyright (c)2000 Oracle Corporation, Redwood Shores, CA
| All rights reserved.
+================================================================
===========
|
| FILE
| ibeCCtdItemDetail.jsp - Item Detail display
|
| DESCRIPTION
| Displays Item Detail page. Item's description, long
description, large
| image, flexfields, available services, and related items
are displayed.
| The list price and best price (selling price) for each of
the Item's
| available units of measure is displayed. Displays Add to
Cart,
| Express Checkout, Configure buttons (if appropriate).
|
| PARAMETERS (SOURCE)
| party Id IN (RequestCtx) - user's party
id
| account Id IN (RequestCtx) - user's
account id
| currency code IN (RequestCtx) - currency code
| item IN (URL) - Item ID
| section IN (URL) - section ID of
section we are
| coming from
(optional)
| item IN (pageContext) - Item ID
| section IN (pageContext) - Section ID
| qty IN (pageContext) - Quantity
entered by user
| uom IN (pageContext) - UOM selected
by user
| errorMsg IN (pageContext) - error message
from buy
| routing page
| * pageContext attributes for "item" and "section" are used
when the URL
| does not contain valid values for "item" and "section"
(such as when an
| error occurred in the buy routing page and the request is
forwarded
| back to this page)
|
| oneclick_obj OUT (pageContext) - OneClick
object containing
| user's
Express Checkout
| preferences
| postingID OUT (pageContext) - Integer
posting Id, for
| iMarketing
integration
| itemIDs OUT (pageContext) - int[] itemIDs
on the page
| (for use by
postings)
| numRequested OUT (pageContext) - Integer
number of postings,
| for
iMarketing integration
| random OUT (pageContext) - Boolean
whether to randomize
| posting
retrieved, for
| iMarketing
integration
| type OUT (HTML form) - "single" (1
item)
| item OUT (HTML form) - Item ID
| refpage OUT (HTML form) -
"ibeCCtdItemDetail.jsp" plus any
| parameters
needed to return
| to this page
in case of error.
| uom OUT (HTML form) - UOM code
selected by user
| qty OUT (HTML form) - quantity
entered by user
| Add to Cart.x OUT (HTML form) - user clicks
Add to Cart
| 1-Click.x OUT (HTML form) - user clicks
Express Checkout
| Configure.x OUT (HTML form) - user clicks
Configure
|
| OBJECTS REFERENCED
| oracle.apps.ibe.catalog.Item
| oracle.apps.ibe.order.OneClick
|
| APIs REFERENCED
| Item.getItemID() - get Item ID
| Item.getDescription() - get item description
| Item.getLongDescription() - get item long description
| Item.isConfigurable() - whether item has
configuration UI set up
| Item.getFlexfields() - get Item flexfield
prompts and values
| Item.getRelatedItems() - get related items and
service items
| Item.getMediaFileName() - get media based on
display context
| OneClick.loadSettingFrDB() - load Express Checkout
settings for
| current user
|
| JSPs REFERENCED
| ibeCCtpPostingI.jsp - set iMarketing
parameters (include)
| ibeCCtpSetItem.jsp - retreive and set item
information (include)
| ibeCCtpItmDspRte.jsp - Item display routing
page (link)
| ibeCCtpBuyRoute.jsp - Buy routing
page (form POST)
| ibeCCtdSctPath.jsp - Path Traversed
Display (include)
| ibeCXpdShowTag.jsp - Express Checkout Tag
Area (include)
| ibapstng.jsp - iMarketing integration
page (include)
|
| ADDITIONAL NOTES
| iMarketing posting ID can be changed by editing file
ibeCCtpPostingI.jsp
|
| HISTORY
| 08/01/2000 auyu Created.
| 04/09/2001 auyu Added compile-time include for retrieving
item
| information
|
+================================================================
=======--%>
<%@page import="oracle.apps.ibe.order.*" %>
<%@page import="oracle.apps.ibe.catalog.*" %>
<%@page import="oracle.apps.ibe.store.*" %>
<%@page import="oracle.apps.jtf.displaymanager.*" %>
<%@page import="oracle.apps.jtf.base.Logger" %>
<%@page import="oracle.apps.jtf.minisites.*" %>
<%@include file="ibeCZzpHeader.jsp" %>
<%@page import="oracle.jdbc.driver.*" %>
<%@page import="java.sql.*" %>
<%-- declaration --%>
<%!
/* Retrieve parent section ids for a given item.
* int itemId - Item whose parent section ids will be retrieved
int getParentSectionId(int itemId)
int parentSectionId = -1;
Connection conn = null;
OraclePreparedStatement stmt = null;
ResultSet rs = null;
try {
BigDecimal minisiteId = RequestCtx.getMinisiteId();
conn = TransactionScope.getConnection();
StringBuffer sql = new StringBuffer(400);
sql.append("select jdsi.section_id ");
sql.append("from jtf_dsp_section_items jdsi, ");
sql.append("jtf_dsp_msite_sct_items jdmsi ");
sql.append("where jdsi.inventory_item_id = ? ");
sql.append("and jdsi.section_item_id =
jdmsi.section_item_id ");
sql.append("and jdmsi.mini_site_id = ? ");
sql.append("and nvl(jdsi.start_date_active, sysdate) <=
sysdate ");
sql.append("and nvl(jdsi.end_date_active, sysdate) >=
sysdate ");
sql.append("and nvl(jdmsi.start_date_active, sysdate) <=
sysdate ");
sql.append("and nvl(jdmsi.end_date_active, sysdate) >=
sysdate");
stmt = (OraclePreparedStatement)conn.prepareStatement
(sql.toString());
stmt.setInt(1, itemId);
stmt.setInt(2, minisiteId.intValue());
stmt.defineColumnType(1, Types.INTEGER);
rs = stmt.executeQuery();
if (rs.next())
parentSectionId = rs.getInt(1);
} catch (Exception e1) {
parentSectionId = -1;
IBEUtil.log("ibeCCtdItemDetail.jsp",
"Caught exception while retrieving parent
section id");
IBEUtil.log("ibeCCtdItemDetail.jsp", e1.getMessage());
} finally
try { if (rs != null) rs.close(); } catch (Exception e2) {}
try { if (stmt != null) stmt.close(); } catch (Exception
e2) {}
try {
if (conn != null) TransactionScope.releaseConnection
(conn);
} catch (Exception e2) {}
return parentSectionId;
%>
<%-- end declaration --%>
<%@include file="ibeCCtpSetItem.jsp"%>
<%
The compile-time inclusion of ibeCCtpSetItem.jsp will declare
and set
the following variables:
boolean bItemLoaded - whether section was
loaded
Item lItem - Item
boolean bItemCanBeOrdered - whether item can be
ordered
String[] uomCodes - Item's UOM Codes
Vector itemSellPriceDisplayVec - vector containing
item's selling
prices in formatted
strings
Vector itemListPriceDisplayVec - vector containing
item's list
prices in formatted
strings
int nPriceDefined - number of prices
defined for the item
Perform the following actions:
Set "itemIds" in the PageContext.REQUEST_SCOPE
Set "item" in PageContext.REQUEST_SCOPE
Set "section" in PageContext.REQUEST_SCOPE
MessageManagerInter lMsgMgr =
Architecture.getMessageManagerInstance();
pageContext.setAttribute("_pageTitle",
lMsgMgr.getMessage
("IBE_PRMT_CT_PRODUCT_DETAILS"),
PageContext.REQUEST_SCOPE);
%>
<%@ include file="ibeCCtpPostingI.jsp" %>
<%@ include file="ibeCZzdTop.jsp" %>
<%@ include file="ibeCZzdMenu.jsp" %>
<%
if (bItemLoaded)
OneClick lOneClickObj;
String xprTagArea = "", confirmXpr = "";
String lBuyRoutePage;
String lSectionPathPage = "";
int sectid = 0;
Item[] services = new Item[0];
Item[] relItems = new Item[0];
Item[] complimentary = new Item[0];
ItemFlexfield[] itemFlexfields = new ItemFlexfield[0];
String lItemImage = "", lItemAddtlInfoFile = "";
StringBuffer lRef = new StringBuffer("ibeCCtdItemDetail.jsp?
item=");
String qty = "", userSelUOM = "";
String errorMsg = "";
//--------------- load express checkout preferences ---------
if (IBEUtil.useFeature("IBE_USE_ONE_CLICK"))
xprTagArea = DisplayManager.getTemplate
("STORE_XPR_TAG_AREA").getFileName();
if (xprTagArea == null)
xprTagArea = "";
confirmXpr = lMsgMgr.getMessage("IBE_PRMT_EXPR_CONFIRM");
if (RequestCtx.userIsLoggedIn()) {
//initialize OneClick if user is logged in
BigDecimal partyId = RequestCtx.getPartyId();
BigDecimal accountId = RequestCtx.getAccountId();
lOneClickObj = new OneClick();
lOneClickObj.loadSettingsFrDB(partyId, accountId);
} // end user express checkout
//------------ set "section", lSectionPathPage --------------
String lSectionId = IBEUtil.nonNull(request.getParameter
("section"));
if (lSectionId.equals(""))
lSectionId =
IBEUtil.nonNull((String)pageContext.getAttribute
("section", PageContext.REQUEST_SCOPE));
if(IBEUtil.useFeature("IBE_USE_SECTION_PATH"))
lSectionPathPage = DisplayManager.getTemplate
("STORE_CTLG_SCT_PATH").getFileName();
try {
sectid = Integer.parseInt(lSectionId);
pageContext.setAttribute("section", String.valueOf
(sectid), PageContext.REQUEST_SCOPE);
} catch (NumberFormatException e) { }
if(lSectionPathPage == null)
lSectionPathPage = "";
lBuyRoutePage = DisplayManager.getTemplate
("STORE_CTLG_BUY_PROCESS_ROUTE").getFileName();
/* if error and forwarded back to this page, get values
selected by user */
qty = IBEUtil.nonNull((String)pageContext.getAttribute
("qty", PageContext.REQUEST_SCOPE));
if (qty.equals(""))
qty = "1";
userSelUOM = IBEUtil.nonNull((String)pageContext.getAttribute
("uom", PageContext.REQUEST_SCOPE));
errorMsg = IBEUtil.nonNull((String) pageContext.getAttribute
("errorMsg", PageContext.REQUEST_SCOPE));
//set ref for returning to this page in case of error
lRef.append(lItem.getItemID());
if (sectid > 0)
lRef.append("§ion=");
lRef.append(sectid);
/* Get Bin Open and Bin Close Images */
String binOpenImg = "", binCloseImg = "";
try {
Media binOpenMedia = DisplayManager.getMedia
("STORE_BIN_OPEN_IMAGE", true);
if (binOpenMedia != null)
binOpenImg = binOpenMedia.getFileName();
} catch (MediaNotFoundException mnfe) {}
if (binOpenImg == null)
binOpenImg = "";
try {
Media binCloseMedia = DisplayManager.getMedia
("STORE_BIN_CLOSE_IMAGE", true);
if (binCloseMedia != null)
binCloseImg = binCloseMedia.getFileName();
} catch (MediaNotFoundException mnfe) {}
if (binCloseImg == null)
binCloseImg = "";
/* Get images, additional info, flexfields, related items,
service items */
lItemImage = lItem.getMediaFileName
("STORE_PRODUCT_LARGE_IMAGE");
lItemAddtlInfoFile = lItem.getMediaFileName
("STORE_PRODUCT_ADDTL_INFO");
// check for defaulting
String defaultFromSection = "Y";
if ("Y".equals(defaultFromSection))
if (lItemImage == null || lItemAddtlInfoFile == null)
try {
int parentSectionId = getParentSectionId
(lItem.getItemID());
Section parentSection = Section.load(parentSectionId);
if (lItemImage == null)
lItemImage = parentSection.getMediaFileName
("STORE_SECTION_SMALL_IMAGE");
if (lItemAddtlInfoFile == null)
lItemAddtlInfoFile = parentSection.getMediaFileName
("STORE_SECTION_ADDTL_INFO");
} catch (Exception e) {}
itemFlexfields = lItem.getFlexfields();
try {
services = lItem.getRelatedItems("SERVICE");
} catch (ItemNotFoundException e) {}
try {
relItems = lItem.getRelatedItems("RELATED");
} catch (ItemNotFoundException e) {}
try {
complimentary = lItem.getRelatedItems("COMPLIMENTARY");
} catch (ItemNotFoundException e) {}
%>
<!-- body section -----------------------------------------------
------------->
<table border="0" width="100%">
<%
if (IBEUtil.showPosting()) {
%>
<!--------- iMarketing integration ----------------->
<tr><td colspan="4" align="center">
<% try {
%>
<jsp:include page="ibapstng.jsp" flush="true" />
<% } catch (Throwable e) {
IBEUtil.log("ibeCCtdItemDetail.jsp", "iMarketing error",
Logger.ERROR);
%>
</td></tr>
<% } //end iMarketing installed
%>
<tr><td> </td>
<%
if(!lSectionPathPage.equals(""))
%>
<td colspan="4" class="smallLink">
<jsp:include page="<%=lSectionPathPage%>" flush="true" />
</td>
<% }
%>
</tr>
<tr><td valign="top"> </td>
<!-- center column ------------------------------------------
------------->
<td valign="top" width="70%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="3">
<span class="pageTitle"><%=lItem.getDescription()%
</span></td></tr>
<tr>
<% if (lItemImage != null) {
%>
<td valign="TOP"><img src="<%=lItemImage%>"></td>
<td valign="TOP" colspan="2"><%
=lItem.getLongDescription()%></td>
<% } else {
%>
<td valign="TOP" colspan="3"><%
=lItem.getLongDescription()%></td>
<% }
%>
</tr>
<% if (lItemAddtlInfoFile != null) {
%>
<tr><td colspan="3"><br>
<jsp:include page="<%=lItemAddtlInfoFile%>"
flush="true" />
</td></tr>
<% }
%>
<tr><td colspan="3"><br></td></tr>
<%
for (int i=0; i < itemFlexfields.length; i++)
String prompt = itemFlexfields.getPrompt();
String value = itemFlexfields[i].getValue();
if (value != null && !value.equals(""))
%>
<tr>
<td align="LEFT" width="20%">
<span class="sectionHeader2"><%=prompt%
</span></td>
<td align="LEFT" colspan="2" width="80%"><%=value%
</td></tr>
<% }
if (services.length > 0)
%>
<tr><td colspan="3"><br></td></tr>
<tr><td align="RIGHT" class="sectionHeader1" width="20%">
<%=lMsgMgr.getMessage("IBE_PRMT_CT_WARRANTIES")%>
</td>
<td colspan="2" align="left" class="sectionHeaderBlack"
width="80%"><hr>
</td></tr>
<%
for(int i=0; i < services.length; i++)
%>
<tr>
<td valign="TOP" class="sectionHeaderBlack"
width="20%"> </td>
<td align="left" colspan="2" valign="TOP" width="80%">
<span class="sectionHeaderBlack">
<A HREF="<%= DisplayManager.getURL
(STORE_CTLG_ITM_ROUTE", "item=" + services[i.getItemID()) %>">
<%=services.getDescription()%></A>
</span>
<%=services[i].getLongDescription()%>
</td>
</tr>
<tr>
<td colspan="3" class="sectionHeaderBlack"> </td>
</tr>
<% } //end loop through services
} // end if services.length > 0
if (relItems.length > 0) {
%>
<tr><td colspan="3"><br></td></tr>
<tr>
<td align="RIGHT" class="sectionHeader1" width="20%">
<%=lMsgMgr.getMessage("IBE_PRMT_CT_REL_PRODUCTS")%>
</td>
<td align="left" colspan="2" class="sectionHeaderBlack"
width="80%"><hr></td>
</tr>
<%
for(int i=0; i < relItems.length; i++)
%>
<tr>
<td valign="TOP" class="sectionHeaderBlack"
width="20%"> </td>
<td colspan="2" align="left" valign="TOP"
width="80%">
<span class="sectionHeaderBlack">
<A HREF="<%= DisplayManager.getURL
("STORE_CTLG_ITM_ROUTE", "item=" + relItems[i].getItemID()) %>">
<%=relItems[i].getDescription()%></A>
</span>
<%=relItems[i].getLongDescription()%>
</td>
</tr>
<tr>
<td colspan="3" align="RIGHT"
class="sectionHeaderBlack"> </td>
</tr>
<% } // end loop through related items
} // end if relItems.length > 0
%>
</table>
</td>
<%if (complimentary.length > 0) {
%>
<tr><td colspan="3"><br></td></tr>
<tr>
<td align="RIGHT" class="sectionHeader1" width="20%">
<%=lMsgMgr.getMessage("IBE_PRMT_CT_REL_PRODUCTS")%>
</td>
<td align="left" colspan="2" class="sectionHeaderBlack"
width="80%"><hr></td>
</tr>
<%
for(int i=0; i < complimentary.length; i++)
%>
<tr>
<td valign="TOP" class="sectionHeaderBlack"
width="20%"> </td>
<td colspan="2" align="left" valign="TOP"
width="80%">
<span class="sectionHeaderBlack">
<A HREF="<%= DisplayManager.getURL
("STORE_CTLG_ITM_ROUTE", "item=" + complimentary[i].getItemID())
%>">
<%=complimentary[i].getDescription()%></A>
</span>
<%=complimentary[i].getLongDescription()%>
</td>
</tr>
<tr>
<td colspan="3" align="RIGHT"
class="sectionHeaderBlack"> </td>
</tr>
<% } // end loop through related items
} // end if complimentary.length > 0
%>
</table>
</td>
<!-- right column -------------------------------------------
------------->
<td valign="top" width="20%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<% if (! binOpenImg.equals("")) {
%>
<td><img src="<%=binOpenImg%>"></td>
<% }
%>
<td nowrap class="binHeaderCell" width="100%">
<%
if (!lItem.isConfigurable()) {
%>
<%=lMsgMgr.getMessage("IBE_PRMT_CT_2_WAYS_TO_SHOP")%>
<% } else {
%>
<%=lMsgMgr.getMessage("IBE_PRMT_CT_CONFIG_PRODUCT")%>
<% }
%>
</td>
<% if (! binCloseImg.equals("")) {
%>
<td><img src="<%=binCloseImg%>"></td>
<% }
%>
</tr>
</table>
</td></tr>
<tr><td class="binColumnHeaderCell">
<table border="0" cellspacing="1" width="100%">
<tr><td class="binContentCell" align="CENTER">
<% /////////////////////////////// error
messages //////////////////////////////
if (!errorMsg.equals("")) {
%>
<table><tr><td align="center" class="errorMessage">
<%=errorMsg%>
</td></tr></table>
<% }
/////////////////////////////// display
form //////////////////////////////////%>
<!--Javascript for express checkout confirmation-->
<script language="JavaScript">
function get_confirmation(form)
if (confirm("<%=confirmXpr%>" ) ) {
form.tmpx.name = '1-Click.x';
form.tmpy.name = '1-Click.y';
form.submit();
return true;
else
return false;
</script>
<form method=POST action="<%=lBuyRoutePage%>">
<input type=hidden name="type" value="single">
<input type=hidden name="item" value="<%=lItem.getItemID()%
"><input type=hidden name="refpage" value="<%=lRef.toString
()%>">
<INPUT TYPE="HIDDEN" NAME="tmpx" VALUE="100">
<INPUT TYPE="HIDDEN" NAME="tmpy" VALUE="100">
<%= RequestCtx.getSessionInfoAsHiddenParam() %>
<%
if ( ! lItem.isConfigurable())
{ // display prices
%>
<table>
<tr><td align ="left" nowrap>
<span class="sectionHeaderBlack">
<%=lMsgMgr.getMessage("IBE_PRMT_CT_LIST_PRICE_COLON")%>
</span>
</td>
<%
for (int i=0; i < uomCodes.length && i <
itemListPriceDisplayVec.size(); i++)
if (uomCodes[i] != null && uomCodes[i].equals
(lItem.getPrimaryUOMCode()))
if (itemListPriceDisplayVec.elementAt(i) != null &&
!itemListPriceDisplayVec.elementAt(i).equals(""))
%>
<td align="right">
<%=itemListPriceDisplayVec.elementAt(i)%
<%=lItem.getPrimaryUOM()%></td>
<% } else {
%>
<td> </td>
<% }
break;
} // end primary uomcode
} // end loop through uoms and list price
%>
</tr>
<tr><td align="left" nowrap>
<span class="sectionHeaderBlack">
<%=lMsgMgr.getMessage("IBE_PRMT_CT_YOUR_PRICE_COLON")%>
</span>
</td>
<td>
<% // display selling price for each uom
if (nPriceDefined > 1) {
//prices defined for multiple UOMs for the item
%>
<select name = "uom">
<%
//--------- loop through uoms and prices ------------------
for (int i=0; i < itemSellPriceDisplayVec.size() && i <
uomCodes.length; i++)
if (itemSellPriceDisplayVec.elementAt(i) != null &&
!itemSellPriceDisplayVec.elementAt(i).equals(""))
boolean bSelectUom = false;
if (uomCodes[i] != null && uomCodes[i].equals
(lItem.getPrimaryUOMCode()))
bSelectUom = true;
if (bSelectUom)
%>
<option value="<%=uomCodes[i]%>" SELECTED>
<% } else {
%>
<option value="<%=uomCodes[i]%>">
<% }
%>
<%=itemSellPriceDisplayVec.elementAt(i)%
<%=IBEUtil.nonNull(lItem.getUOM(uomCodes))%
<%
} // end current uom has price
} //end loop i through uoms and prices
%>
</select>
<% //end more than 1 UOM with price defined for the item
} else {
if (nPriceDefined == 0) { //multiple UOMs, none with
price defined
%>
<input type=hidden name="uom" value="<%
=lItem.getPrimaryUOMCode()%>">
<% } else { // 1 UOM with price defined
String formatSellPrice = "";
String uomWithPrice = "";
for (int i=0; i < uomCodes.length && i <
itemSellPriceDisplayVec.size(); i++)
if (itemSellPriceDisplayVec.elementAt(i) != null &&
!itemSellPriceDisplayVec.elementAt(i).equals(""))
formatSellPrice = (String)
itemSellPriceDisplayVec.elementAt(i);
uomWithPrice = uomCodes;
break;
%>
<input type=hidden name="uom" value="<%=uomWithPrice%>">
<%=formatSellPrice%> <%=IBEUtil.nonNull
(lItem.getUOM(uomWithPrice))%>
<% } //end 1 UOM with price defined
} // end display selling prices
%>
</td></tr></table> <%-- end table for the price --%>
<% } // end non-configurable item
if (bItemCanBeOrdered)
// show quantity and buttons only if item can be ordered
%>
<p><%=lMsgMgr.getMessage("IBE_PRMT_CT_QUANTITY")%>
<input type="TEXT" name="qty" size="3" maxlength="20"
value="<%=qty%>">
</p>
<% if (lItem.isConfigurable()) {
%>
<p>
<input type=hidden name="uom" value="<%
=lItem.getPrimaryUOMCode()%>">
<input type=submit name="Configure.x"
value="<%=lMsgMgr.getMessage("IBE_PRMT_CT_CONFIGURE")%
"></p>
<% } else {
%>
<p>
<input type=submit name="Add to Cart.x"
value="<%=lMsgMgr.getMessage
("IBE_PRMT_ADD_TO_CART_PRMT_G")%>">
</p>
<%
if (!xprTagArea.equals(""))
%>
<p><%=lMsgMgr.getMessage("IBE_PRMT_CT_OR")%></p>
<p><jsp:include page="<%=xprTagArea%>"
flush="true" /></p>
<% }
} // end item can be ordered
%>
<br>
</form>
</td></tr></table> <%-- end table for bin content and
header --%>
</td></tr></table>
<p> </p>
<p> </p>
</td></tr></table> <%-- end page table --%>
<% } // end item loaded
%>
<%@ include file="ibeCZzdBottom.jsp" %>
<!-- ibeCCtdItemDetail.jsp end -->my bad...didnt think anyone was gonna come in ...lol......nothing populates in the second drop down...I was thinking of making a separate page and just pass the parameter in, bu i never used jsp include.....any suggestions on how to get this thing working??
Maybe you are looking for
-
Read Itab binary search not working.
Hi, I have the following issue: From a table, I am picking up 5 fields into an internal table (in the correct sequence): A B C D E. Now, I am sorting the above internal table as follows: sort itab by A B C descnding. Now, I am writing the read stmt a
-
Install EPM 11.1.1.3 on solaris express 11
Hi all, I tried to install Essbase v11 on solaris express 11 (in virtualbox) and it stopped during first step... Package : I copied *.zip with root user I unzip all files with root user I changed owner to oracle user (chown -R oracle *...) System : I
-
App to prevent account holder from seeing who I'm talking to
Okay, Interesting situation here. I'm a college student who has just realized that my parents are keeping tabs on who I'm talking to through verizon. Is there an application out there that can hide on the verizon website from my parents who it is tha
-
Question delta.edu patially hides behind home page until I CLICK ON it and its the only site that does this, other computer does not do this. i see .25 of ther home page.
-
Help with recorded session.
I there any way to export a recorded session to a regular AVI or MPEG file? Is kind of hard to work with a 1.5 Gb file.