Porting ASP to JSP

I am interested in understanding the process of porting a MS ASP based application to JSP.
Is there an easy way out or am I going to rebuild the wheel on this project?
What are the potential advantages and pitfalls?

I don't know of anything analogous to custom tag libraries in ASP. I think it would be a big mistake to slam a lot of ugly scriptlet code into the JSPs to try and match the ASP VB code line for line. Better to redesign using some Beans and incorporate JSTL to keep scriptlet code out of the JSPs.

Similar Messages

  • What is different between asp and jsp, which is better and why

    hi, i would like to know which script language is better (ASP or JSP). if you can give me a detail comparison. Thank in advance
    zhe

    What do you expect small-time loser?

  • DW CC no _ServerBehaviorsPanel, ASP PHP jsp COLDFUSION other functions

    I come from China, I know where software piracy is very serious, but there is really a great market, there are a lot of people use genuine, and when I try DW CC after me sad, because there is no _ServerBehaviorsPanel, ASP PHP jsp COLDFUSION other functions, although now there are ways to recover, but you can see ADOBE no longer attached to these, it is difficult too many people may no longer to use this product, thank DW accompany me for so many years.

    Hello,
    At DMXzone we've already released (in Sept 2013) a full set of extension for connecting to your database(s) and managing your database content. A great replacement of the old server behaviors technology to create new dynamic web apps built the Ajax way!
    The Database Connector as well as the Database Updater feature a great Database Connection Wizard, fully visual Query Builder to make your work a breeze.
    They are available for PHP and ASP
    You can check the Database Connectivity Collections and learn more about the features of the extensions on our website:
    For PHP:  http://www.dmxzone.com/go/22151/dynamic-database-connectivity-collection-php
    For ASP:  http://www.dmxzone.com/go/22152/dynamic-database-connectivity-collection-asp

  • Can I combine ASP and JSP pages?

    Hi all,
    Maybe a dumb question...
    but Can I have ASP pages in my JSP application?
    My problem is as follows:
    In the JSP pages of my application, I have some links to ASP application:
    http://domain/app.asp
    Now IIS is running on another port. But I do not want to go through all my JSP and change the above link to:
    http://domain:port/app.asp
    Instead any request to http://domain/app.asp should be automatically forwarded to http://domain:port/app.asp
    How can this be done? I am using Tomcat as my JSP container.
    m_asu

    Actually that is not what I am looking for. I dont want to 'buy' any product. I dont want to deploy ASP application with the JSP application. I just want to redirect the client to another website through an ASP page.
    Only catch is that this ASP page needs to sit in my JSP container (Apache Tomcat). Is this possible?
    m_asu

  • Pass parameter from ASP to JSP

    Hi,
    Iam fairly new to the wonderful world of programming. Can somebody help me with the following?
    Iam trying to pass a hidden variable in my ASP to a JSP? Is it possible to do so? The jsp is being called in the 'action' attribute of my html 'form' tag within the ASP.
    If the above is possible, why wouldn't the following code in jsp work?
    <%
    String strCheck = request.getParameter("hvariable")
    if (!strCheck == "True")
    response.sendRedirect("http://java.sun.com")
    %>
    Please help. Thanks,
    Binu

    You'll need to use some kind of formatting to dump an array in a single formfield. I usually do something like this:
    5|10|14|50|50000
    This would be an array of 5 integers. When the data is submitted, I can get the array back with the String.split() method.

  • ASP AND JSP

    I am developing a facility that has to email up to 3 individuals at 1 user's request.the data that should be emailed is extracted from a sql database. as far as i know i can't program this using jsp but i know that it is possible with asp using sendmail, can i therefore, combine an asp page with jsp pages. can a jsp page be redirected to an asp page and vice versa - will tomcat handle this, do I need IIS configured for the ASP?????
    First of all is this possible using just jsp.
    For those that don't understand my question:
    A user clicks a submit button after entering three email addresses. Records are extracted from the sql db and emailed in html format to the 3 email addresses. I don't want to do this manually - too much maintenance work....i want it programmed.
    HELP HELP HELP
    Regards
    :-)

    http://java.sun.com/products/javamail/

  • ASP vs JSP

    Hello,
    We currently have a system running under MS SQL SERVER 2000 and the front end was programmed using ASP. Since we want to migrate this system to Oracle we wanted to start by migrating only the DB to Oracle and change the connections used by the ASPs. This worked fine but we have observed that there's a delay when connecting from ASP to ORACLE, it's slower than ASP to SQL SERVER! So the question is: would it be faster using JSP to connect to ORACLE? Which is the appropriate method to connect to Oracle from the WEB?
    Thanks in advance.

    This forum focuses on solutions for connecting to non-oracle systems.
    Your question would be best posted on the general database forum.

  • Migrating from ASP to JSP

    Hi all, I'm new to this forum.
    I'm currently evaluating a migration from IIS to Webserver 7 (Solaris).
    Right now we have a bunch of Unix/BSD doing inverse-proxy on the Windows ones, and in order to simplify, I got this brilliant - that's sarcasm - idea... I promised more speed and security, without too much difficulty...
    Next, I installed Solaris 10 on one server, and after setup webserver 7, I realized that it's not possible (at least at the moment) to install ASP with version 7.
    I already was willing to work the code in order to adapt it from the Microsoft ASP to the Sun one.
    So having to decide between go back to webserver 6.x or adapt the ASP code to JSP, I'm considering the last one. I belong to those who think a native solution is better than any pluggin or something like that.
    So far, so good... but then I got stuck. In the whole application (in fact by my suggestion and insistence - my big mouth again -) we used the getstring method from ADODB a lot, which returns the values in the recordset into a formatted string, based on patterns. We can get XML, HTML table, JS arrays, etc. in the blink of an eye.
    I tried to google it, but find anything in JSP that allows me to do this without any loop, the (BIG) improvement in performance (my main argument for the change) was dramatic once we take out the loops, and it allowed us to make deeper changes in the code. They can beat-the-damm-loop-out-of-me, if I try to get those loops back�
    Does somebody knows a workaround in JSP?

    Thanks for your quick response.
    Usually there is no problem with use the output parameter as nvarchar in our Stored Procedures (mssql), in fact I was trying that this weekend as alternative, but this add complexity to the SP and drop the performance.
    I guess I can take the time to optimize the SQL code, and maintaining backward compatibility for any other system that uses it, but there is a lot of another applications (desktop and web) that use those procedures, and the cost is overwhelming.
    Is a lot better to reimplement the "while (Recordset.next()){" instead of mess with the backbone of our applications.
    If there is no replacement for the ASP getstring, maybe I need to downgrade to webserver 6.x, (in order to install ASP) or try to implement some similar myself in JSP as a class or something, and test the performance.

  • PS HELP how to change my asp to JSP

    <html>
    <body>
    <%
    set conn=Server.CreateObject("ADODB.Connection")
    conn.Provider="Microsoft.Jet.OLEDB.4.0"
    conn.Open(Server.Mappath("profile.mdb"))
    sql="INSERT INTO mms (pnumber,url,expiry,message)"
    sql=sql & " VALUES "
    sql=sql & "('" & Request.Form("pnum3") & "',"
    sql=sql & "'" & Request.Form("url3") & "',"
    sql=sql & "'" & Request.Form("hourtotal3") & "',"
    sql=sql & "'" & Request.Form("choose3") & "')"
    on error resume next
    conn.Execute sql,recaffected
    if err<>0 then
    %>
    <%Response.write("Message can not be send please try again!")%>
    <%else%>
    <%Response.write("Message had been send!")%>     
    <%
    end if
    conn.close
    %>
    </table>
    </table>
    </body>
    <!----how should i change to simple JSP---->

    dont double post its considered rude
    http://forum.java.sun.com/thread.jsp?forum=45&thread=549745&tstart=0&trange=15
    PS you really want us to just convert your asp ?
    Start learning JSP, JDBC and when you have a specific question come back here

  • Serial port communication through JSP

    i am developing web application and i want to connect RFID reader to serial port to client computer.so when user put thr card on RFID READER and press Read Button on JSP page .the information stored on card display on the web page.
    this is requirement of my application.
    can i do this with JSP page or i have to change the technology
    plz help me
    plz reply as asoon as possible
    thanx in advance
    THANKS & REGARDS
    vikas

    http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf

  • Using iPlanet Web Server 6.0 (with ASP or JSP), is it possible to create a StarOffice, Word or Acrobat document using a template and merging it with data from a database (say Oracle)?

     

    Hi,
    It is possible, But it has to be done through codes and iPlanet Web Server has nothing to do with it. But if you want to create the word document by ASP you have to install ASP plugin like ChilliASP (from Chilisoft) with iPlanet Web Server.Merging with database can be done through your code.
    To know more abt creating word doc through ASP try this link
    http://web.ukonline.co.uk/vance/code/aspworddoc.pdf
    Regards,
    T.Raghulan.

  • PHP vs ASP vs JSP for using privileges

    I want to use logins on a dynamic website.
    I was tell that I'd rather use jsp with ejb to do so, as ejb would communicate with the database layer and jsp with the presentation layer. In that way I have to use a very complicated business logic (4 layers).
    Would you know an other way to do so, perhaps simpler but as much secure ?
    God Bless, Olivier.

    Its not really mandatory to use EJBs in your project. EJB's provide alot of useful stuff when you are dealing with databases, and one of those features is security. But it sounds has if you want to restrict who can access anything under a certain folder level or maybe certain file types?
    If you are looking to apply this kind of security for example then you should look into Filters and apply your custom filter to /auth/*. You might want to look into using JAAS to handle user grouping and login access. Only problem I found when dealing with JAAS is if you would like to set some session attributes during their login that jaas does not do that. It handles authentication but does not give you events to signal (Hey the user logged in, now lets set this attribute)
    I hope this helps.
    -Richard Burton

  • Jsp and asp integration

    This might sound like a stupid thing to do.
    If I have a main website developed in jsp and I want to pass information (variables) from it to another component of the same site developed in asp on a separate server is this possible?
    If so how might one do it?
    Many thanks
    Paul

    It's not a stupid question! You can even have both ASP and JSP on the same server - IIS! Of course, you have to have JSP container installed to process your JSP/Servlets.
    How to do that? Install IIS (Microsoft Internet Information Server) (usually working on standard web port 80), also install Tomcat on the same server. After that you have to install ISAPI filter on IIS. That's the component that will filter all HTTP requests for pages with JSP extension from your IIS server and redirect them on Tomcat for JSP/Servlet processing.
    E.g. if you have installed ISAPI filter for Tomcat container and you have INFO.ASP and INFO.JSP on your site. IIS will process ASP and send the result to your client. Also, if client requests INFO.JSP, ISAPI filter will recognoze from HTTP request that this client is asking for JSP page and it will redirect this request on Tomcat which will process this JSP and return the result to the user again.
    APS and JSP pages can communicate among each other through POST or GET methods. For example if you request INFO.ASP?user=John or INFO.ASP?user=John both of them are capable of dealing with parameters (user) and each of them can redirect request to other one.

  • How can I port an existing Tomcat (JSP) application in SAP Netweaver 2004s

    Hi All,
    I want to port an existing JSP application (using Tomcat as Web server) in SAP Web AS 6.40.
    Please any one suggest me.
    Eagerly looking forward to your reply......
    Thanks and Regards
    Avijit Dhar

    Hi,
    The maximum number of work processes depends on several things like the below.
    1)  Majorly on Your primary Memory
    2)  Hardware capacity
    3)  Operating systems
    4)  SAP version as well...
    You need to calculate the work processes with your primary memory.
    Every work process should take 150 mb space on memory.. so you need to increase the work processes that should be campatible with your primary memory.
    And please read the OSS notes as suggested by our frnds then go ahead with your rquirement.
    -Srini

  • Can we call ASP file in a JSP

    Hi
    Can we call an ASP file in a JSP? Any help would be appreciated
    Thanks

    the containters for asp and jsp are different,i donot think it is possible

Maybe you are looking for

  • Reg Capacity used and capacity available

    Dear all, How can I see the capacity available and capacity used for a particular resource for previous month , is there any standard report available in standard SAP. Regards madhav

  • How do you determine the index of an element in a cluster?

    I've got a small program that I put together, as I'm just trying to get up to speed on Labview.  I have a cluster boolean buttons and for some reason the top buttion is coming through as Index 3.  There are four buttons in the cluster, but for some r

  • BADi in QA32 and COR3

    Dear All I am searching for badi in QA32 and COR2 .IF any one have done this please do let me know. As well i serached for badi These are the BADI's:Check once. QPL1_SUBSCREEN_ADDON INSPECTIONLOT_UPDATE Check these Exits: QEVA0004 Exit for changing i

  • Grouping of Events

    I have multiple events that I want to group into one event, say 2010, but if I merge them I cannot see the individual events anymore because they are lumped into one massive event. I would like to keep the events separate like folders in folders. Any

  • MDG Processing and Activity within a change request

    We are receiving the error below when executing an activty within a change request in MDG. I have looked through all of the configuration documentation with no luck. Any ideas? Error URL incorrect Connection could not be established Thanks