ASP ,JSP in one file

Hi...i need to include ASP code in the JSP file...is it possible...if so how to run that file since each requires a different server.....plz advice me...
Thanks in advance...

But my problem is that i need to control the width of the Excel sheet cells dynamically...i tried to include macros in the JSP file ..but they are not getting reflected in the Excel sheet as JSP does not recognise the Macros(i am not sure abt this also...)...so what i am planning is writng some ASP code (which can modify my Excel sheet as it recognises Macros...even i am not 100% sure abt this..i have to test)in JSP page ....Plz Advice me
Thanking you

Similar Messages

  • JSP page messes up when there is an error with one file.

    Good morning/afternoon/evening.
    I am not sure if this a JSP or error handling or XML type question and so I have posted here only.
    I have a JSP page that loads a series of XML files, the only problem is that if one file has incorrect syntax then the whole page fails, I was wondering if there is anything in the way that I should structure my JSP code, or if there was a way to test if my xml file was vaild before trying to load it, many thanks in advance.

    You could also put try/catch statements around each individual xml import.
    That way if one fails, you print an error message for that one, and then continue.
    If you use JSTL it has a <c:catch> tag for exception handling, and several powerful XML handling features.

  • Which index file is the one i upload my changes in, the .asp or the .shtml file?

    CAN SOMEONE HELP ME IN UNDERSTANDING WHICH INDEX FILE I SHOULD UPLOAD MY CHANGES IN FOR MY HOME PAGE, THE .ASP OR THE .SHTML FILE?  I HAVE PUT IN MY CHANGES IN BOTH FILES, HOWEVER, WHEN I F12 MY CHANGES IN THE .ASP, I ONLY GET THE OPTION THE SAVE AND THEN OPEN THE FILE, AND NOTHING HAPPENS.   WHEN I F12 MY .SHTML FILE, ALL MY CHANGES WORK WITH THE EXCEPTION OF MY WEBPAGE BACKGROUND WHICH IS ON ALL MY PAGES.  I NEED THE BACKGROUND TO SHOW UP AS IT IS ON THE WEBSITE NOW, WITH MY CHANGES, SO I NEED SOME EXPERT ADVICE TO HELP ME WITH THIS.
    THANKS,
    rod_sha

    Sorry guys, for the all caps question.  I'm new at this and only know some of the simple things to do to update the home page.  I am updating a good friend of mine, Mike Glenn's webpage.  I have posted a image and a video on the index.shtml page that we are trying to let viewers and possible investors see the movie we are trying to do on Mike Glenn.  I used vimeo to upload the video and used the code it supplied for the link to the movie.  Mike's website is www.mikeglenn.com.  Being new at trying to make changes to his home page, I wanted to make sure that the index.shtml file was the right file to use.  Everything on the page works but his background does not show up when I do F12 to look at my changes before I upload them.  I've looked at the code on the website, and the only thing that is different from his web page is the items I'm trying to upload.  That's why I'm puzzled about the background.  Any help on fixing this and understanding why I don't see his background would be greatly appreciated.  I'm needing to get it updated as soon as possible in order for us to get the funding for completing the movie on Mike.  Mike Glenn is a former NBA player that played here in Atlanta for the Atlanta Hawks.  He has a free basketball camp for the Deaf and Hard of Hearing that has been going on now for 33 years.  The movie is about how he started the camp and his love for the Deaf community.  Both the .asp and the .shtml files start with index.  I would like to thank you guys for responding to me. If you need to contact me, I can be reached on my cell at 404-433-0838 or e-mail at [email protected]
    Sincerely,
    Rodney Terrell

  • How to upload more than one file in struts?

    thanks first. I want to upload more than one file at once. So I modify the the example of the struts 1.1. I changed :
    protected FormFile theFile;
    to
    protected FormFile [] theFile;
    and add indexed getter and setter method.
    public FormFile getTheFileIndexed(int index){
    return theFile[index];
    public void setTehFileIndexed(FormFile theFile,int index){
    this.theFile[index]=theFile;
    and in the upload.jsp, I changed
    <html:file property="theFile" />
    to
    <html:file property="theFile[0]" />
    and also in the ActionForm
    reset(){
    this.theFile=new FormFile[2];
    But when I run it, it tells me there are no getter indexed method.
    Thanks again for reading.

    Create a FormFile property with getters and setters for each file you want to upload. Eg.
    private FormFile file1;
    private FormFile file2;
    public void setFile1(FormFile file) {
       this.file1 = file;
    public void getFile1() {
      return file1;
    // same for file2And in your jsp use the following :
    <html:file property="file1" />
    <html:file property="file2" />

  • How to use jsp and xhtml files in an application

    This is web.xml file,
    <web-app>
    <context-param>
         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
         <param-value>.xhtml</param-value>
    </context-param>
    <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
    </context-param>
    <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    </web-app>
    If i configure like this, i am not able to work with jsp file.
    So, how to configure web.xml file to work with both jsp and xhtml file.
    Thanks,
    Vinutha.

    Hi Sam,
    To Use properties file you need to keep the properties file in a location and in the code you need to mention the path from where it should read in the runtime.
    Fuego.Io.PropertiesFile propfile;
    propfile.load(fileName : "<Path: C:/sample.properties>"); //Path: Place the properties file in the respective directory/drive and mention the path
    String val = propfile.get(key : "One"); //One - is the key against which the value should be mentioned in the properties file like <One = 1>. It should return 1
    logMessage("Value: " + val);
    To use the Enum in your project first create a Module in your catalogue component and then right click on module create New Enumeration say ProcessStatus
    Uncheck the Is Sequential if you want to keep key/value as pair. Click on add +* and mention the Name and Value say ABORTED as Name and Value as Aborted. To use it in your project conditional path write the condion as somevariable == String(ProcessStatus.ABORTED)
    Hope this will help you.
    Bibhu

  • Passing Value from one File to Another !!!

    Hi Friends,
    I have an issue, I have two different Swing programs (two seperate java files). I want to transfer value from one file to the another. Like we do in Servlets or JSP, we use sessions or Hiddenfields. The same way I want to retriev value in a new file from a previous one.
    Hope that all u champs out there have the answer to my query.
    Thanks,
    [email protected]

    This is a B2B comms question...
    A quick and dirty method is to use Socket/ServerSocket and use a basic protocol to do the transfer, if you are feeling heroic then use XML as the message format...
    A lot depends on whether your applications are running on separate boxes, i.e. do you need to communicate across a network...
    If not, if they are always going to be on the same "box" then you could just use well-known places for files...not portable but effective...

  • Need help on integrating htmldb with asp/jsp/php

    Hello there, we have a few existing htmldb applications running at the moment, and now we would like to develop some asp/jsp/php applications. However there is one issue we still haven't solved yet, which is the SESSION(Login) problem. We don't know how the session is being generated, how to pull out session values manually from db etc etc.
    If you have done this before or any ideas, will be much appreciated.
    Thanks very much
    James

    James,
    sometimes it makes sense to look at these things from a different (and broader) perspective.
    Especially in a context of a corporation it makes sense to use a Single Sign On (SSO) server for authentication (usually against LDAP) . Something like Netegrity Siteminder, Oracle SSO Server (as part of Oracle Internet Application Server) or something similar.
    Then you could have all your applications use the authentication method of the SSO server which will keep track of the valid session and the applications that participate in the SSO context.
    On the Apex side you would have to write a custom authentication scheme to leverage that functionality, the session handling will no longer be of any concern to you.
    Just a different way to look at it.
    ~Dietmar.

  • Passing parameters from JSP to Batch file

    hi,
    i had a small problem regarding passing parameter from JSP to a batch file.
    My program is like this..........
    I wrote a batch file which opens and pings a remote system. Code looks like this......
    ping %1 -t
    which takes one argument and named this as "a.bat"
    The corresponding JSP page has lot of links which contains IP Addressess. From JSP page, i am calling "a.bat" so that it will open and start pinging corresponding IP Address. So i want to know how can i pass the corresponding IP from a JSP to batch file so that it start pinging remote machine........... can any body help me in this regard??
    Thanks in Advance.
    cheers,
    Sudhakar.

    it might be a permissions problem for the process itself. i once fought for some time with a java app that would mysteriously exit (no exceptions or any VM vomit) i finally discovered that the application was killed when the screen saver came on. just a regular screen saver mind you.
    at any rate i did see this issue and other strange ones like it reported here and there, i think i once say a bug report here on it but I can't seem to find it now. i believe this is fixed in 1.4.
    this of course may not be of much help to you.
    the two workarounds i found were 1) to turn off my screen-saver, 2) set up the program as an NT service. for the NT service i used this stuff http://www.kcmultimedia.com/
    so my suggestion for weird process permission problems on NT would be to try and make it into a service.

  • Step by Step"How JSP read text file :

    Hi ,
    Any one know or have a good site to show step by step how JSP read text file.
    TQ.

    There is no difference Between reading a text file from JSP and reading a text file from Java.
    Just follow the same steps for JSP also.

  • How to make changes in more then one file

    Hi All,
    M new and dont have deep idea about dreamwheaver.Actually i want to make changes in more then one file at the same time, how to do this. Is there any option available there. ?

    If you you build your new site with SSIs (server-side includes), changes to include files will populate to all pages on the remote server.  This is a huge time saver for maintaining common page elements on large sites.
    Example code might look like this:
    <body>
    header goes here
    <!--#include virtual="header.html"-->
    <p>some text</p>
    menu goes here
    <!--#include virtual="menu.html"-->
    <p>some text</p>
    footer goes here
    <!--#include virtual="footer.html"-->
    </body>
    </html>
    Pages with includes on them need to be saved as .shtm or .shtml.  If you use server-side scripts on your site, save as .asp or .php to match your script type.
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.

  • Different Scroll bars in one file

    I've manually customized the look and feel of the scroll bars for scroll pane component and it works fine. I've two different files that have different visual styles for scroll bars. Now I want to merge these two files meaning I want to have one file with two different styles of scrollbars co-existing. I can resolve the naming conflicts but both of the them are using same asset names and action scripts (I think in the class definition).
    So basically my question if how can I have two different scroll bars implemented in one file?
    Many thanks

    You can make the clip that you want to play at 2 fps seem
    that way by just making it longer. Alternately, you could use a
    timed tween.

  • I have two different itunes music files on my computer.  How do I combine them into one file?

    I have two different itunes music files on my computer.  How do I combine them into one file?

    I don't think so. The only other ID I have is a developer id, and I didn't get that until several months after I got the phone. In addition purchases I made from the App Store onthe phone would sync up with It unes on the Mac meaning it would be the same id.
    However I looked at the AppStore on my phone while it was connected to the Mac with iTunes open, and now the balance has changed to the same as the others.

  • I have three websites in one file. How do I separate them into three individual files?

    I have three websites in one file (Domain.Sites2). How do I separate them into three individual files without taking the site down or loosing files?

    Duplicate the domain file 3 times (keeping the orignal as a backup).  Name each domain file for the website you want it to contain.  Then open each domain file and delete the two sites you don't want it it. 
    Since you're running Mt. Lion you'll need to read the following in order to be able to open the different domain files.
    In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application. 
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Can not color label more than one file at a time

    Hi,
    I've had this problem since 10.6.6-ish, i can not color label more than one file at a time in the Finder.
    Wether i select two, twenty or twohundred only one file gets color labeled.
    It doesn't seem to matter if i assign a color label through the File menu or right click > label.
    Figured a re-install might fix this but it hasn't (even a clean install without restoring any kind of backup).
    Does anyone else have this issue and/or a fix for it?
    Thanks,
    Jay

    Aaaaanyone ?

  • Scanning multiple pages into one file using MAC

    How do I scan multiple pages and save them into one file or document using a MacBook Pro laptop?  My printer is an HP Photosmart 7520.  When I use this printer and scan from my PC, it does allow me to scan multiple copies and save as one document by just adding pages as I scan.  When I scan with my MacBook Pro, it scans each page, however, I don't get any option or choice to save as one document.  It automatically saves each page as a separate document.

    Try scanning from your Mac. Use Image Capture app in your Applications folder.
    Click once on the scanner on the left side, then click on Show Details along the bottom. Along the right side you will see LOTS of options for scanning and saving.
    One of those is Format, make the Format PDF.  Just below that will be a check box allowing you to scan multiple pages to one file.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for

  • Lost my HP deskjet 3512 printer function when upgrading to Windows 8.1 - can't get it back!

    I lost my wireless connection from my Hp A6 Vision lapptop to my HP 3512 deskjet printer when I upgraded to Windows 8.1.  I'm told it is installed but it is not responding.  I'v tried following instructions and even using the Hp wizard to get it up a

  • Does my motherboar​d support wol

    I am having an hp pavillion dv6580en notebook. As a part of my project i gotto implement Wake-on-lan function . i found that my ethernet card supports this feature and is enabled. But my bios doesnt seem to have this option . Therefore the power to m

  • I keep getting error message: unable to extract to temp directory when downloading InDesign from Creative Cloud

    I have Windows 7 32-bit Am trying to download InDesign from Creative Cloud desktop version and I keep getting the error message "Installation failed, Unable to extract to temp directory. Please contact customer support. (EX11) have tried going into t

  • Error 2048 (qtvr and .mov)

    First, hello and thanks for any answers. Second, in before "download VLC" Using QT 7.6.4 and i am unable to view qtvr files from websites as well as any .mov i have on my pc. When attempting to view a .mov on my pc, i get error 2048 and neither IE no

  • CHVW: some batches not found in chvw table.

    Hello everyone,     someone could explain to me why some movements of batches aren't included in this table? What does it depend? customizing maybe?     For example, some '321' movements are included but there's others '321' that don't appear.     Th